cjbeck71081 Posted January 23, 2007 Share Posted January 23, 2007 I need to add a BCC and CC to a Form Mailer, can someone tell me how this is set up, here is a snippet of my code:[code]<?php$email=$_POST['email'];require("class.phpmailer.php");$mail = new PHPMailer();$mail->IsSMTP(); // telling the class to use SMTP$mail->Host = "relay-hosting.secureserver.net"; // SMTP server$mail->From = "[email protected]";$mail->AddAddress("$email");$mail->AddAddress("[email protected]");$mail->AddAddress("[email protected]");[/code]I would like the AddAddress("[email protected]"); to be a BCC and a CC to be sent to AddAddress("[email protected]) Link to comment https://forums.phpfreaks.com/topic/35402-php-mailer-bcc-or-cc/ Share on other sites More sharing options...
redbullmarky Posted January 23, 2007 Share Posted January 23, 2007 have you tried to get the answer [url=http://phpmailer.sourceforge.net/]straight from the horses mouth[/url] first?you need to use either AddCC or AddBCC in the place of AddAddress.cheers Link to comment https://forums.phpfreaks.com/topic/35402-php-mailer-bcc-or-cc/#findComment-167487 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.