0

I need to use a Visualforce template because I have to automatically attach a Visualforce page rendered as PDF. However, I'm not able to make a Visualforce template whose content can be freely edit before sending the email. Is it possible or should I have to choose between automating the attach of the pdf and having and editable email body?

Note that I'm not quite interested in the body content of the template, it can also be blank if needed.

3
  • There's no standard functionality for this. You'd need to build a custom UI component to allow the user to edit the email body before sending. Commented Oct 1, 2019 at 14:28
  • @DavidCheng In that case I can't use the standard email feature anymore and should send the email through apex and be subjected to different limits, right?
    – gvgramazio
    Commented Oct 1, 2019 at 14:31
  • That's correct. Commented Oct 9, 2019 at 19:18

1 Answer 1

2

This can be done using this Appexchange package (from Salesforce Labs). You can make a flow that pre-populates this component with a VF email template, make edits, then send the email. You will need to make a button on your object that calls the flow.

Fairly easy and intuitive!

https://appexchange.salesforce.com/appxListingDetail?listingId=a0N3A00000G5Eu9UAF

1
  • +1 for answering an old open question, +1 because I like the component, -1 because the mail will be sent through apex, thus it’s subject to different limits wrt the standard emails with static templates.
    – gvgramazio
    Commented Jun 21, 2022 at 23:11

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .