在C#中从gmail读取邮件 [英] Reading mail from gmail in C#
本文介绍了在C#中从gmail读取邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想从gmail帐户中检索电子邮件内容。我想要gmail中的URL。
I want to retreive email content from gmail account. I want the URLs in the gmail.
推荐答案
要从gmail帐户阅读电子邮件,您必须使用POP3或IMAP协议。
使用Pop3
http://www.codeproject.com/KB/IP/Pop3MimeClient。 aspx
使用IMAP
http://www.codeproject.com/KB/IP/imaplibrary.aspx
http://www.codeproject.com/KB/IP/Get_Mail_Using_IMAP.aspx
当您使用Gmail时,您必须使用995端口用于IMAP的POP3和993。
For reading email from gmail account you have to use either use POP3 or IMAP Protocol.
Using Pop3
http://www.codeproject.com/KB/IP/Pop3MimeClient.aspx
Using IMAP
http://www.codeproject.com/KB/IP/imaplibrary.aspx
http://www.codeproject.com/KB/IP/Get_Mail_Using_IMAP.aspx
Also as you are using Gmail you have to use 995 port for POP3 and 993 for IMAP.
这篇关于在C#中从gmail读取邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文