Skip to content

Latest commit

 

History

History
 
 

email

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
An Email Module.
You can send email.command line or import it

the desc of options:

CMD:
./sendEmail.py -f "[email protected]" \
               -t "[email protected],[email protected]" \
               -s "the subject of mail" \
               -m "the mail Message.Main Content" \
               -a "attachment1_path,attachment2_path"

IMPORT:
import sendEmail
sendEmail.send_mail(mail_from, mail_to, subject, msg_txt, files)