11 instantiations of MailAddress
System (3)
net\System\Net\mail\MailAddressParser.cs (1)
134return new MailAddress(displayName, localPart, domain);
net\System\Net\mail\MailMessage.cs (1)
43message.From = new MailAddress(from);
net\System\Net\mail\Message.cs (1)
51this.from = new MailAddress(from);
System.IdentityModel (2)
System\IdentityModel\Claims\X509CertificateClaimSet.cs (1)
185claims.Add(Claim.CreateMailAddressClaim(new MailAddress(value)));
System\IdentityModel\Tokens\SessionSecurityToken.cs (1)
1708return new SysClaim(SysClaimTypes.Email, new System.Net.Mail.MailAddress(address), right);
System.Net (2)
net\PeerToPeer\Collaboration\CollaborationHelperFunctions.cs (1)
137peerContact.EmailAddress = (pc.pwzEmailAddress != null) ? new MailAddress(pc.pwzEmailAddress) : null;
net\PeerToPeer\Collaboration\PeerContact.cs (1)
333m_emailAddress = new MailAddress(serializationInfo.GetString("_EmailAddress"));
System.ServiceModel (1)
System\ServiceModel\Security\SctClaimSerializer.cs (1)
298return new Claim(ClaimTypes.Email, new System.Net.Mail.MailAddress(address), right);
System.Web (3)
Management\MailWebEventProvider.cs (2)
115msg.CC.Add(new MailAddress(_cc)); 119msg.Bcc.Add(new MailAddress(_bcc));
UI\WebControls\LoginUtil.cs (1)
156new MailAddress(email);
53 references to MailAddress
System (45)
net\System\Net\mail\MailAddress.cs (1)
89MailAddress result = MailAddressParser.ParseAddress(address);
net\System\Net\mail\MailAddressCollection.cs (6)
16public class MailAddressCollection: Collection<MailAddress> { 31protected override void SetItem(int index, MailAddress item){ 39protected override void InsertItem(int index, MailAddress item){ 48IList<MailAddress> result = MailAddressParser.ParseMultipleAddresses(addresses); 59foreach (MailAddress address in this) { 75foreach (MailAddress address in this) {
net\System\Net\mail\MailAddressParser.cs (6)
32internal static MailAddress ParseAddress(string data) 35MailAddress parsedAddress = MailAddressParser.ParseAddress(data, false, ref index); 43internal static IList<MailAddress> ParseMultipleAddresses(string data) 45IList<MailAddress> results = new List<MailAddress>(); 71private static MailAddress ParseAddress(string data, bool expectMultipleAddresses, ref int index)
net\System\Net\mail\MailMessage.cs (5)
71public MailMessage(MailAddress from, MailAddress to) { 82public MailAddress From { 94public MailAddress Sender { 104public MailAddress ReplyTo {
net\System\Net\mail\Message.cs (12)
16MailAddress from; 17MailAddress sender; 19MailAddress replyTo; 58internal Message(MailAddress from, MailAddress to):this() { 76internal MailAddress From { 89internal MailAddress Sender { 99internal MailAddress ReplyTo { 342MailAddress sender = Sender ?? From; 349foreach (MailAddress address in To) { 352foreach (MailAddress address in CC) { 355foreach (MailAddress address in Bcc) {
net\System\Net\mail\SmtpClient.cs (7)
463foreach (MailAddress address in message.To) { 468foreach (MailAddress address in message.Bcc) { 473foreach (MailAddress address in message.CC) { 598foreach (MailAddress address in message.To) { 603foreach (MailAddress address in message.Bcc) { 608foreach (MailAddress address in message.CC) { 933foreach (MailAddress address in recipients)
net\System\Net\mail\SmtpCommands.cs (3)
525internal static IAsyncResult BeginSend(SmtpConnection conn, byte[] command, MailAddress from, 561static void PrepareCommand(SmtpConnection conn, byte[] command, MailAddress from, bool allowUnicode) 577internal static void Send(SmtpConnection conn, byte[] command, MailAddress from, bool allowUnicode)
net\System\Net\mail\SmtpTransport.cs (5)
256internal IAsyncResult BeginSendMail(MailAddress sender, MailAddressCollection recipients, 302internal MailWriter SendMail(MailAddress sender, MailAddressCollection recipients, string deliveryNotify, 322foreach (MailAddress address in recipients) { 362MailAddress from; 374internal SendMailAsyncResult(SmtpConnection connection, MailAddress from, MailAddressCollection toCollection,
System.IdentityModel (4)
System\IdentityModel\Claims\Claim.cs (1)
130public static Claim CreateMailAddressClaim(MailAddress mailAddress)
System\IdentityModel\Claims\ClaimsConversionHelper.cs (2)
151else if (StringComparer.Ordinal.Equals(claim.ClaimType, ClaimTypes.Email) && claim.Resource is MailAddress) 154_value = ((MailAddress)claim.Resource).Address;
System\IdentityModel\Tokens\SessionSecurityToken.cs (1)
1581writer.WriteString(((System.Net.Mail.MailAddress)claim.Resource).Address);
System.Net (3)
net\PeerToPeer\Collaboration\PeerContact.cs (2)
86private MailAddress m_emailAddress; 129public MailAddress EmailAddress
net\PeerToPeer\Collaboration\PeerNearMe.cs (1)
137public PeerContact AddToContactManager(string displayName, string nickname, MailAddress emailAddress)
System.ServiceModel (1)
System\ServiceModel\Security\SctClaimSerializer.cs (1)
127writer.WriteString(((MailAddress)claim.Resource).Address);