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
RastogiRastogi 

massemailmessage and flex

Hi

I was able to compose a single email and send it. I created the object using the following syntax:

 var single: SingleEmailMessage = new SingleEmailMessage();

I am trying to create a MassEmailMessage object but i am unable to do so in flex.

 var mass: MassEmailMessage  = new MassEmailMessage();

I get the following error message:

  Type was not found or was not a compile-time constant: MassEmailMessage.

Regards

Rajat