Cannot form correctly the FORM part of the header when sending mail

Piet van Oostrum piet at vanoostrum.org
Thu Sep 5 11:19:11 EDT 2013


Ferrous Cranus <nikos at superhost.gr> writes:

> it just need the whole concatenation thing in parenthesis so to be
> executed first but now:
>
>
> 			# send the mail
> 			server.sendmail( [ MESSAGE ] )
>
> or
>
> 			# send the mail
> 			server.sendmail( MESSAGE )
>
> both fail.

The first thing you should do then is to look up the documentation of
sendmail. http://docs.python.org/ has a good index where you can look
for sendmail.
-- 
Piet van Oostrum <piet at vanoostrum.org>
WWW: http://pietvanoostrum.com/
PGP key: [8DAE142BE17999C4]



More information about the Python-list mailing list