-6
如何在指定页面加载时发送电子邮件...!从ASP.NET页面发送电子邮件
如何在指定页面加载时发送电子邮件...!从ASP.NET页面发送电子邮件
How to send e-mail programmatically by using System.Web.Mail in Visual C# 2005 or in Visual C# .NET
(这仍然是适用的,将代码粘贴到的Page_Load)
您可以使用SmtpClient
类从System.Net.Mail
命名空间来发送邮件。
考虑花费一些时间来搜索什么是一个非常简单的方法 – ChrisBint
没有找到任何工作。你能告诉我一个吗? – lock
你究竟在寻找什么? – bzlm