xpumpa Posted July 26, 2016 Share Posted July 26, 2016 I'm trying to modify Mail.php to send two emails, one for customer and one for me with modified ReplyTo parameter. I tried this, but not working for me. Anyone solve this problem ? Thank you. /* Send mail */ $message->setFrom(array($from => $from_name)); $message2 = clone $message; $swift2 = clone $swift; $send = $swift->send($message); $message2->setReplyTo($addr, $to_name); $message2->addBcc('[email protected]'); $send2 = $swift2->send($message2); Link to comment Share on other sites More sharing options...
endriu107 Posted July 26, 2016 Share Posted July 26, 2016 You need email with oreder confirmations sending to you too? If yes you should use module mailalerts to do this. Link to comment Share on other sites More sharing options...
xpumpa Posted July 26, 2016 Author Share Posted July 26, 2016 I just need send every email which presta sends to another address with ReplyTo customer address. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now