News:

Support the VirtueMart project and become a member

Main Menu

Change email Reply-To in order confirmation email

Started by diamin, June 10, 2013, 11:05:44 AM

Previous topic - Next topic

diamin

Greetings,

when a customer places an order, an email is send to me from the system, containing the order.
How do I change the reply-to on this order confirmation email?
I'd like to change the reply-to into the email adress of the shopper the order is assigned to, so I can user the reply-function in my email client.

I am not afraid of doing some php work, just I haven't got a single clue where the email is generated, the headers are set and the mail is send.

Any ideas?
Thank you!

Rogerio1979

I'm looking for the same thing. I want to use the customers email address te reply to.

Can someone point us to this direction?

I reckon this is a big omission in the VM config

gijsve

I'm looking for this, too and will find the answer today. I'll post it.

gijsve

Okay did it. Check attached file, it is /components/com_virtuemart/helpers/shopfunctionsf.php.

I edited these functions:
- static public function renderMail
- private static function sendVmMail

Check for words 'admin mail' in php comments where to edit and add lines.

Maybe there is an easier way to do, but I have no time to find out, it works now.



[attachment cleanup by admin]

MKI-Miro

is there easier solution ?

i dont believe that nobody wants to reply order mail to customer