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
Gadivemula KrishnaGadivemula Krishna 

So when we used this line of code " Messaging.SingleEmailMessage email = new Messaging.SingleEmailMessage(); " , are we calling innerclass? Because we are using Messaging.SingleEmailMessage

Best Answer chosen by Gadivemula Krishna
Sai PraveenSai Praveen (Salesforce Developers) 
Hi Krishna,

Messaging is just the Namespace and we have SingleEmailMessage class in it. 

Let me know if you need any further information.

If this solution helps, Please mark it as best answer.

Thanks,