Community Support

php email via sendmail or smtp

I'm using PHPMailer to generate various email. It can use the unix sendmail command or send via SMTP to a mail server. Which would inmotionhosting prefer, or which is the better performer for sending mail?

Best answer chosen by User

There are many thousands of websites that use the sendmail command using a form. The performance is going to be negligible so it's really a matter of what you find easier. SMTP will be using a specific IP address for sending out mail on a shared server. Whereas on a VPS or dedicated, it will be the same IP as the website. Bear in mind that outbound email is monitored. You will want to keep email rates at under 250/hour.

If you have any further questions, please contact technical support or leave a comment at the bottom of the page.