-
Notifications
You must be signed in to change notification settings - Fork 2
Smpt sender email fix #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
epoch-server/src/main/java/com/phonepe/epoch/server/notify/NotificationMailSender.java
Show resolved
Hide resolved
|
|
||
| String fromName; | ||
|
|
||
| String fromAddress; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be @NotEmpty
epoch-server/src/main/java/com/phonepe/epoch/server/resources/Housekeeping.java
Show resolved
Hide resolved
| val ts = mock(TopologyStore.class); | ||
| val trs = mock(TopologyRunInfoStore.class); | ||
| val mc = new MailNotificationConfig("localhost", 2525, false, "", "", List.of(), false); | ||
| val mc = new MailNotificationConfig("localhost", 2525, false, "", "", List.of(), "sender", "sender@email.com", false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please create a constant for these two strings.
|




This PR addresses the following