In my Vision application we have an email screen where I use system.net.sendEmail(). It works well enough most of the time, but we use an older SMTP email service provider and occasionally it would throw an error because the SMTP took too long to respond. However, even when we got that error, a minute or two later the email would send anyways.
So this was put into a
try:except: statement, with the expectation they were always sending. I think we all know whats coming, eventually we found that some emails were not being sent but with no way to know this except people checking their outboxes/clients telling us they never received said email.
This all leads me to the fact that
system.net.sendEmail() returns to me nothing. No matter what I don’t get any feedback on the failure or success of a email being sent. Is there anything I can do baout this? Has anyone else overcome this problem? Is there some 3rd party library people use for this? I don’t know where to go from here.