What's the difference between Mail, SMTP and Sendmail in PHPMailer?

Is there any method better than the other? or any advantages one method offers over the other?

Thanks.
RassacAsked:
Who is Participating?
 
icky2000Commented:
The option you choose depends on the resources available to you but I recommend going with SMTP. If you have a SMTP server somewhere on your network that you can bounce your emails off of, use the SMTP option and put that server's name in (note that the server needs to be configured to allow you to relay mail off of it if you are sending to addresses external to your organization). If you're running Sendmail, you can use that option too but the config can get a little complicated.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.