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
* PHP Mail


Nexcess, the premium hosting provider for WordPress, WooCommerce, and Magento, is optimized for your hosting needs. Nexcess provides a managed hosting infrastructure, curated tools, and a team of experts that make it easy to build, manage, and grow your business online. Serving SMBs and the designers, developers, and agencies who create for them, Nexcess has provided fully managed, high-performance cloud solutions for more than 22 years.

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.