demo code ,replace your yahoo mail
ImapClient client = new ImapClient();
client.Host = "imap.mail.yahoo.com";
client.Username = "aaaa@yahoo.com";
client.Password = "pass";
client.Port = 993;
try
{
ImapMessageInfoCollection messageInfoCol = client.ListMessages("Inbox");
foreach (ImapMessageInfo info in messageInfoCol)
{
// Display MIME Message ID
Console.WriteLine("Message Id = " + info.MessageId);
}
}
catch (Exception ex)
{
Console.WriteLine(ex.Message);
}
0x773C2C92 处(位于 usualTest.exe 中)引发的异常: Microsoft C++ 异常: EETypeLoadException,位于内存位置 0x0097B424 处。 出现了
KernelBase.dll!773c2c92() 未知
[下面的框架可能不正确和/或缺失,没有为 KernelBase.dll 加载符号] 未知
msvcr120_clr0400.dll!64c4fb90() 未知
clrjit.dll!637a1239() 未知
clrjit.dll!637bfa9b() 未知
[托管到本机的转换]
Aspose.Email.dll!#=zYsuOXeOUHwLA9C9vYT51QTQ=.#=zYsuOXeOUHwLA9C9vYT51QTQ=(#=z1o3Vx1acodq8hQUeG9CZxC2A2Tme #=zGiCDtNc=, #=z$cQNWMNRyZFplpLe3FpMid2yIvCa #=zV4YmATAOz2ur, #=zM498wfAPvCAbA8kHwv3fY$eh0auzkJpQbQ==[] #=zFBvBZAu3q1bm, Aspose.Email.Tools.Logging.Logger #=zpIBM1x8NR5Bf, int #=zNhD9u0g=, int #=z$8I2O4I=) 未知
Aspose.Email.dll!#=zshwR3x4r75myq4AavIsY_Qgv9qVsWl4v4s19kUw=.#=zshwR3x4r75myq4AavIsY_Qgv9qVsWl4v4s19kUw=(#=z$cQNWMNRyZFplpLe3FpMid2yIvCa #=zGtC8lLM=, #=zM498wfAPvCAbA8kHwv3fY$eh0auzkJpQbQ==[] #=zFBvBZAu3q1bm, Aspose.Email.Tools.Logging.Logger #=zpIBM1x8NR5Bf, int #=zNhD9u0g=, int #=z$8I2O4I=) 未知
Aspose.Email.dll!#=z0zQvslSB_C_S8zb048camKzXW9D5Vh4oIcHtCUI=.#=zJxkpPPk=(int #=zNhD9u0g=, int #=z$8I2O4I=) 未知
Aspose.Email.dll!#=z$cQNWMNRyZFplpLe3FpMid2yIvCa.#=z96VW$NehbnH1(int #=zNhD9u0g=, #=z2jS6ZhsmHo_A5W_aWRLDc0B4GrF$g1z3ng== #=zo37$3Nc=) 未知
Aspose.Email.dll!#=zWDJupmmUSDQe_ik0icb_bty8Lu$n.#=zhstFQeerhm3R() 未知
Aspose.Email.dll!#=zWDJupmmUSDQe_ik0icb_bty8Lu$n.#=zlUFH4kU=(System.AsyncCallback #=zxZh_L2Y=, object #=zjYk3GZE=) 未知
Aspose.Email.dll!Aspose.Email.Clients.Imap.ImapClient.BeginListMessages(Aspose.Email.Clients.IConnection connection, string folderName, long modificationSequence, bool retrieveRecursively, System.Collections.Generic.IEnumerable<string> messageExtraFields, System.AsyncCallback callback, object state) 未知
Aspose.Email.dll!Aspose.Email.Clients.Imap.ImapClient.ListMessages(Aspose.Email.Clients.IConnection connection, string folderName, long modificationSequence, bool retrieveRecursively, System.Collections.Generic.IEnumerable<string> messageExtraFields) 未知
Aspose.Email.dll!Aspose.Email.Clients.Imap.ImapClient.ListMessages(string folderName) 未知
> usualTest.exe!usualTest.Program.Main(string[] args) 行 46 C#
[本机到托管的转换]
mscoreei.dll!653bd93b() 未知
mscoree.dll!6543e8b9() 未知
mscoree.dll!65444e18() 未知
kernel32.dll!749b8494() 未知
ntdll.dll!77b041c8() 未知
ntdll.dll!77b04198() 未知
I use aspose emial 19.5 .net 4.6.1 x86 , chinese language , win10 x64
and it seem no matter with which email