You need to sign in to do that
Don't have an account?

visualforce email template not taking the value of email from the recipienttype
<messaging:emailTemplate subject="Testing" recipientType="Contact" relatedToType="Contact" language="{!recipient.Langua__c}" >
<messaging:htmlEmailBody >
<html>
<body>
<p>{!$Label.Email_Label} </p>
</body>
</html>
</messaging:htmlEmailBody>
</messaging:emailTemplate>
When i try to test it, Mail is not getting delivered.'
I doubt as that it is not taking values from the recipientType="Contact"
Please help me on this.
<messaging:htmlEmailBody >
<html>
<body>
<p>{!$Label.Email_Label} </p>
</body>
</html>
</messaging:htmlEmailBody>
</messaging:emailTemplate>
When i try to test it, Mail is not getting delivered.'
I doubt as that it is not taking values from the recipientType="Contact"
Please help me on this.
I tried the same code and it works fine in my test org. Please check if there is a problem with email deliverability.
Thanks,
Shashank