以编程方式使用Gmail接收电子邮件? [英] Programmatically use Gmail to receive e-mail?
本文介绍了以编程方式使用Gmail接收电子邮件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想使用C#程序来轮询一个Gmail帐户并自动下载新邮件。我知道你可以使用Gmail作为出站SMTP服务器,但有什么方法可以访问发送到该帐户的新邮件吗?
编辑:感谢您的快速反馈....所以我有两种选择,POP或IMAP。
我应该使用哪一个?为什么?
使用 bin / answer.py?answer = 75725& topic = 12891rel =noreferrer>带IMAP的Gmail 。
I'd like to use a C# program to poll a gmail account and automatically download new messages. I know you can use gmail as an outbound SMTP server, but is there any way to access new messages sent to the account?
EDIT: Thanks for the rapid feedback....so I have two options, POP or IMAP.
Which one should I use? And why?
EDIT #2: Looks like IMAP allows me to not have to poll. Looks like the way to go.
解决方案
Use Gmail with IMAP.
这篇关于以编程方式使用Gmail接收电子邮件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文