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