diff --git a/Walled Garden Outlook AddIn/OutlookAddIn/ThisAddIn.cs b/Walled Garden Outlook AddIn/OutlookAddIn/ThisAddIn.cs index b8caaba..53948a9 100644 --- a/Walled Garden Outlook AddIn/OutlookAddIn/ThisAddIn.cs +++ b/Walled Garden Outlook AddIn/OutlookAddIn/ThisAddIn.cs @@ -26,7 +26,7 @@ void OutlookApplication_ItemSend(object Item, ref bool Cancel) foreach (Recipient recipient in this.mailItem.Recipients) { - if (!recipient.Address.EndsWith(Domain)) + if (recipient.Address.Contains("@") && !recipient.Address.EndsWith(Domain)) { Outsiders += "- " + recipient.Address + "\r\n"; }