4 answers
Hi NikhilMessaging is not a class it is name space.and SingleEmailMesssage is class Some methods in classsetBccAddresses(bccAddresses)setCcAddresses(ccAddresses)setHtmlBody(htmlBody)For All methods and Constructors ,You will get all Information from this URLhttps://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_email_outbound_single.htm