31 references to Headers
System (31)
net\System\Net\mail\MailMessage.cs (1)
178
return message.
Headers
;
net\System\Net\mail\Message.cs (30)
271
writer.WriteHeaders(
Headers
, allowUnicode);
321
writer.WriteHeaders(
Headers
, allowUnicode);
369
Headers
.Remove(MailHeaderInfo.GetString(MailHeaderID.ContentType));
371
Headers
[MailHeaderInfo.GetString(MailHeaderID.MimeVersion)] = "1.0";
377
Headers
.InternalAdd(headerName, Sender.Encode(headerName.Length, allowUnicode));
380
Headers
.Remove(headerName);
384
Headers
.InternalAdd(headerName, From.Encode(headerName.Length, allowUnicode));
388
Headers
.InternalAdd(headerName, To.Encode(headerName.Length, allowUnicode));
391
Headers
.Remove(headerName);
396
Headers
.InternalAdd(headerName, CC.Encode(headerName.Length, allowUnicode));
399
Headers
.Remove(headerName);
404
Headers
.InternalAdd(headerName, ReplyTo.Encode(headerName.Length, allowUnicode));
407
Headers
.InternalAdd(headerName, ReplyToList.Encode(headerName.Length, allowUnicode));
410
Headers
.Remove(headerName);
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),
438
Headers
.InternalAdd(headerName, subject);
441
Headers
.InternalAdd(headerName,
448
Headers
.Remove(headerName);
507
for (int i = 0; i <
Headers
.Count; i++)
509
if (string.Compare(
Headers
.GetKey(i), headerName,