We use cookies to understand how you interact with our site, to personalize and streamline your experience, and to tailor advertising. By continuing to use our site, you accept our use of cookies and accept our Privacy Policy.

Your Digital Commerce Experts
Nexcess Logo

How Magento Sends Email

September 18, 2012

How Magento Sends Email
If you use Magento, then you depend on its email functionality to send order confirmations, invoices, and shipping confirmations to your clients. Aside from technical people, many Magento users do not know how Magento sends email. While knowing how Magento sends email may not be essential to running your online store, it becomes extremely useful in troubleshooting email issues related to Magento.
Magento is built on top of the Zend Framework using the Zend_Mail class to send mail. The main class that does this work is Zend_Mail_Transport_Sendmail.php. Zend_Mail_Transport_Sendmail.php is built on top of PHP Mail. PHP Mail in turn uses the server’s sendmail script to attempt to send mail.
It should be noted that it is not possible to use Zend_Mail_Transport_Sendmail.php to specify SMTP settings.
Basically, a vanilla installation of Magento will be using sendmail to send email.
* Introduction to Zend Mail http://www.zendcasts.com/introduction-to-zend_mail/2010/02/
* PHP Mail http://php.net/manual/en/function.mail.php


Power up your sites and stores with custom-built technology designed to make every aspect of the digital commerce experience better. Make your digital commerce experience better with Nexcess. Visit Nexcess.net today and see how we can help.