lie.1296 at gmail.com
Tue Nov 24 05:01:34 CET 2009
D'Arcy J.M. Cain wrote:
> On Mon, 23 Nov 2009 14:46:23 -0500
> Susan Day <suzieprogrammer at gmail.com> wrote:
>> 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.
> You should really post an entire script that runs and shows the error
> so that we can run it (changing the email address of course) to see
> what it does.
My guess: you're writing HTML email?
In HTML, superfluous whitespace is ignored. Use <br /> for line break
for space, or enclose the text in <pre>
More information about the Python-list