Skip to content

Commit

Permalink
Fixed 2 typos in the event log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
kavejo committed Jun 3, 2024
1 parent dc4e498 commit 1c67f0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions TransportAgents/HeaderReroutingAgent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -218,10 +218,10 @@ void RemoveEmptyHeaders(CategorizedMessageEventSource source, QueuedMessageEvent

if (externalRecipients > 0)
{
EventLog.AppendLogEntry(String.Format("Removing empty headers as there are extenral recipients"));
EventLog.AppendLogEntry(String.Format("Removing empty headers as there are external recipients"));
foreach (Header header in evtMessage.MailItem.Message.MimeDocument.RootPart.Headers)
{
EventLog.AppendLogEntry(String.Format("Inspeceting header {0}: {1}", header.Name, String.IsNullOrEmpty(header.Value) ? String.Empty : header.Value));
EventLog.AppendLogEntry(String.Format("Inspecting header {0}: {1}", header.Name, String.IsNullOrEmpty(header.Value) ? String.Empty : header.Value));
if (header.Value == null || header.Value.Length == 0 || String.IsNullOrEmpty(header.Value))
{
if (header.Name.ToLower() != "from" && header.Name.ToLower() != "to" && header.Name.ToLower() != "cc" && header.Name.ToLower() != "bcc")
Expand Down

0 comments on commit 1c67f0a

Please sign in to comment.