How to send email after the execution

Asked by Neo

This could be general question, not related to sikuli. But would be very helpful.

I get html report after the test suite execution (using HTMLTestRunner). Now how to identify the suite has completed (when run from command line) and once done, attach the html & send e-mail to a group.

How to do this ?

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
Neo
Solved:
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

have a look at Jythons smtplib

Revision history for this message
Neo (simamhussain) said :
#2

can we use smtplib api in sikuli IDE? Is that anything to change before using that API?

Revision history for this message
RaiMan (raimund-hocke) said :
#3

No idea, what is needed on top (at least a running and reachable smtp-server - local/remote).

see: http://www.jython.org/docs/library/smtplib.html

Revision history for this message
Neo (simamhussain) said :
#4

No problem. I will try to figure it out. :)
Thanks Rai, you were so helpful through out my project.

Revision history for this message
RaiMan (raimund-hocke) said :
#5

Thanks for feedback :-)

Always welcome.