themax90 Posted December 20, 2004 Share Posted December 20, 2004 (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 December 20, 2004 by Agent Smith Link to comment Share on other sites More sharing options...
Andre Posted December 20, 2004 Share Posted December 20, 2004 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! Link to comment Share on other sites More sharing options...
themax90 Posted December 20, 2004 Author Share Posted December 20, 2004 Do you know how I can use VBS to connect to a pop3 server and retreive the data then? Link to comment Share on other sites More sharing options...
Andre Posted December 20, 2004 Share Posted December 20, 2004 Have a look at :http://cwashington.netreach.net/main/default.asp?topic=news What about Windows without using AutoIt ?It would be the same as driving a car without an steering Wheel! Link to comment Share on other sites More sharing options...
SumTingWong Posted December 20, 2004 Share Posted December 20, 2004 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. Link to comment Share on other sites More sharing options...
themax90 Posted December 20, 2004 Author Share Posted December 20, 2004 Can someone code a sample script to help? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now