You need to sign in to do that
Don't have an account?
Adriana Smith 9
Need help with VF please:
This is triggering an error message below, could you help identify what the issue is? Trying to create an email when a button is hit.
Error: Request_for_Pricing line 8, column 2: The markup in the document following the root element must be well-formed
Error: The markup in the document following the root element must be well-formed.
<messaging:emailTemplate subject="Pricing Request Submitted" recipientType="User" relatedToType="Opportunity">
<messaging:plainTextEmailBody >
Congratulations!
This is your new Visualforce Email Template.
</messaging:plainTextEmailBody>
</messaging:emailTemplate>
<body>
<p> Dear {!recipient.name},<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>
Error: Request_for_Pricing line 8, column 2: The markup in the document following the root element must be well-formed
Error: The markup in the document following the root element must be well-formed.
<messaging:emailTemplate subject="Pricing Request Submitted" recipientType="User" relatedToType="Opportunity">
<messaging:plainTextEmailBody >
Congratulations!
This is your new Visualforce Email Template.
</messaging:plainTextEmailBody>
</messaging:emailTemplate>
<body>
<p> Dear {!recipient.name},<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>