Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Generate 'Read Receipts' in' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Generate 'Read Receipts' in
Authored by: wallybear on Jan 25, '08 02:05:35PM

Almost correct, but sender address is malformed (and some mail servers reject the email, as I verified).

To solve the problem (and get correct sender headers also in your Sent box) replace the following line:

set sender to theSender & return & "Disposition-Notification-To: " & theSender

with this one:

set sender to theSender & ASCII character(10) & "Disposition-Notification-To: " & theSender

The header lines are separated by chr(10), not chr(13) (the return you originally put in that line). This explains why you got strange sender headers in your Sent box, and why some mail server reject so formed messages.

With the above correction, it worked like a charm.

[ Reply to This | # ]