Jenkins Extended Email Notification - Email Content as attachment - jenkins

Using Jenkins 1.499 and version 2.25 of the Jenkins Email Extension Plugin. When emails get sent, the content of the email is showing up as an attachment to the notification and not in the body of the email. In fact, the body of the email is blank. Changing the content type of the email has no effect. We use Exchange/Outlook, could that be the issue? Any ideas to get the content of the email in the body of the message?

I think this may have to do with your junkmail settings, either in Exchange and/or in Outlook
For me, when I received the first Jenkins email in Outlook, I had to click on the warning lines (just above the email header) and select "Add sender to safe senders list"

Related

notifications are not sent after build

I want to send build results - whether it is SUCCESS or FAILURE to some recipients. In Extended E-mail Notification config I set reply to list to some gmail mail.
In my after build section for notification of the job I left notification config as is
But when build fails it does not send notification as recipients list is considered empty.
What is the problem?
Either you fill the Default Recipients inside "Extended E-Mail Notification" and use as Project Recipient List $DEFAULT_RECIPIENTS or you specify directly the e-mail adresses (comma seperated) inside the Project Recipient List
One of the both fields must contain a valid e-mail adress. Otherwhise it will fail with An attempt to send an e-mail to empty list of recipients, ignored. failure.
Additionaly try to verify: Jenkins email-ext plugin thinks I have no recipients configured

Send and receive email by Rails App

We have build custom crm app(rails 4.0). One of the features that we have build is that we send emails to our customers based on booking status or we send a custom email by our travel agents.
The next thing we want is that customers can replt on this email. So we can recognize the email thats replyed and related to the initial email is send, so we have a nice email dialog (send/receive) in the crm.
Someone ideas how we can "recognize" the replyed email so we can related it to the right email?
Thanks..remco
In your email client open a reply from someone and show full headers or raw source (how to get it depends on the client but you will find it!)
When you look at the email headers you will find References field
References: <CAAC3oDjZSFywS5mpAANO+svm-3xXwLciUhw_QEkBkNqT9A#mail.com>
<06AFEF94-53D2-4469-59B0A494830C#mail.de>
<E67E3945-D61E-8E45-63C52D111698#mail.net>
And more importantly
In-Reply-To: <6397034C-90CA-41B4-F47AE3F39E76#mail.de>
While every outgoing email has a Message-ID field
Message-ID: <569F22.8060202#mail.de>
To get an if of you outgoing message
result = SomeMailer.message(params).deliver
result.header['Message-ID'].value

Office 365 not parsing the mail content in attachment properly

I am sending a meeting invite using Grails mail service. The calendar is sent as an ics file (attachment) and also as a multipart of type text/calendar. When I try to open the mail in Office365, I am getting the attachment as "unable to verify organizer.ics". To solve this problem, it was suggested that both the organizer and the mail sender username in the Config has to be same.
Due to design constraints I cannot make both the Organizer and the From Email address same. Is there any way to solve this issue.
Note: The mail is working perfectly in Outlook, Gmail and other mail clients.
I think this is a security requirement where the sender has to have the same email address to avoid fishing and spams. just add the sender username as your organizer.
hope this helps.

Indy 10 and MsgId

I am trying to group emails sent and received by threads in my Delphi XE2 application. I use Indy 10 components and the idea is to link the email unique Message-IDs with the In-Reply-Tos.
First step is to store the Message-ID of the very first email of the thread sent out. This is the email that starts the thread.
Second step is to store, for the emails received, the email In-Reply-Tos field. By linking Message-ID and In-Reply-To I can compose the email thread.
The first step is achieved with the following code:
FIdMessage1.MsgId:='Unique ID';
FIdMessage1.ExtraHeaders.Values['Message-Id'] := FIdMessage1.MsgId;
Here the email is sent out with 'Unique ID' in the field Message-ID of the email correctly.
When the recipient of this email replies the In-Reply-Tos is not 'Unique ID' any longer but something like '<-9999999999999999999#unknownmsgid>'. It seems that the recipient email server override my Message-ID.
What can I do in order the server not override my Message-ID ?
If my approach is wrong what can I do in order to organize emails sent/received in threads ?
Organizing emails by subject is not an option because there may be different email threads with the same subject.
****UPDATE****
I have solved, temporary, this issue.
I delete the code I mention in the first step above then with this piece of code
Get email headers from GMail's "Sent items" folder
This way I can retrieve the email I have just sent and with AMsgList[i].MsgId I can see the email id.

Jenkins email configuration - Test email configuration succeeds but email is not received by user

I am Using Jenkins v1.521 on Windows 2008 R2 server. I need to enable email build notifications in the builds. I have also installed email ext plugin.
I have configured the SMTP server details under Configure System in Jenkins.
I tried sending the test email from Jenkins using "Test Configuration" option providing my email address and I get a message that says "Email successfully sent" but I don't seem to be receiving the email.
I also tried doing a telnet to the SMTP server directly on the server hosting Jenkins and sent an email manually and it worked. I received the email.
I wonder why the mail sending part does not work via Jenkins?
Could any one please provide me suggestions to fix this issue?
In order to get this to work, a valid email must be entered into the "System Admin e-mail address" field. That field is on the same page but is located in another section higher up. Without doing so, I too received a message that the email was successfully sent but I never received it. Once I set it, the test emails started to be received properly.

Resources