5 instantiations of MailMessage
System (3)
net\System\Net\mail\SmtpClient.cs (3)
428
MailMessage mailMessage = new
MailMessage
(from, recipients, subject, body);
566
SendAsync(new
MailMessage
(from, recipients, subject, body), userToken);
723
var message = new
MailMessage
(from, recipients, subject, body);
System.Web (2)
Management\MailWebEventProvider.cs (1)
112
MailMessage msg = new System.Net.Mail.
MailMessage
(_from, _to);
UI\WebControls\MailDefinition.cs (1)
250
message = new
MailMessage
(from, recipients);
24 references to MailMessage
System (7)
net\System\Net\mail\SmtpClient.cs (7)
48
MailMessage
message; //required to prevent premature finalization
428
MailMessage
mailMessage = new MailMessage(from, recipients, subject, body);
435
public void Send(
MailMessage
message) {
573
public void SendAsync(
MailMessage
message, object userToken) {
723
var
message = new MailMessage(from, recipients, subject, body);
728
public Task SendMailAsync(
MailMessage
message)
928
private void ValidateUnicodeRequirement(
MailMessage
message,
System.Web (17)
Management\MailWebEventProvider.cs (3)
111
internal
MailMessage
GetMessage() {
112
MailMessage
msg = new System.Net.Mail.MailMessage(_from, _to);
126
internal void SendMail(
MailMessage
msg) {
Management\SimpleMailWebEventProvider.cs (1)
245
using (
MailMessage
msg = GetMessage()) {
Management\TemplatedMailWebEventProvider.cs (5)
96
MailMessage
msg,
204
using (
MailMessage
msg = GetMessage()) {
249
MailMessage
_msg;
252
MailMessage
msg,
323
public
MailMessage
Message {
UI\WebControls\LoginUtil.cs (2)
73
private static
MailMessage
CreateMailMessage(string email, string userName, string password,
168
using (
MailMessage
message = CreateMailMessage(email, userName, password,
UI\WebControls\MailDefinition.cs (3)
203
public
MailMessage
CreateMailMessage(string recipients, IDictionary replacements, Control owner) {
232
public
MailMessage
CreateMailMessage(string recipients, IDictionary replacements, string body, Control owner) {
248
MailMessage
message = null;
UI\WebControls\MailMessageEventArgs.cs (3)
15
private
MailMessage
_message;
18
public MailMessageEventArgs(
MailMessage
message) {
23
public
MailMessage
Message {