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();