Line Breaks

Susan Day suzieprogrammer at
Mon Nov 23 20:46:23 CET 2009

On Mon, Nov 23, 2009 at 2:26 PM, Gary Herron <gherron at>wrote:

> >>> print 'A Message From %s:\n\n %s' % ('someone','some message')
> A Message From someone:
> some message
> So...  *Exactly* what are you doing with msg, and *exactly* what is your
> evidence that line breaks are being ignored.  With that information, perhaps
> we can identify and solve the real problem you're having.

First, it does in fact ignore all line breaks, not just double line breaks.
Here's what I'm doing:
session.sendmail(clientEmail, ourEmail2, header+msg)
The email sent out has the message sans breaks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list