in reply to Re^2: adding carriage return to gmail script
in thread adding carriage return to gmail script

Sorry. I've never used the module. When I didn't see the newline between the list of filenames and the "total files pushed", I assumed that HTML was swallowing the newline. When I skimmed the documentation, I saw the <BR> but didn't notice the -contenttype=>'text/html', so thought I had confirmation that it defaulted to HTML; oops.

Now looking at the source of the OP, I now see that since the output was not wrapped in <c></c>, the post hid the newline that was actually there.

To fix the example code, either use NetWallah's suggestion of -contenttype=>'text/html', or remove the unnecessary <br>'s from my example.

Replies are listed 'Best First'.
Re^4: adding carriage return to gmail script
by flieckster (Scribe) on Jun 15, 2016 at 21:09 UTC
    that works perfect! thanks!