send an email with picture/rich text format in the body

Ben Finney bignose+hates-spam at benfinney.id.au
Sun May 28 19:21:11 EDT 2006


"anya" <anyab5 at gmail.com> writes:

> Acctualy there is a solution:
> see  http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/473810

Again, sending anything but plain text as the message body ensures
that your message is unreadable to a large number of people using a
variety of software. It's your choice whether to restrict your
audience in this way, but know that that's what you're doing.

If your message is going to be accompanied by a plain text body anyway
(as advised by the recipe you refer to), that plain text body is either
sufficient to give the necessary information, or not.

If the plain text is sufficient, please don't bloat the message with
the same information in an inefficient, non-standard message body. If
the plain text is not sufficient to say what you want to say, please
use a means of distributing it other than email.

> and , if you will set all the neccessary parametrs, it won't be
> recognized as a spam,

For many people, who have trained their spam classifier with the
majority of spam they receive, the simple fact that it contains HTML
and images *at all* is enough to classify it as spam.

-- 
 \       "Prediction is very difficult, especially of the future."  -- |
  `\                                                        Niels Bohr |
_o__)                                                                  |
Ben Finney




More information about the Python-list mailing list