Email Send through apex class
public class singleEmailSend { // Public method public static void SingleMail(String address, String subject, String body) { // Create an email message object Messaging.SingleEmailMessage mail = new Messaging.SingleEmailMessage(); String[] sendingTo = new String[]{address}; mail.setToAddresses(sendingTo); mail.setSubject(subject); mail.setPlainTextBody(body); //message sending Messaging.sendEmail(new Messaging.SingleEmailMessage[] {mail}); } }