Magento: Send email easily using Zend_Mail

Here is a quick function code to send email in Magento. I am using the Zend_Mail class. /** * Send email */ public function sendEmail() { $fromEmail = "from@example.com"; // sender email address $fromName = "John Doe"; // sender name $toEmail = "to@example.com"; // recipient email address $toName = "Mark Doe"; // recipient name $body … Read more