Skip to content

Commit

Permalink
Showing more usage options
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanl committed Sep 11, 2012
1 parent be7f588 commit 8d276bb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ $mail->FromName = "Mailer";
$mail->AddAddress("josh@example.net", "Josh Adams");
$mail->AddAddress("ellen@example.com"); // name is optional
$mail->AddReplyTo("info@example.com", "Information");
$mail->AddCC('cc@example.com');
$mail->AddBCC('bcc@example.com');

$mail->WordWrap = 50; // set word wrap to 50 characters
$mail->AddAttachment("/var/tmp/file.tar.gz"); // add attachments
Expand All @@ -94,6 +96,14 @@ echo "Message has been sent";
?>
```

## Additional Options

```php
// Encrypt the connection to the email server
$mail->SMTPSecure = 'tls'; // 'ssl' also accepted

```

## CHANGELOG

See ChangeLog.txt
Expand Down

0 comments on commit 8d276bb

Please sign in to comment.