tags:

views:

67

answers:

4

This is probably a stupid question, but...

I've got an application that sends emails out, programmatically. The emails have two recipients. One in the TO field (my client), and one in the BCC field (me).

I'm getting the emails, and I see my client's address in the TO field, but they sweat they aren't getting them. Does the fact that their email is showing up in the TO field at least mean it correctly left my server?

A: 

It should as long as it's the right e-mail address. Have they checked their spam filter?

jaywon
Yes, sorry, I should have mentioned that. They swear they have checked multiple times. I even sent an email to a different person, but at the same domain, and they too said they didn't get it. I thought it was a problem sending to their domain, but I always see their correct addresses in the TO field (I am bcc'd)
seth
+1  A: 

No, it doesn't. The To is only a header. For instance, try to email [email protected], which I suppose is non-existant, and put yourself on BCC. You will receive the email

Probable causes:
1. You are on the same domain, so the mail delivery subsystem can find you, but has issues mailing others (if this is the case, try to BCC an external mail of yours)
2. If you are not on the same domain, there are plenty of possibilities, check every customer and whether no one has received the message.

EDIT: Quoting Mike Daniels too:

Regardless, if there is a failure, I'd expect to see a message from your (or their) e-mail server indicating that the message couldn't be delivered.

Luís Guilherme
Interesting. Thanks. I suppose I need to try and find some mail log files on my server to see if any failures are coming back.
seth
+1  A: 

E-mail headers are not reliable. In fact, it's possible to create an e-mail message that appears to come from a completely different person, just by modifying the header. (As an aside, this is one reason why digital certificates are useful.) The presence of your recipient in the "to" field is no guarantee of anything at all. Regardless, if there is a failure, I'd expect to see a message from your (or their) e-mail server indicating that the message couldn't be delivered.

Edit: New thought. Is it possible their e-mail server is dropping the message silently because it's coming in with some weird header? I am no e-mail server expert, but they could be dropping messages that have no sender or reply-to address in the header.

Mike Daniels
A: 

Others have mentioned that you should be seeing an error reply if the message can't be sent. But that assumes that the emails have a proper "From" or "Reply-To" header. Try replying to one of the messages that you get via BCC, and see if it goes anywhere.

Dan Breslau