Many times there arise the need to attach files to the order mail. I am giving here a brief explanation for this: I have used Magento ver. 22.214.171.124 ( In previous version there was no mailer class). 1) Rewrite Sales Class Copy the file found at app\code\core\Mage\Sales\Model\Order.php to app\code\local\Mage\Sales\Model\Order.php Overwrite the `sendNewOrderEmail()’ method found. Here […]
Hello All, Many of you who are working in Magento might have come accross the need to make custom form for getting user data. I am writing here an example to display form (with validation) for submitting basic info and send a mail on the email submitted. Suppose the from need to be displayed at […]
While working in Magento eCommerce, many times need arises to send mail from within custom modules. Magento is based on Zend, Zend has a class defined for doing this. I am listing here the method for sending mail. For further read – Email with attachment in Magento
I am listing here the method for sending mail using PHP code. This will be useful in many ways, for example when you want to sent mail after say a form is submitted. Note: This may work in local , but I am suggesting you to execute on live server.
While working in Joomla CMS, many times need arises to send mail from the components. Joomla has a class defined for doing this. I am listing here the method for sending mail.