HTML email marketing tool

Brad Hards bhards at bigpond.net.au
Wed Nov 13 16:44:30 EST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 14 Nov 2002 03:28, Terence Ng wrote:
> I do not really know Python.  How do you use smtplib
> to send HTML email?  I do not need to hook up to a web
> site for hits and removals.  Actually, I expect my
> prospects are expecting my email.
There is an example in the "Python Cookbook", Recipe 10.8, that shows how to 
create a HTML email, and embed a plain-text version (since at least some 
email reading programs (MUAs) are not capable of displaying HTML email, or 
are specifically configured not to).

You may also be able to find this example on ActiveState's web site.

Brad

BTW: If _any_ of your recipients are _not_ expecting your email, then what you 
are doing is spamming. Also, be sure not to send HTML email to a mailing list 
or a newsgroup gateway. Either of these will annoy many people, and do 
serious harm to your company's reputation.
- -- 
http://linux.conf.au. 22-25Jan2003. Perth, Aust. I'm registered. Are you?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE90se/W6pHgIdAuOMRAj9EAKCCWuc2/uGJeCFvm5dyE3Zzu4A3CgCeIOU5
oLrab2GQ0Tfpg4whKh5yaGw=
=00cW
-----END PGP SIGNATURE-----





More information about the Python-list mailing list