49 references to MailHeaderInfo
System (49)
net\System\Net\mail\ContentDisposition.cs (2)
252
headers.InternalSet(
MailHeaderInfo
.GetString(MailHeaderID.ContentDisposition), ToString());
260
headers.InternalSet(
MailHeaderInfo
.GetString(MailHeaderID.ContentDisposition), ToString());
net\System\Net\mail\ContentType.cs (2)
175
headers.InternalSet(
MailHeaderInfo
.GetString(MailHeaderID.ContentType), ToString());
182
headers.InternalSet(
MailHeaderInfo
.GetString(MailHeaderID.ContentType), ToString());
net\System\Net\mail\HeaderCollection.cs (8)
31
MailHeaderID id =
MailHeaderInfo
.GetID(name);
51
MailHeaderID id =
MailHeaderInfo
.GetID(name);
71
MailHeaderID id =
MailHeaderInfo
.GetID(name);
93
if (
MailHeaderInfo
.IsSingleton(name)) {
120
name =
MailHeaderInfo
.NormalizeCase(name);
122
MailHeaderID id =
MailHeaderInfo
.GetID(name);
153
name =
MailHeaderInfo
.NormalizeCase(name);
155
MailHeaderID id =
MailHeaderInfo
.GetID(name);
net\System\Net\mail\Message.cs (23)
340
string xSenderHeader =
MailHeaderInfo
.GetString(MailHeaderID.XSender);
346
string headerName =
MailHeaderInfo
.GetString(MailHeaderID.XReceiver);
369
Headers.Remove(
MailHeaderInfo
.GetString(MailHeaderID.ContentType));
371
Headers[
MailHeaderInfo
.GetString(MailHeaderID.MimeVersion)] = "1.0";
375
headerName =
MailHeaderInfo
.GetString(MailHeaderID.Sender);
383
headerName =
MailHeaderInfo
.GetString(MailHeaderID.From);
386
headerName =
MailHeaderInfo
.GetString(MailHeaderID.To);
394
headerName =
MailHeaderInfo
.GetString(MailHeaderID.Cc);
402
headerName =
MailHeaderInfo
.GetString(MailHeaderID.ReplyTo);
413
Headers.Remove(
MailHeaderInfo
.GetString(MailHeaderID.Bcc));
416
Headers[
MailHeaderInfo
.GetString(MailHeaderID.XPriority)] = "1";
417
Headers[
MailHeaderInfo
.GetString(MailHeaderID.Priority)] = "urgent";
418
Headers[
MailHeaderInfo
.GetString(MailHeaderID.Importance)] = "high";
421
Headers[
MailHeaderInfo
.GetString(MailHeaderID.XPriority)] = "5";
422
Headers[
MailHeaderInfo
.GetString(MailHeaderID.Priority)] = "non-urgent";
423
Headers[
MailHeaderInfo
.GetString(MailHeaderID.Importance)] = "low";
427
Headers.Remove(
MailHeaderInfo
.GetString(MailHeaderID.XPriority));
428
Headers.Remove(
MailHeaderInfo
.GetString(MailHeaderID.Priority));
429
Headers.Remove(
MailHeaderInfo
.GetString(MailHeaderID.Importance));
432
Headers.InternalAdd(
MailHeaderInfo
.GetString(MailHeaderID.Date),
435
headerName =
MailHeaderInfo
.GetString(MailHeaderID.Subject);
469
if (!
MailHeaderInfo
.IsUserSettable(headerName)) {
478
|| (allowUnicode &&
MailHeaderInfo
.AllowsUnicode(headerName) // EAI
net\System\Net\mail\MimeBasePart.cs (8)
139
return Headers[
MailHeaderInfo
.GetString(MailHeaderID.ContentID)];
144
Headers.Remove(
MailHeaderInfo
.GetString(MailHeaderID.ContentID));
148
Headers[
MailHeaderInfo
.GetString(MailHeaderID.ContentID)] = value;
157
return Headers[
MailHeaderInfo
.GetString(MailHeaderID.ContentLocation)];
163
Headers.Remove(
MailHeaderInfo
.GetString(MailHeaderID.ContentLocation));
167
Headers[
MailHeaderInfo
.GetString(MailHeaderID.ContentLocation)] = value;
208
headers.InternalSet(
MailHeaderInfo
.GetString(MailHeaderID.ContentType), contentType.Encode(allowUnicode));
212
headers.InternalSet(
MailHeaderInfo
.GetString(MailHeaderID.ContentDisposition),
net\System\Net\mail\MimePart.cs (6)
46
((HeaderCollection)Headers).InternalRemove(
MailHeaderInfo
.GetString(MailHeaderID.ContentDisposition));
56
string value = Headers[
MailHeaderInfo
.GetString(MailHeaderID.ContentTransferEncoding)];
71
Headers[
MailHeaderInfo
.GetString(MailHeaderID.ContentTransferEncoding)] = "base64";
74
Headers[
MailHeaderInfo
.GetString(MailHeaderID.ContentTransferEncoding)] = "quoted-printable";
77
Headers[
MailHeaderInfo
.GetString(MailHeaderID.ContentTransferEncoding)] = "7bit";
80
Headers[
MailHeaderInfo
.GetString(MailHeaderID.ContentTransferEncoding)] = "8bit";