You need to sign in to do that
Don't have an account?
JJames
Send Visualforce Email Template as PDF Attachment
I have a custom visualforce Email Template and want to email it but as an attachment. Is this possible to do or what would be my best approach? I could just create a regular visual force page and render as pdf I know but wondering if I can salvage the EmailTemplate in any way and send it as an attachment. Thoughts??
and after that i send out the email, and i get the email as I should, the email template data, but there is nothing in the getHtmlBody or getPlainTextBody fields of the mail object. how do i pull the data from the mail object that it received from the email template?
Component Code:
Sample Controller:
Finally the VF template: Trigger the above stuff as below:
Let me know the results.