开发者

How to send email from code ? [duplicate]

This question already has answers here: 开发者_开发问答 Closed 11 years ago.

Possible Duplicate:

How to send an email?

I have some simple winform application. In some place in the flow the user have button that if he will press on it the application will send email to some know mail address.

How can i implement this ? How can i send the mail ?

Thanks for any help.


Look at the System.Net.Mail namespace and the SmtpClient class:-

http://msdn.microsoft.com/en-us/library/system.net.mail.smtpclient.aspx


FAQ site with good samples.

http://www.systemnetmail.com/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜