Developer forum

Forum » Development » Manipulating the confirmation mail send to customer

Manipulating the confirmation mail send to customer

Morten Fink Eriksen
Reply

Hey

 

Im trying to manipulate the confirmation mail sent to the customer, because i was looking at attaching a PDF to the mail before its sent.

 

Found the "SendingConfirmationMail" subscriber, but when i try to manipulate the mail messages in any way, nothing seems to get sent out.

 

Tried just changing the subject to test if it was the way i attached the files, to see if it changed anything, but it still didnt' work.

 

Anything i need to be aware of or is it at all possible to do this manipulation to the mail?


Replies

 
Martin Nielsen
Reply

Hi Morten,

 

Have you checked the Cartv2 log for errors? DW fails silently of something goes wrong in the checkout, so the log might tell you if your code had a error.

 

Normally errors get written to this path: \Files\System\Log\eCom\CartV2\Errors

 

// Martin

 

 
Morten Fink Eriksen
Reply

Hi Martin

 

There doesn't seem to be any errors as far as i can see related to cartv2. Not the path you pasted anyway.

 
Martin Nielsen
Reply

There are subfolders, have you looked deeper?

fx. \Files\System\Log\eCom\CartV2\Errors/2013/05/13/  if you tested today.

 

// Martin

 

 

 
Morten Fink Eriksen
Reply

Doesn't exists so i don't think im getting errors per say, managed to get the changing of subjects to work.

 
Morten Fink Eriksen
Reply

Hey

 

I solved the problem myself, oddly enough no error was thrown if the filepath i wrote was wrong or didn't exist.

 

Once i got the file reference correct it worked.

 

You must be logged in to post in the forum