× 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.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.