Hi,
This may be way off the mark, but have you tried adding a comma between $cc1 and $cc2??
Hence,
$headers = "From: " . $from . "\r\n" . "Cc: " . $cc1 . ", " . $cc2;
That may be why the gmail address is not allowed to follow the abc address.
Best,
Rob.
Yes, that was the problem. Thanks to both of you.
Reputation Points: 2614
Solved Threads: 687
Posting Expert
Offline 5,375 posts
since Jan 2008