adrian1906
Member
- Joined
- May 29, 2011
- Messages
- 5
- Programming Experience
- 10+
I have an application that processes photos and then emails the result.
Before it does any processing, I'd like the code to check if the provided SMTP server is configured correctly.
I can have the code to send a test email in a Try/Catch loop, but I'd like to avoid sending a test email out every time if the connection is valid.
I've seen suggestions that uses telnet and others that use 'Helo'. I'm looking for a VB.net solution
Thank you,
Adrian
Before it does any processing, I'd like the code to check if the provided SMTP server is configured correctly.
I can have the code to send a test email in a Try/Catch loop, but I'd like to avoid sending a test email out every time if the connection is valid.
I've seen suggestions that uses telnet and others that use 'Helo'. I'm looking for a VB.net solution
Thank you,
Adrian