You need to sign in to do that
Don't have an account?
How can is i send lead information(like name,email....etc) using visualforce email templates?
Hello,
My requirement is when the lead is created i want to send the information that they(customers) entered to their email like welcome message.
what is syntax to represent the lead filds in the vf email template.
My requirement is when the lead is created i want to send the information that they(customers) entered to their email like welcome message.
what is syntax to represent the lead filds in the vf email template.
Refer the below links.
http://www.salesforce.com/docs/developer/pages/Content/pages_email_templates_creating.htm
https://developer.salesforce.com/page/VisualForceEmailTemplates_sample
I wrote this code:
<messaging:emailTemplate subject="Hello" recipientType="Lead" relatedToType="Lead">
<messaging:plainTextEmailBody >
Dear {!recipient.FirstName}
Welcome to sfdc. AND
Happy New Year
</messaging:plainTextEmailBody>
</messaging:emailTemplate>
But in the receved email that firstname({!recipient.name}) wasn't displayed.
I tested your template, I believe you might not have entered FirstName in the Lead Record else it is working fine
Thank you
BLearn