Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Commit

Permalink
Fix port setter
Browse files Browse the repository at this point in the history
  • Loading branch information
kuzmany committed Apr 2, 2019
1 parent 0c36d0e commit 7f379a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Randomizer/SmtpRandomizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public function randomize(RandomSmtpTransport $randomSmtpTransport, \Swift_Mime_
}

$randomSmtpTransport->setHost($host);
$randomSmtpTransport->setPort(ArrayHelper::getValue('port', $smtp, 25));
$randomSmtpTransport->setPort(ArrayHelper::getValue($this->getConfigParamter('port'), $smtp, 25));
$randomSmtpTransport->setEncryption(ArrayHelper::getValue($this->getConfigParamter('encryption'), $smtp, ''));
$randomSmtpTransport->setAuthMode(ArrayHelper::getValue($this->getConfigParamter('auth_mode'), $smtp, ''));
$randomSmtpTransport->setUsername(ArrayHelper::getValue($this->getConfigParamter('username'), $smtp, ''));
Expand Down

0 comments on commit 7f379a0

Please sign in to comment.