Skip to content
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

Adding fixes to Message-Id header so that domain override is possible. #74

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

vitalykr
Copy link

Some e-mail servers reject e-mails sent from the Jenkins and think those are spam messages. Reason is that Message-Id header contains some local domain and does not correspond with server's domain name. The solution is to override domain on plugin level so that e-mail server will think this is an internal mail sent and do not put it into junk folder.

Copy link
Member

@oleg-nenashev oleg-nenashev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I request changes because of the pom.xml patch and usage of the old package. The suggested change looks reasonable to me, thanks!

pom.xml Outdated Show resolved Hide resolved
src/main/java/hudson/tasks/EnhancedMessage.java Outdated Show resolved Hide resolved
src/main/java/hudson/tasks/EnhancedMessage.java Outdated Show resolved Hide resolved
src/main/java/hudson/tasks/EnhancedMessage.java Outdated Show resolved Hide resolved
Vitaly Krivenko added 3 commits January 18, 2020 16:30
- Reverted pom.xml changes.
- Moved EnhancedMessage into jenkins.plugins.mailer.tasks package.
- Added @restricted attribute to the class level.
- Added code comments for EnhancedMessage class.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants