You need to sign in to do that
Don't have an account?
amitverma1195@gmail.com
Visualforce Email template coming 100% empty including both Subject and Body.
Hi All,
We are using visualforce email template in workflow rule and it is coming 100% empty for some email and is working fine for other email alerts. When we test this manually it is working fine in Sandbox as well as production. Is it related to Email settings that they are not able to receive html content or it is from salesforce side(Workflow and template issue).
Thanks in Advance!
We are using visualforce email template in workflow rule and it is coming 100% empty for some email and is working fine for other email alerts. When we test this manually it is working fine in Sandbox as well as production. Is it related to Email settings that they are not able to receive html content or it is from salesforce side(Workflow and template issue).
Thanks in Advance!
Will you please share details of the Visualforce email template and workflow so we can help you.
Thanks,
Pratik
Workflow is on opportunity and we are cheking not values for 3 custom fields on opportunity.
here is the vf template:
<messaging:emailTemplate recipientType="Contact"
relatedToType="Opportunity"
subject="Your August is on its way"
replyTo="support@august.com" >
<messaging:htmlEmailBody >
<html>
<body>
<STYLE type="text/css">
TH {font-size: 11px; font-face: arial;background: #CCCCCC; border-width: 1; text-align: center }
TD {font-size: 11px; font-face: verdana }
TABLE {border: solid #CCCCCC; border-width: 1}
TR {border: solid #CCCCCC; border-width: 1}
</STYLE>
<font face="arial" size="2">
<apex:image id="theImage" value="http://i.imgur.com/QF7OleT.png"/>
<br></br>
<br></br>
<c:ProductShipped OPPId="{!relatedTo.Id}" />
<p>Here is what is included in your package:</p>
<table border="0" >
<tr >
<th align="left">Product Name</th><th align="left">Quantity</th>
</tr>
<apex:repeat var="opp" value="{!relatedTo.OpportunityLineItems}">
<tr>
<td>{!opp.PriceBookEntry.name}</td>
<td>{!ROUND(opp.Quantity,0)}</td>
</tr>
</apex:repeat>
</table>
<P>Thank you,
<br>The August Team</br></p>
</font>
</body>
</html>
</messaging:htmlEmailBody>
</messaging:emailTemplate>
Thanks
Kavi