Fix (Mono/Win diff in exception type)

This commit is contained in:
Rick Falkvinge
2017-01-03 21:52:36 +01:00
parent 44d8b772ab
commit 3269293c75
@@ -72,7 +72,7 @@ namespace Swarmops.Utility.Communications
mail.To.Add(new MailAddress(person.Mail, person.Name));
}
}
catch (FormatException e)
catch (ArgumentException e)
{
// Address failure -- either sender or recipient