General downloads

SMTP Mail v1.6 - Stabilized

Author
Wiechardt Brummer  
Category
General downloads
Date
09/08/2004
Size
305,65 KB
Tags
e-mail
Downloads
4745
MD5 digest
871ECC1E8216DFE4B974CEB6E4A44DCE
Rating
432150
Popularity
Downloaded 4 times in the last two weeks

The SMTP Mail component was developed by Stephan Stapel and was submitted to mibuso on the 11 of October 2003...thank you Stephan, the component works like a charm.

I had one problem with the component: The error trapping is very difficult, since the component does not return an error code, but instead, raises an exception when an error occurs. That makes it very difficult to use the component in an unmanned environment, like when using the component in an email dispatcher.

I have changed the SmtpMailXControl1_TLB.pas file to perform a "TRY EXCEPT ON EXCEPTION" on every step in the process of sending an email. By doing this, you can do proper exception handling from Navision, since a result code of 0 is returned with the SMTP error number, instead of the component raising it's own exception.

Once again, I do not take credit for writing this component, I merely made a change to it...but that is the purpose of this site, right? To live, and let live!

Enjoy!
:-)

Download this file