mirror of
https://github.com/google/nomulus
synced 2026-09-19 14:34:18 +00:00
Fix sender email address for invoicing alerts
It was failing to send alert emails because the email address it was constructing did not have permission through GAE to send emails. This switches it over to using the send from email address already in use elsewhere in the app that does successfully send emails. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=219812019
This commit is contained in:
@@ -25,7 +25,7 @@ import javax.mail.internet.InternetAddress;
|
||||
/** Static utils for emailing reporting results. */
|
||||
public class ReportingEmailUtils {
|
||||
|
||||
@Inject @Config("alertSenderEmailAddress") String sender;
|
||||
@Inject @Config("gSuiteOutgoingEmailAddress") String sender;
|
||||
@Inject @Config("alertRecipientEmailAddress") String recipient;
|
||||
@Inject SendEmailService emailService;
|
||||
@Inject ReportingEmailUtils() {}
|
||||
|
||||
Reference in New Issue
Block a user