diff --git a/email/README.txt b/email/README.txt new file mode 100644 index 0000000..61ffc95 --- /dev/null +++ b/email/README.txt @@ -0,0 +1,15 @@ +An Email Module. +You can send email.command line or import it + +the desc of options: + +CMD: +./sendEmail.py -f "fromSomeOne@XXX.com" \ + -t "toA@XXX.com,toB@XXX.com" \ + -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) \ No newline at end of file