Connecting to yahoo email with IMAP4 MailSystem.NET

自古美人都是妖i 提交于 2019-12-24 06:41:09

问题


I try to connect to mail yahoo account from C# using net/imap MailSystem.NET. But I get error Stack OverFlow on imap.Login command

Anybody tries to connect to Yahoo! Mail and had some experiences about it with MailSystem.NET ?

Here's my working code.

Imap4Client imap = new Imap4Client();
imap.ConnectSsl("imap.mail.yahoo.com", 993);
imap.Login("login@yahoo.com", "PWD");
imap.Command("capability");

回答1:


I would like to suggest you to use ImapX

I used it an manage to access Gmail yahoo etc.

BTW- were you able to connect to another mail server like Gmail.com?



来源:https://stackoverflow.com/questions/10868875/connecting-to-yahoo-email-with-imap4-mailsystem-net

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!