Developer forum

Forum » Development » Add attachment file to confirmation email (ecom)

Add attachment file to confirmation email (ecom)

Martin Skov Nielsen
Reply
Hi guys

I want to attach a file to the confirmation email that ecom send to the customer. Alternativly I'll replace the confirmation email entirely - but where/when would I hook in?

Right now I'm generating the file in the SendMails notification, but not attaching it to anything...


Replies

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply
Hi Martin,

Which version of DW are you using? DW 8 has a SendingConfirmationMail subscriber. Inside this subscriber, the NotificcationArgs instance is of type SendingConfirmationMailArgs which exposes a MailMessage property that you can use to attach files to.

Hope this helps,

Imar

 

You must be logged in to post in the forum