VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: diamin on June 10, 2013, 11:05:44 AM

Title: Change email Reply-To in order confirmation email
Post by: diamin on June 10, 2013, 11:05:44 AM
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!
Title: Re: Change email Reply-To in order confirmation email
Post by: Rogerio1979 on July 10, 2013, 17:32:56 PM
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
Title: Re: Change email Reply-To in order confirmation email
Post by: gijsve on September 04, 2013, 09:08:05 AM
I'm looking for this, too and will find the answer today. I'll post it.
Title: Re: Change email Reply-To in order confirmation email
Post by: gijsve on September 04, 2013, 11:03:56 AM
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]
Title: Re: Change email Reply-To in order confirmation email
Post by: MKI-Miro on April 11, 2014, 13:18:25 PM
is there easier solution ?

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