如何从asp.net网站发送电子邮件: - [英] How to send email from asp.net website:--
本文介绍了如何从asp.net网站发送电子邮件: - 的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
请与我分享从ASP.net C#网站发送电子邮件申请的代码。
谢谢
Hi,
Kindly share me the code for sending email application from ASP.net C# website.
Thanks
推荐答案
请看这里:使用或不使用附件在C#中发送电子邮件:通用例程。 [ ^ ]
嗨........
已经解决了这个......以上链接非常有用....只是button_click事件..以下需要添加: -
smtp.Credentials = new System.Net.NetworkCredential(abc @ gmail .com,密码);
smtp.EnableSsl = true;
谢谢.....
Hi........
Have solved this.....the above link is very helpful....just of button_click event..following needs to be added:--
smtp.Credentials = new System.Net.NetworkCredential("abc@gmail.com", "password");
smtp.EnableSsl = true;
Thanks.....
这篇关于如何从asp.net网站发送电子邮件: - 的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文