From 8d276bb54fd3ec964a8cf6e021ec419fc0578086 Mon Sep 17 00:00:00 2001 From: Nathan Long Date: Tue, 11 Sep 2012 10:56:14 -0600 Subject: [PATCH] Showing more usage options --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index ac455168..7ee2f1e5 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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