## phpmailer Manual

Directions
Variables are set like this:
$mail->Priority = 1;

Methods are set like this:
$mail->AddCC("roger@email.com", "Roger Opus");

### General Variables

Variable | Description | Default Value
string Mailer | Set the mailer ("mail", "sendmail", or "smtp") | mail |
int Priority | Set email priority (1 (High), 3 (Normal), 5 (low) | 3 |
string CharSet | Set CharSet | iso-8859-1
| string ContentType | Set ContentType | text/plain
string Encoding | Set Content-Transfer-Encoding | 8bit
string From | Set email address of sender | root@localhost
string FromName | Set name of sender | root
string Subject | Set message subject | none
string Body | Set message body | none
int WordWrap | Set word wrap on message body | false (off)
bool MailerDebug | Turn debugging on or off | true (on)

### SMTP-specific Variables

Variable | Description | Default Value
string Host | Set mail servers (separated by semicolons (";") | localhost |
int Port | SMTP port | 25
string Helo | Set SMTP HELO | localhost.localdomain
int Timeout | Set connection timeout | 10 (seconds)
bool SMTPDebug | Set SMTP debugging on or off | false (off)

### General Methods

Method | Description
IsHTML(bool) | Turn HTML format on/off |
IsSMTP() | Set mailer to SMTP |
IsMail() | Set mailer to PHP mail() function |
IsSendmail() | Set mailer to $sendmail |
IsQmail() | Set $sendmail to /var/qmail/bin/qmail-inject |
AddAddress(string address, string name) | Add a "to" address (name optional) |
AddCC(string address, string name) | Add a "cc" address (name optional) |
AddBCC(string address, string name) | Add a "bcc" address (name optional) |
AddReplyTo(string address, string name) | Add a "Reply-To" address (name optional) |
AddAttachment(string path) | Add an attachment |
Send() | Send the message |