We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49996fe commit 7e3fc04Copy full SHA for 7e3fc04
Walled Garden Outlook AddIn/OutlookAddIn/ThisAddIn.cs
@@ -26,7 +26,7 @@ void OutlookApplication_ItemSend(object Item, ref bool Cancel)
26
27
foreach (Recipient recipient in this.mailItem.Recipients)
28
{
29
- if (!recipient.Address.EndsWith(Domain))
+ if (recipient.Address.Contains("@") && !recipient.Address.EndsWith(Domain))
30
31
Outsiders += "- " + recipient.Address + "\r\n";
32
}
0 commit comments