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