Which transport method should I use

Swift Mailer is a fantastic library for sending email with php. Discuss this library or ask any questions about it here.

Moderators: Chris Corbyn, General Moderators

Post Reply
burnside
Forum Newbie
Posts: 8
Joined: Tue May 05, 2009 11:38 pm

Which transport method should I use

Post by burnside »

Hi, I see I can use the smtp, sendmail, or mail transport method. Which one should I use or better yet, what are the pros to using one over the other?

Thanks,
b
burnside
Forum Newbie
Posts: 8
Joined: Tue May 05, 2009 11:38 pm

Re: Which transport method should I use

Post by burnside »

Can anyone help here? :)
ldougherty
Forum Contributor
Posts: 103
Joined: Sun May 03, 2009 11:39 am

Re: Which transport method should I use

Post by ldougherty »

That depends on your server and their configuration. I can tell you that where I work we urge our customers to use SMTP via PHP rather than relying on sendmail on the Linux servers.

SMTP is generally more stable and secure.
burnside
Forum Newbie
Posts: 8
Joined: Tue May 05, 2009 11:38 pm

Re: Which transport method should I use

Post by burnside »

Thanks Idougherty, stable and secure sounds good to me.

:wink:
Post Reply