+ Start a Discussion
jeremyyjeremyy 

VF email template via "Send an Email" button

From a Lead or Contact, you can click the "Send an Email" button (/_ui/core/email/author/EmailAuthor...) and choose a visualforce email template. However, how does one populate the template's recipient record and relatedTo record? Are there parameters that can be passed to populate these? The org is PE and does not have Apex, so the solution must not require Apex code. 

 

Thanks

 

Jeremy

 

 

Starz26Starz26

does THIS Link help?

jeremyyjeremyy

I don't think so. For example, a VF allows template your recipient to be a User. However, the p2 parameter only seems to allow contacts and leads.

 

If you populate a Lead or Contact for the p2 parameter, the VF template's merge fields don't get populated with values from the Lead/Contact. It seems that this "send an email" interface is just only partially implemented for VF email templates.

SalmanSalman
Hii jeremyy ,

can you please check this app for sending email from Lead or Contact object
 
MassMailer lets you send unlimited emails from within Salesforce, no matter which edition you use. Built on the Salesforce platform, it has all the mass email features you’ll ever need.Build, send, and schedule professional-looking emails with a simple to use email Wizard within Salesforce – no HTML experience required.

You can try this app by installing from appexchange- MassMailer

For Developer's Guide please click here-Developer's Guide

You can learn more details about the product on this website -Link