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 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>