Logo Search packages:      
Sourcecode: umit version File versions  Download package

umitCore::Email::Email Class Reference

List of all members.


Detailed Description

This class is intended to provide a simple interface for sending
Umit emails. The mailing system is going to be used for mailing results
to users, automatically. The arguments you should care about setting 
are as follows:


from_addr - The address from which the email should be sent (Required)

login - If the mail server doesn't do relay, you should authenticate 
with a login

login_passwd - If the mail server doesn't do relay, you should 
authenticate on it

to_addr - The email address to where the scan result should be 
sent (Required)

server - The address of the SMTP server which will deliver the 
email (Required)

localdomain - If you want to send your email using your own domain, 
set it here.

msg - The scan result or msg you want to send (Required)

tls - True if the server require tls. False if not.

port - The port which the SMTP server is listening

subject - The subject of the mail (Required)

Definition at line 37 of file Email.py.


Public Member Functions

def __del__
def __init__
def close
def connect
def create_mail
def sendmail

Public Attributes

 email_server
 from_addr
 localdomain
 login
 login_passwd
 port
 server
 tls
 to_addr

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index