You need to sign in to do that
Don't have an account?
Royal
Messaging.sendEmail(singleobject) or Messaging.sendEmail(listobject) then why MessEmailMessage class ?
HI,
sendEmail(); can alow single object and list of object so that means it can process single mail or more then one mail, then what is the specification os the MassEmailMeaage class and what is the limitation of the SingleEmailMassge class ?
can any one pls give the clarification.....
thanks in advance....
sendEmail(); can alow single object and list of object so that means it can process single mail or more then one mail, then what is the specification os the MassEmailMeaage class and what is the limitation of the SingleEmailMassge class ?
can any one pls give the clarification.....
thanks in advance....
http://amitsalesforce.blogspot.com/2015/11/singleemailmessage-vs-massemailmessage.html
SingleEmailMessage:
Single emails are like regular individual emails that may go to one or more addresses (to/cc/bcc), but each of these emails has the same body
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_email_outbound_single.htm
MassEmailMessage:
Mass emails typically go to a large number of addresses (currently capped to 250 per email), with personalized message bodies.
https://developer.salesforce.com/page/An_Introduction_To_Email_Services_on_Force.com