Add Mail
This commit is contained in:
15
Api/Ewide.Core/Util/MailHelper.cs
Normal file
15
Api/Ewide.Core/Util/MailHelper.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System.Net.Mail;
|
||||
|
||||
namespace Ewide.Core.Util
|
||||
{
|
||||
public class MailHelper
|
||||
{
|
||||
public void Send()
|
||||
{
|
||||
MailMessage msg = null;
|
||||
//smtpClient.Credentials = new System.Net.NetworkCredential(mail.from.Send_Address.Address, mail.from.password);//设置发件人身份的票据
|
||||
//smtpClient.DeliveryMethod = System.Net.Mail.SmtpDeliveryMethod.Network;
|
||||
//smtpClient.Host = "smtp." + mail.from.Send_Address.Host;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user