10-16-2013, 11:44 PM
Ginataras,
I know you don't know Telnet, but I'm begging for help!
Here's how it starts, find the mail exchanger server:
nslookup -q=mx newstrib.com
No problem getting that to work:
Function MailExchanger
Then I Telnet in:
telnet mail.newstrib.com 25
Then I set the mail from:
mail from:[email protected]
Then I test to see if a recipient exist:
rcpt to:[email protected]
If the address exists on the server I will get an OK, if not I will get that it is rejecting.
I need to automate this, but cannot figure out how to execute the telnet portion of this with QuickMacros
Thank you!
I know you don't know Telnet, but I'm begging for help!
Here's how it starts, find the mail exchanger server:
nslookup -q=mx newstrib.com
No problem getting that to work:
Function MailExchanger
RunConsole2(F"nslookup -q=mx newstrib.com" _s)
str MailExchange
str pattern="mail exchanger = (.*?)\r\n"
if(findrx(_s pattern 0 0 MailExchange 1)>=0)
,out MailExchange
Then I Telnet in:
telnet mail.newstrib.com 25
Then I set the mail from:
mail from:[email protected]
Then I test to see if a recipient exist:
rcpt to:[email protected]
If the address exists on the server I will get an OK, if not I will get that it is rejecting.
I need to automate this, but cannot figure out how to execute the telnet portion of this with QuickMacros
Thank you!