| 6:58 pm on Nov 4, 2011 (gmt 0)|
Looks OK to me at first glance. But if you're grasping for straws, you might test the script on a different server just to be sure that the host isn't blocking 'Bcc' fields to reduce SPAM.
| 10:59 am on Nov 5, 2011 (gmt 0)|
Maybe a security issue? Some (shared) servers prevent emails from being BCC'd to addresses on another domain. But you should get an error logged if this is the case of the form...
|Warning: mail(): SMTP server response: 554 <firstname.lastname@example.org>: Recipient address rejected: Relay access denied |
| 12:39 pm on Nov 8, 2011 (gmt 0)|
many thanks guys. I'm looking into the security matter then.
| 1:01 pm on Nov 8, 2011 (gmt 0)|
unless I am misunderstanding
|When I check the inbound email for the $to: recipient |
you're looking for the Bcc in the received email? that would sort of go against the point of bcc if you could see them there.
put another of your addresses in the bcc and see if you receive the email.
| 1:19 pm on Nov 8, 2011 (gmt 0)|
Yeah Jatar_k that's what I already did. None of the bcc emails arrived - hence my original question. But sometimes the obvious is missed, so thanks for covering that off.
| 1:51 pm on Nov 8, 2011 (gmt 0)|
yeah, sorry, just checking
you could also play with the order, it often makes a difference
try moving your bcc right after your from
<added>you could even try just using \n instead of \r\n
playing around with headers and line endings is sometimes a help, especially if there are no errors
also make sure all the addresses/servers are good
also adding more headers may be paart of the issue as your receiving mail server could just be burning it if it sees it as spam
so many points where an email could fail