| |
|
Back to Index
|
|
The SMTPHandler class supports sending logging messages to an email
address via SMTP.
-
| class SMTPHandler( |
mailhost, fromaddr, toaddrs, subject) |
- Returns a new instance of the SMTPHandler class. The instance is
initialized with the from and to addresses and subject line of the email. The toaddrs
should be a list of strings without domain names (That's what the mailhost is
for). To specify a non-standard SMTP port, use the (host, port) tuple format for the mailhost
argument. If you use a string, the standard SMTP port is used.
-
- Formats the record and sends it to the specified addressees.
-
- If you want to specify a subject line which is record-dependent, override this method.
|
|
|
|
|
|
© 2002-2004 Active-Venture.com
Webhosting
Service
|
| |
|
Disclaimer: This
documentation is provided only for the benefits of our hosting customers.
For authoritative source of the documentation, please refer to http://python.org/doc/
|
Domain registration : Buy domain name or register domain name from $5.95/year only |
Cheap domain registration : Register domain name or
buy domain name, including free domain hosting services |
Active-Domain.com offers cheap domain registration, domain name transfer and domain search services |
|
|
|