Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Telnet
#1
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
Code:
Copy      Help
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@newstrib.com

Then I test to see if a recipient exist:
rcpt to:test@newstrib.com

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!


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)