Fixes issues with account creation.

This commit is contained in:
James Quinley
2022-08-01 13:42:04 -07:00
parent 4fd6678791
commit f67bc0274f
2 changed files with 50 additions and 88 deletions

View File

@ -53,6 +53,7 @@ public class electronicMailHandler {
} catch (Exception e) {
e.printStackTrace();
System.err.println("Email ONBOARD Not sent due to an error");
secureCalls.banAction(receiverEmail);
if (e instanceof SendFailedException) {
secureCalls.banAction(receiverEmail);
}