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 

setCcAddresses works with email templates?

The Apex documentation says that "This argument is allowed only when a template is not used." However, I am able to use that field with an email template.

 

Does anyone know if this is correct behaviour and the docs are wrong, or is this a bug that I shouldn't rely on?

 

--Greg

N.AhmedN.Ahmed

i am using visualforce email template and cc is just working fine. either they mension that setCcAddresses not work with email template.