×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
Tim,
Take a look at
http://network-tools.com/default.asp?prog=validate&host=tim2007@xxxxxxxxxxx
Under the section labeled SMTP session, you will see the steps that this site takes to verify an e-mail address (I changed yours to gaurd against spambots).
You can follow these steps using telnet on port 25, or any other means you have to directly manipulate the application data when connected to an smtp server on port 25.
If you are trying to do this all programatically, you would start by parsing the domain name from the e-mail address (comcast.net in our example), then doing a dns lookup for the lowest priority MX record associated with that domain, and finally you would simulate the smtp session as demonstrated in the link above.
If you decide to do this, be careful about your approach to make sure you don't get any of your smtp servers blacklisted.
Hope this helps,
Josh
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of tim
Sent: Friday, January 11, 2008 7:24 AM
To: 'RPG programming on the AS400 / iSeries'
Subject: email/SMTP validation
I am interested in validating an email address. No just the syntax but if
it's a valid email address. I've heard that that's called "smtp validation".
Has anyone done this who can give some suggestions?
Thanks
As an Amazon Associate we earn from qualifying purchases.