I had a similar issue. I was trying to send a plain text email from Linux. I tried various Perl modules, mail, sendmail, etc. I then realized that Outlook was formatting my email. If you use Outlook 2016 open one of your test emails, go under file, properties and look at the header information. You should see something like this: Content-Type: text/html; charset="ISO-8859-1". If you find that the encoding is correct, then you need to check to see what Outlook is doing with your email. On your Outlook screen under file, options, mail you will see a button for stationary and fonts. The select the font button for composind and reading plain text messages and make sure that it is set to courier new and whatever font size you like. Then try opening one of you plain text emails and see if your white space formatting is OK.

In reply to Re: Encoding horridness revisited: What's going on here? by gandolf989
in thread Encoding horridness revisited: What's going on here? [SOLVED] by karlgoethebier

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.