PHPMailer - AddCC doesn't seem to work when using PHPmail
Posted: Wed Oct 31, 2007 10:55 pm
Has anyone experienced any trouble using the AddCC function in the class.phpmailer.php? I am trying to develop a component that sends out an email and carbon copies specified email addresses. However, I could not get it to work when using the php mail function. Everything else worked perfectly in the email send. I ran across this thread in the sourceforge phpmailer forum that shows a work around by adding a few lines of code to the class.phpmailer.php file around line 787:
http://sourceforge.net/forum/message.php?msg_id=3011151
The AddCC works once I add those lines to the class.phpmailer.php file.
However, I would prefer to not have to modify that file on every site that I use this component for.
Any suggestions?
Thanks,
Don
http://sourceforge.net/forum/message.php?msg_id=3011151
The AddCC works once I add those lines to the class.phpmailer.php file.
However, I would prefer to not have to modify that file on every site that I use this component for.
Any suggestions?
Thanks,
Don