how can i communicate gmail pop server from开发者_如何学编程 flex i used pop.gmail.com and port =995 using Socket() class but it returns 220 mx.google.com ESMTP but i dont understand nothing.
"220" is a response code from Google saying that it is ready to communicate over SMTP. There are several commands to send back and forth so you'll need to find additional information on the SMTP protocol to communicate with Google's servers.
as3 SMTP: http://code.google.com/p/smtpmailer/
i say browse the source of that project to get a good idea of where to go.
I made POP3/SMTP library(Airxmail) in AS3 for AIR1.5.
http://code.google.com/p/airxmail/
The site shows a sample code to connect gmail.
精彩评论