Winsocket or WinInet1,create the internet session2,gethttpconnection3,http GET method with post data (ex: http://test.com/test.jsp?username=hello&passwd=world)4,http POST method with post data (ex: http://test.com/login.jsp <in http headers post data is> username=hello&passwd=world )5,get html content6,close the internet session
依据HTTP协议里的POST发送
你可以参考RFC里面关于HTTP的协议,
POST+变量的方式传递邮件。
http://test.com/login.jsp
<in http headers post data is>
username=hello&passwd=world
)5,get html content6,close the internet session
1,socket编程
2,smtp(管发送)和pop3(管接受)协议
3,base64编码提示的是,现在的邮件服务器大多都要身份认正(老的例子都不好使了),要用AUTH LOGIN,指令,username和password都是要用base64编码的,附件也要用base64编码
我觉得它主要用的也是HTTP通信协议,但具体怎样实现的还不太明白,希望这方面的高手多指教
[email protected]
[email protected]
[email protected]
[email protected]来一份,thx very much!