Asynchronously sending Emails in C#?

后端 未结 10 1437
礼貌的吻别
礼貌的吻别 2020-11-28 23:43

I\'m developing an application where a user clicks/presses enter on a certain button in a window, the application does some checks and determines whether to send out a coupl

10条回答
  •  囚心锁ツ
    2020-11-29 00:25

    Use the SmtpClient class and use the method SendAsync in the System.Net.Mail namespace.

提交回复
热议问题