function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Adriana Smith 9Adriana Smith 9 

Need help with VF Error PLEASE!!!!

The below page is triggering the error message of: Enter a URL that is valid and well-formed.  Help?  I've been trying to write this for weeks now :(

<messaging:emailTemplate subject="Pricing Request Submitted" recipientType="User" 
</messaging:plainTextEmailBody>
</messaging:emailTemplate>

<body>

<p> Dear {{!Contact.FirstName}},<p>

<p> {!Opportunity.OwnerFullName} is requesting custom pricing for {!Opportunity.Account}, for his opportunity related to {!Opportunity.Name} .</p>

<p> -Previous Job Number or Publication:<p>
<p> -Quantity:<p>
<p> -Page Count: <p>
<p> -Flat and Finished Size: <p>
<p> -Specific Fold: <p>
<p> -Are there PMS colors? <p>
<p> -Paper Stock/Weight: <p>
<p> -Any Special Features (Die Cut, Gloss, Emboss, etc)? <p>
<p> -Misc. Information: <p>

<p> Thank you! <p>

</body>
</html>
</messaging:htmlemailbody>
</messaging:emailTemplate>
Lokesh KumarLokesh Kumar
Hi Adriana,

Please try below code: 
<messaging:emailTemplate subject="Pricing Request Submitted" recipientType="Contact"  relatedToType="Opportunity" >
 <messaging:htmlEmailBody>
<html>
<body>

<p> Dear {{!recipient.FirstName}},<p>

<p> {!relatedTo.OwnerFullName} is requesting custom pricing for {!relatedTo.Account}, for his opportunity related to {!relatedTo.Name} .</p>

<p> -Previous Job Number or Publication:<p>
<p> -Quantity:<p>
<p> -Page Count: <p>
<p> -Flat and Finished Size: <p>
<p> -Specific Fold: <p>
<p> -Are there PMS colors? <p>
<p> -Paper Stock/Weight: <p>
<p> -Any Special Features (Die Cut, Gloss, Emboss, etc)? <p>
<p> -Misc. Information: <p>

<p> Thank you! <p>

</body>
</html>
</messaging:htmlemailbody>
</messaging:emailTemplate>

let us know if this will help you !

Thanks !