Package park :: Package util :: Module mail

Module mail

source code

Support for sending and receiving mail.

The Server class and send function are small wrappers around smtplib and smtpd which make it easy for applications to send and receive mail.

Example

The following example prints messages on the console as they arrive:

Classes
  Server
Simple mail server.
Functions
 
send(sender, receivers, message, subject='no subject', server='localhost')
Send an email message to a group of receivers
source code
 
demo() source code