Jump to content

CC and email in $headers


iluvphp

Recommended Posts

Hi,

 

I have a php email form and in the headers, I just want to add a 2nd email that the form will send to.  I can only get the form to be sent to the first email?  This is the code I currently have:

 

$headers .= 'From: The Group <[email protected]>' . "\r\n";

$headers .= 'CC: [email protected]'. "\r\n";

 

Is my code off for the CC email?

 

Thanks for the help!

Link to comment
https://forums.phpfreaks.com/topic/223990-cc-and-email-in-headers/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.