31 references to Headers
System.Net.Mail (31)
System\Net\Mail\MailMessage.cs (1)
196
return _message.
Headers
;
System\Net\Mail\MailPriority.cs (30)
280
writer.WriteHeaders(
Headers
, allowUnicode);
339
writer.WriteHeaders(
Headers
, allowUnicode);
387
Headers
.Remove(MailHeaderInfo.GetString(MailHeaderID.ContentType)!);
389
Headers
[MailHeaderInfo.GetString(MailHeaderID.MimeVersion)] = "1.0";
396
Headers
.InternalAdd(headerName, Sender.Encode(headerName.Length, allowUnicode));
400
Headers
.Remove(headerName);
404
Headers
.InternalAdd(headerName, From!.Encode(headerName.Length, allowUnicode));
409
Headers
.InternalAdd(headerName, To.Encode(headerName.Length, allowUnicode));
413
Headers
.Remove(headerName);
419
Headers
.InternalAdd(headerName, CC.Encode(headerName.Length, allowUnicode));
423
Headers
.Remove(headerName);
429
Headers
.InternalAdd(headerName, ReplyTo.Encode(headerName.Length, allowUnicode));
433
Headers
.InternalAdd(headerName, ReplyToList.Encode(headerName.Length, allowUnicode));
437
Headers
.Remove(headerName);
440
Headers
.Remove(MailHeaderInfo.GetString(MailHeaderID.Bcc)!);
444
Headers
[MailHeaderInfo.GetString(MailHeaderID.XPriority)] = "1";
445
Headers
[MailHeaderInfo.GetString(MailHeaderID.Priority)] = "urgent";
446
Headers
[MailHeaderInfo.GetString(MailHeaderID.Importance)] = "high";
450
Headers
[MailHeaderInfo.GetString(MailHeaderID.XPriority)] = "5";
451
Headers
[MailHeaderInfo.GetString(MailHeaderID.Priority)] = "non-urgent";
452
Headers
[MailHeaderInfo.GetString(MailHeaderID.Importance)] = "low";
457
Headers
.Remove(MailHeaderInfo.GetString(MailHeaderID.XPriority)!);
458
Headers
.Remove(MailHeaderInfo.GetString(MailHeaderID.Priority)!);
459
Headers
.Remove(MailHeaderInfo.GetString(MailHeaderID.Importance)!);
462
Headers
.InternalAdd(MailHeaderInfo.GetString(MailHeaderID.Date)!,
470
Headers
.InternalAdd(headerName, _subject);
474
Headers
.InternalAdd(headerName,
482
Headers
.Remove(headerName);
545
for (int i = 0; i <
Headers
.Count; i++)
547
if (string.Equals(
Headers
.GetKey(i), headerName, StringComparison.InvariantCultureIgnoreCase))