Initialize
The "init" method of Mailer.cfc has the following arguments:
- MailServer (default = empty string): The sending mail server (if left blank, "mode" argument will be set to "Sim").
- From (default = empty string): The default from address for sending email (if left blank, "mode" argument will be set to "Sim").
- To (default = empty string): The default recipient for sent email (if blank, a "To" will be required for all email sent by Mailer.cfc)
- username (default = empty string): The username for sending email, if needed.
- password (default = empty string): The password for sending email, if needed.
- RootData (optional struct): Default values to be used for all "data" arguments for notices
- ReplyTo (default = empty string): If provided, a default reply-to address for all outgoing email.
- Sender (default = empty string): If provided a "Sender" value for the email.
- logtable (default = "mailerLogs"): The name of the table that Mailer.cfc should use for any logging.
- mode (optional string): Possible values of "Live" where Mailer.cfc sends normally or "Sim" which prevents Mailer.cfc from actually sending email (good for dev sites or testing).