Page 1 of 1
PHP Mail Help - Multiple CC's from Same Domain
Posted: Fri Aug 07, 2009 5:18 pm
by BritishAgent
Hello
I am having trouble with my php mail form. I have multiple recipients in the CC field but only one from each domain receives the message - eg:
Code: Select all
$headers = "CC: claire@mail.com, miranda@company.com, steve@company.com\r\n";
In this example, both Claire and Miranda get the cc message but not Steve. The email that I receive a CC copy of shows that Steve was added to the CC list but it never went to his mailbox.
Is there something I have to do to to make it allow multiple cc's from the same domain?
Thanks for any help.
Claire
Re: PHP Mail Help - Multiple CC's from Same Domain
Posted: Fri Aug 07, 2009 6:03 pm
by califdon
BritishAgent wrote:Hello
I am having trouble with my php mail form. I have multiple recipients in the CC field but only one from each domain receives the message - eg:
Code: Select all
$headers = "CC: claire@mail.com, miranda@company.com, steve@company.com\r\n";
In this example, both Claire and Miranda get the cc message but not Steve. The email that I receive a CC copy of shows that Steve was added to the CC list but it never went to his mailbox.
Is there something I have to do to to make it allow multiple cc's from the same domain?
Thanks for any help.
Claire
No, there's no limit. Something else is wrong. Is it only the last address in the list that doesn't work? I'd try putting a space before the "\r\n" following the last address (although I wouldn't have thought that should cause a problem). If that's not it, check the spelling, check that "steve" is getting other email.
Re: PHP Mail Help - Multiple CC's from Same Domain
Posted: Fri Aug 07, 2009 7:33 pm
by BritishAgent
califdon wrote:BritishAgent wrote:Hello
I am having trouble with my php mail form. I have multiple recipients in the CC field but only one from each domain receives the message - eg:
Code: Select all
$headers = "CC: claire@mail.com, miranda@company.com, steve@company.com\r\n";
In this example, both Claire and Miranda get the cc message but not Steve. The email that I receive a CC copy of shows that Steve was added to the CC list but it never went to his mailbox.
Is there something I have to do to to make it allow multiple cc's from the same domain?
Thanks for any help.
Claire
No, there's no limit. Something else is wrong. Is it only the last address in the list that doesn't work? I'd try putting a space before the "\r\n" following the last address (although I wouldn't have thought that should cause a problem). If that's not it, check the spelling, check that "steve" is getting other email.
Thanks Califdon, but I've checked the spelling and that they are getting other mail. Checked their spam folders. I've also checked it by varying the addresses that are from the same domain, with the same results.
I read about this being an issue when I was researching how to do multiple recipients, but can't find that post. Any other ideas?
C.