Skip to content

Commit

Permalink
Merge pull request #1523 from SCADA-LTS/patch_removed_throws_AddressE…
Browse files Browse the repository at this point in the history
…xception

removed throws AddressException
  • Loading branch information
Limraj authored Jan 29, 2021
2 parents 967c9e6 + 7a28609 commit 0b58108
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/com/serotonin/mango/rt/maint/work/EmailWorkItem.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,15 @@ public int getPriority() {
return WorkItem.PRIORITY_MEDIUM;
}

public static void queueEmail(String toAddr, MangoEmailContent content) throws AddressException {
public static void queueEmail(String toAddr, MangoEmailContent content) {
queueEmail(new String[] { toAddr }, content);
}

public static void queueEmail(String[] toAddrs, MangoEmailContent content) throws AddressException {
public static void queueEmail(String[] toAddrs, MangoEmailContent content) {
queueEmail(toAddrs, content, null);
}

public static void queueEmail(String[] toAddrs, MangoEmailContent content, Runnable[] postSendExecution)
throws AddressException {
public static void queueEmail(String[] toAddrs, MangoEmailContent content, Runnable[] postSendExecution) {
queueEmail(toAddrs, content.getSubject(), content, postSendExecution);
}

Expand Down

0 comments on commit 0b58108

Please sign in to comment.