I am sending some emails from Python using smtplib MIMEtext; and have the often noted problem that Outlook will "sometimes" remove what it considers "extra line breaks".
It is odd, because I print several headers and they all break find, but the text fields in a table are all smooshed - unless the recipient manually clicks Outlook's "restore line breaks".
Because some come through alright, I wonder what is Outlook's criteria for "extra", and thus how to avoid it?
Do I need to format the message as HTML?
You won't be able to fix this.  Outlook does it no matter how many line breaks you put in there in my experience.  You might be able to trick it by adding spaces on each line, or non-breaksping space characters.  It's a dumb feature of outlook....
python sending email - line breaks removed by Outlook