From 77495e390b05b7ea10f2388a08fba1a25f31e523 Mon Sep 17 00:00:00 2001 From: amontenegro Date: Tue, 17 Dec 2024 09:30:35 -0600 Subject: [PATCH] Add @orcid.org to the mailgun domains --- .../src/main/java/org/orcid/utils/email/MailGunManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orcid-utils/src/main/java/org/orcid/utils/email/MailGunManager.java b/orcid-utils/src/main/java/org/orcid/utils/email/MailGunManager.java index d45428a660..5300d28ec9 100644 --- a/orcid-utils/src/main/java/org/orcid/utils/email/MailGunManager.java +++ b/orcid-utils/src/main/java/org/orcid/utils/email/MailGunManager.java @@ -82,7 +82,7 @@ private boolean sendEmail(String from, String to, String cc, String subject, Str apiUrl = getMarketingApiUrl(); else if (fromEmail.endsWith("@verify.orcid.org")) apiUrl = getVerifyApiUrl(); - else if (fromEmail.endsWith("@notify.orcid.org")) + else if (fromEmail.endsWith("@notify.orcid.org") || fromEmail.endsWith("@orcid.org")) apiUrl = getNotifyApiUrl(); else apiUrl = getApiUrl();