Jump to content

Recommended Posts

Posted (edited)

Run("telnet smtpserver 110", "", @SW_SHOW)
MouseClick("left", 384, 274, 1, 0)
sleep(1200)
Send("User user{enter}")
sleep(200)
Send("Pass password{enter}")
sleep(200)
Send("list{enter}")
$info = WinGetText ( "Telnet smtpserver")
sleep(2000)
FileOpen("test", 1)
FileWriteLine("test", $info)
FileClose("test")
;$file = FileRead("test", 1)
;If $file = 0 Then
;   MsgBox(0,"No new messages", "You have no new email messages")
;ElseIf $file <= 1 Then
;   MsgBox(0,"NEW MESSAGES!", "You have " & $file & " new messages")
;EndIf
;FileDelete("test")
WinClose("Telnet smtpserver")

;How do I get the information from a commmand line window so that I can verify if the server says +OK (number) messages?

How do I get the information from a commmand line window so that I can verify if the server says +OK (number) messages?

Edited by Agent Smith
Posted

Hi,

Too Bad, Telnet output can't be captured with AutoIt. Try for yourself with the Spy.....

Andre

What about Windows without using AutoIt ?It would be the same as driving a car without an steering Wheel!
Posted

Do you know how I can use VBS to connect to a pop3 server and retreive the data then?

<{POST_SNAPBACK}>

Use the new TCP functions in Larry's AU3Xtra.dll?

Same goes for those wanting to capture TELNET sessions as well.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...