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