On Thu, 21 Jul 2011 18:43:48 +0100 Gary Wood <python...@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 <da...@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. -- http://mail.python.org/mailman/listinfo/python-list