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
grigri9grigri9 

outputpanels in plaintext email not working in API 18

I use a number of outputpanels ( with layout="none" ) in the plainTextEmailBody component of a visualforce email template for some simple conditional logic. However, since API 18 came out I get the following error message:

 

 

Error occurred trying to load the template for preview: <messaging:plainTextEmailBody> cannot contain <apex:outputPanel>.. Please try editing your markup to correct the problem.

 

My email templates API version field is set to 15.0 but I guess it is ignoring this and using API 18 instead?

 

Has anyone else experienced the same issue? Is there a solution besides changing all my email templates to not use outputpanels in the plaintext component? 

 

--Greg 

 

Message Edited by grigri9 on 03-08-2010 04:50 PM