Info Panel
Roll it!   ⇔
1 - Documantation
* Knowledge Base
  • Mvc
  • Application
  • Advanced
  • Operators
  • Api
* Origin Template
  • Customize
* Core Classes
* Classes

* all grey titles exists but not documented yet

Mail  mail class

Description: keep it simple

Sending mail over the internet is basic. It's the way we communicate this days.

List of variables/parameters:

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;

List of methods/functions:

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();

Info Panel
Roll it!   ⇔