How to send E-mail without an external SMTP server ?



Hi,

I just want to send a very simple email from within python.

I think the standard module of smtpd in python can do this, but I haven't found documents about how to use it after googleing. Are there any examples of using smtpd ? I'm not an expert,so I need some examples to learn how to use it.

Or maybe there is a better way to to this?

Thanks.

xiaojf



.



Relevant Pages

  • Re: smtpd module
    ... I dont know how to use smtpd, ... > server with python, for some tests that I need to run that just prints ... > smtpd module seems to provide this ability via the DebuggingServer. ... Douglas Soares de Andrade ...
    (comp.lang.python)
  • Re: How to send E-mail without an external SMTP server ?
    ... I think the standard module of smtpd in python can do this, ... use an external mail server. ...
    (comp.lang.python)
  • Re: How to send E-mail without an external SMTP server ?
    ... I think the standard module of smtpd in python can do this, ... Do I have to setup a smtp server on my localhost? ...
    (comp.lang.python)
  • Re: How to send E-mail without an external SMTP server ?
    ... I think the standard module of smtpd in python can do this, ... See standard documentation: ...
    (comp.lang.python)
  • Re: py3k s***s
    ... have broken my old code for no good reason. ... your code, blame you and python, and move on to use something else. ... support for the old regex module as a standard module which simply ... of/forgot reconvert, but it doesn't ...
    (comp.lang.python)