Resolves the following issue:
On machines with firewalls such as Norton firewall, e-mails are not sent until the socket is closed. Under these conditions, a new socket must be created for each e-mail that is to be sent.
Notes:
The socket used to communicate with the remote SMTP server is now explicitly closed in the 4 examples provided.
Download:
Resolves the following issue:
"An unhandled exception of type 'System.Exception' occurred in BKSimpleMail*.dll
Additional information: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond".
Notes:
The default Timeout period of 1000ms isn't enough for many SMTP server's to respond. The default Timeout was increased to 10000ms.
Thanks go to Claes Flodqvist for bringing this to my attention.
Initial Sample Release on GotDotNet:
Send
e-mails without CDO in C# & VB.NET