sending emails using swiftmaier and postfix
I use postfix as my MTA on my VM runing ubuntu server and swiftmailer as
my mailer library there are two methods to set postfix as transport in
swiftmailer
$transport = Swift_SmtpTransport::newInstance('localhost', 587);
and the second
$transport = Swift_SendmailTransport::newInstance('/usr/sbin/postfix -bs');
which one is preferred or more secure?
No comments:
Post a Comment