how to read email from gmail using c#

后端 未结 4 472
情深已故
情深已故 2020-12-21 13:15

I want to create window application through which i can read email from gmail.

Actually i want to read proper format of email like to,from,subject,cc and body.

4条回答
  •  醉梦人生
    2020-12-21 13:59

    You may need to make sure you are using the correct hostname and port number. Configuring these settings will depend on the IMAP API you are using for .Net

    But the settings you want to use are listed on google's site.

    • IMAP => imap.google.com:993 (SSL)
    • SMTP => smtp.google.com:587 (TLS)

提交回复
热议问题