1

I have a requirement in which when record gets approved in approval process, On final approval action an email sends to an user.

I have a visualforce page which is rendered as PDF I want that visualforce page attached to that email.

How can I achieve this.

Please help me out through this.

--TIA

2
  • Here is a similar SFSE question. Hope this helps.
    – Saroj Bera
    Sep 2 '15 at 5:59
  • I don't think you can do this out of the box, you need to implement apex logic using trigger.
    – Prakash
    Sep 2 '15 at 6:05
2

You need to create a visualforce email template. Also change your existing VF page to apex:component Then include that in the messaging:attachment inside VF-Email template. See : Adding attachments to VF Email Templates

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.