开发者

Accessing Gmail accounts from C#

开发者 https://www.devze.com 2023-01-15 16:27 出处:网络
I\'ve tried some code I found here: Access Gmail I am unable to get it t开发者_C百科o work and get the following error:

I've tried some code I found here:

  • Access Gmail

I am unable to get it t开发者_C百科o work and get the following error:

A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 209.85.227.109:995

I have POP enabled on all my Gmail accounts.

I can use third party tools like this sidebar gadget, so I don't think port 995 is blocked.

Any thoughts on what I can try next?


you can otherwise read your mail through RSS feeds.

https://username:password@mail.google.com/mail/feed/atom

https://mail.google.com/mail/feed/atom/labelname You can also read feeds with specific label.


You can telnet 209.85.227.109 995 and make sure that you get blank screen. This ensures that your computer is able to connect Gmail server. contact your system admin to unblock the port 995 or gmail smtp/pop server.


The solution can be found here: Reading emails from Gmail in C#

But before this, you need to configure your Gmail setting to enable the Imap and third party mail clients. To do so, you can follow the steps from this page: How to Enable IMAP/POP3/SMTP for Gmail Account?


Please take a read of the following document:

  • POP3 Email Client (.NET 2.0)
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号