Wednesday, 5 August 2015

Email To friend does not send mail with Amazon SES Magento


Email To friend does not send mail with Amazon SES Magento

Open app\code\core\Mage\Sendfriend\Model\Sendfriend.php file and find the below code

$sender  = array(
            'name'  => $this->_getHelper()->escapeHtml($this->getSender()->getName()),
            'email' => $this->_getHelper()->escapeHtml($this->getSender()->getEmail())
        );

Replace the above code with below code

$sender  = array(
            'name'  => Mage::getStoreConfig('general/store_information/name'),
            'email' => Mage::getStoreConfig('trans_email/ident_general/email');
        );
     
     
Now check Send to friend email works perfectly. 

No comments: