|
I stole Scott Klement's source code and come up with this: GETMSRCD will get the MX records for a domain. They are not returned in any order from what I saw. (this source was from http://archive.midrange.com/midrange-l/200110/msg01567.html ). After you get the MX record you want pass it and the email address to CHKEADR (This code needs a lot of work, but it is late and I am tired) (This code was taken from http://klement.dstorm.net/rpg/socktut/index.html and you will need the service program SOCKUTILR4 to compile this program). If someone knows why the rdline hangs, I would like to hear the reason. I had to know how many it took for each response, which was different for my email address and David's email address. The way it is now it will work for David's email address. Also the ip address in helo will need to be changed. GETMXRCD - http://www.netshare400.com/cgi-bin/DSPOPNSRC?file=QRPGLESRC&mbr=GETMXRCD CHKEADR - http://www.netshare400.com/cgi-bin/DSPOPNSRC?file=QRPGLESRC&mbr=CHKEADR John Ross
As an Amazon Associate we earn from qualifying purchases.
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.