$_senderName
$_senderName : string
Name of the sender
CogiMail - PHP email creation and transport class.
__construct(string $senderMail, string $senderName, string $replyToMail = "") : void
Constructor.
Initialize the component with the sender informations.
| string | $senderMail | Email of the sender. |
| string | $senderName | Name of the sender. |
| string | $replyToMail | (optional) Email for reply to. |
If the sender mail or replyto mail is invalid.
addFile(string $fileUrl) : void
Add a file to join to the email.
Add a file to the files list to join to the email. File type could be jpg, jpeg, gif, png, pdf, doc, and others
| string | $fileUrl | Url of the file to add to the list. |
If the file url does not exist.
contentMail(string $mailObject, string $mailPlainText, string $mailHtml) : void
Initialize the content of the email.
Initialize the content of the email : object, text, html text.
| string | $mailObject | The object of the email. |
| string | $mailPlainText | The plain text of the email. |
| string | $mailHtml | The html text of the email. |