I have a question about transactional emails in Magento 1.9. The transactional email have a reply-to set to [email protected]. How can I change that to be [email protected]? I have the same problem with another site that is built with Magento 2.3. I saw this code but I don't know if it is good or where I can put it:
$mailTemplate = Mage::getModel('core/email_template');
$mailTemplate->setReplyTo('[email protected]');
$mailTemplate->sendTransactional($templateId, $sender, $recipient, '', $vars, $storeId);
By default, all email addresses can be configured from
System->Configuration->General->Store Email Addresses