Can someone help please

D'Arcy J.M. Cain darcy at druid.net
Thu Jul 21 14:19:28 EDT 2011


On Thu, 21 Jul 2011 18:43:48 +0100
Gary Wood <pythonsky at sky.com> wrote:
> Hi
> Thanks for your reply's
> and sorry guys for not explaining properly
> ok the problem with the code, which i never realised before, is it sends the
> first txt file as the header or subject field in an email and the rest in
> the body of the email which i don't want. I would like all the txt files in
> the body of an email

> >> total = ' '

Change this to:
  total = '\n'

You just need a blank line between the headers and the body of the email
message.

-- 
D'Arcy J.M. Cain <darcy at druid.net>         |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 425 1212     (DoD#0082)    (eNTP)   |  what's for dinner.



More information about the Python-list mailing list