A program I wrote sends daily order confirmations for our company. When I first got the process going, I was having trouble with AOL customers receiving blank emails. The problem turned out to be the fact that I neglected to include a Date header. Adding one fixed the problem.
I recently decided to add a Message-ID header to the emails. Although its not technically required by the RFC 2822 standard it seems to be highly recommended. I, once again, began receiving reports of blank emails.
Turns out that, although I can find no specification in the RFC standard for the sequence of email headers, Outlook seems to require the Message-ID header to be first in line. Moving the Message-ID to the front of the headers helped but apparently, some customers are still receiving blank emails.
Can anyone suggest other reasons why some email clients will not display the body of the messages I'm sending? The To, From and Subject headers come through fine but the body of the message is blank. I am including a blank line between my headers and the body of the message as well as terminating the body with a period on a line by itself. What else should I look at?
I recently decided to add a Message-ID header to the emails. Although its not technically required by the RFC 2822 standard it seems to be highly recommended. I, once again, began receiving reports of blank emails.
Turns out that, although I can find no specification in the RFC standard for the sequence of email headers, Outlook seems to require the Message-ID header to be first in line. Moving the Message-ID to the front of the headers helped but apparently, some customers are still receiving blank emails.
Can anyone suggest other reasons why some email clients will not display the body of the messages I'm sending? The To, From and Subject headers come through fine but the body of the message is blank. I am including a blank line between my headers and the body of the message as well as terminating the body with a period on a line by itself. What else should I look at?