在Win Forms中处理Gmail(发送/接收)

Usm*_*eed 3 c# gmail

出于某些原因,我想在C#中为自己开发Gmail桌面应用程序.这样我就可以检索电子邮件(包括附件)(我不想使用outlook/thunderbird等客户端进行桌面)

所以请建议什么是更好的选择,到目前为止,我已经有两个我可以开始的地方:

https://developers.google.com/gmail/api/quickstart/dotnet#step_1_turn_on_the_api_name

https://gmailerxp.codeplex.com/

小智 5

试试DevMvcComponent 3.0

Install-Package DevMVCComponent
Run Code Online (Sandbox Code Playgroud)

https://github.com/aukgit/DevMvcComponent上使用此自述文件.

var gmailServer = new GmailServer("you@gmail.com", "password");
gmailer.QuickSend("sendingto@gmail.com", "Subject", "HTML body");
Run Code Online (Sandbox Code Playgroud)

你很高兴.