Razor webmatrix-回复webmail.send邮件头
有人知道如何在C#中执行以下操作吗 我需要将其插入以下代码中:Razor webmatrix-回复webmail.send邮件头,razor,webmatrix,webmail,Razor,Webmatrix,Webmail,有人知道如何在C#中执行以下操作吗 我需要将其插入以下代码中: WebMail.Send(to: customerEmail, subject: "Booking enquiry from - " + customerEmail, body: customerRequest ); 使用以下方法解决此问题: var header = new[]{"Reply-To:test@hotmail.com"}; WebMail.Send(to: customerE
WebMail.Send(to: customerEmail,
subject: "Booking enquiry from - " + customerEmail,
body: customerRequest
);
使用以下方法解决此问题:
var header = new[]{"Reply-To:test@hotmail.com"};
WebMail.Send(to: customerEmail,
subject: "Booking enquiry from - " + customerEmail,
body: customerRequest,
additionalHeaders: header
);
var header = new[]{"Reply-To:test@hotmail.com"};
WebMail.Send(to: customerEmail,
subject: "Booking enquiry from - " + customerEmail,
body: customerRequest,
additionalHeaders: header
);