16 lines
498 B
C#
16 lines
498 B
C#
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;
|
|
}
|
|
}
|
|
}
|