complete the attachment process from email
bzr revid: mga@tinyerp.com-a7de992a82b0935322d637004e01c8997baf01a1
This commit is contained in:
parent
db2518b6a4
commit
847f34d58e
|
@ -276,9 +276,11 @@ if __name__ == '__main__':
|
|||
parser = email_parser(options.userid, options.password, options.section, options.email, options.default, dbname=options.dbname)
|
||||
print
|
||||
print '-.- ICI'
|
||||
#msg_txt = email.message_from_file(sys.stdin)
|
||||
fp = open('/home/admin/Desktop/test1.eml');
|
||||
msg_txt = email.message_from_file(fp)
|
||||
msg_txt = email.message_from_file(sys.stdin)
|
||||
msg_txt = email.message_from_file(msg_txt)
|
||||
|
||||
#fp = open('/home/admin/Desktop/test1.eml');
|
||||
#msg_txt = email.message_from_file(fp)
|
||||
fp.close()
|
||||
print 'Mail Sent to ', parser.parse(msg_txt)
|
||||
|
||||
|
|
Loading…
Reference in New Issue