Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

2
Thunderbird is a pain of a email client:Automate boring stuff
Post Body

I am working on an automated emailer based on the one in Automate the boring stuff. It works well except when I try to read it using Thunderbird. (Seriously I have read the exact same email through Gmail's website and Thunderbird and they are different)

With the line smtpObj.sendmail('[email protected]',To,'Subject: test \n' '\nDear ' name '\nCan I order the following from you?\n \n' body

                 '\nChris \nKPFA Radio')

It would look correct in Gmail and Hotmail, but until I put the extra /n before "Dear", It would put Subject: Test Dear Chris as the subject
and simply '\nChris \nKPFA Radio' as the main part of the email. None of the actual details of what I want to order from people.

I have coded around it by just trying various things until it worked, but I don't know why. Is Thunderbird just written to interpret the message differently ? Is it not following standards or are standards just loose.

Since I want to use this mailer at work, sending out real work related emails to outside people, how can I be sure that there aren't other 'gotchas' out there . I don't know what email client they will be using and I can't ask them if they got my previous email without it looking odd. (These are established vendors, so it's not spam, it's just that asking if they got the last email may not look professional to them).

Author
Account Strength
100%
Account Age
12 years
Verified Email
Yes
Verified Flair
No
Total Karma
16,929
Link Karma
1,648
Comment Karma
12,028
Profile updated: 4 days ago
Posts updated: 1 month ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
9 years ago