+ Start a Discussion
Eran VizelEran Vizel 

Visualforce email template JPG attachment

Hi,

How to I attch a VF email template attachment that will be received as a JPG?
Tried this and the received file is corrupt.

<messaging:attachment filename="SpecialistAutomationIcon.jpg" >

<apex:image value="url('{!$Resource.Specialist_Automation_Cert_Icon}'"/>

</messaging:attachment>

Please advise,

Thanks,
Eran