+ Start a Discussion
Sami ShakithSami Shakith 

How to convert the mail attachment into word document in email template VF page.

Hi,

I want to send a mail with attachment which is in word format using email template. renderAs attribute is only works for PDF. Please anyone tell some suggestion.

Thanks in advance.
Best Answer chosen by Sami Shakith
JeffreyStevensJeffreyStevens
Sure - instead of renderAs= on the header of the page - do ....

contentType="application/msword#WordDocName.doc"