Mail mail class
Sending mail over the internet is basic. It's the way we communicate this days.
messageId for log purposes ->messageId;
bodyFile message content template ->bodyFile;
vars holds variables ->vars;
subject subject of the mail ->subject;
fromName title when sending mail ->fromName;
fromAddress email when sending mail ->fromAddress;
toName title when sending mail ->toName;
toAddress email when sending mail ->toAddress;
ccName title when sending mail ->ccName;
ccAddress email when sending mail ->ccAddress;
attachments include files to mail ->attachments;
debug debug mode ->debug;
sendMail dispatch emails $mail->sendMail();
correctEncoding to utf-8 this::correctEncoding();
sendBuiltInMailer send with php built in $mail->sendBuiltInMailer();
sendMailPhpMailer send with phpMailer class $mail->sendMailPhpMailer();
sendMailToAdmin sends to admin $mail->sendMailToAdmin();
ifLogMailSentP checks if log sent $this->ifLogMailSent();
loadBodyFileP render a message $this->loadBodyFile();
logMailSentP mail log $this->logMailSent();