SMTP server w/o using Twisted framework
Jeff McNeil
jeff at jmcneil.net
Thu Jul 5 14:34:24 EDT 2007
If you just want to send mail, you should be able to use the standard
smtplib module (http://docs.python.org/lib/module-smtplib.html). If
your recipients are on the Internet, you would need to handle MX
resolution yourself.
I know you said you want to avoid a relay server, but it's probably
the best bet unless you control the SMTP infrastructure or are simply
sending messages locally. Otherwise, you'll probably need to also
implement queuing and retry logic (depending on your requirements).
There are also some warning lights that may go off and flag your mail
as spam if you're using a method like that...
-Jeff
On 7/5/07, _spitFIRE <timid.Gentoo at gmail.com> wrote:
> Is it possible to run a SMTP server that sends mail to recipients
> using standard libraries, without using twisted framework, and also
> without using any relay server?
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
More information about the Python-list
mailing list