Hi,
This is a test for sending email using SMTP and wx.lib.delayedresult.
I did some changes using in 'delayedresult' example from demo. Script
is working fine but I am not able
to hook the process of sending properly.
There are two things I need to change:
1. When pressing 'Abort', process should abort in between.
2. How to get result properly from sending process and feed it to
delayed result. The result is either "Success" or error/exception
returned from send mail process.
I think I have to modify the '_resultProducer' function for both the
issues. I tried copying the code of 'SendMail' function in
'_resultProduce' but not able to set up 'while'
loop properly.
Note: Please change the values of 'MAIL_SERVER', 'USER_NAME', &
'PASSWORD' variables.
Thanks
Prashant
send_email_01.py (4.81 KB)