Jenkins newbie here.
I am using editable email plugin for emails being sent out of jenkins jobs.
The policy is:
Always send an email to admin irrespective of job status
Send email to anyone who breaks the build (can be someone outside the team)
Send email to whole team when build breaks or gets fixed
Is there a way to achieve this?
Install Email Extension Plugin.
On the Job configuration page
Add post-build action "Editable Email Notification"
Add Trigger "Always" and in advanced section set you email address in Recipient List - this will send you an email all always
Add Trigger "Failure - Any", "Fixed", "Success", "Unstable" - this will send email to people in the default Recipient list
Hope this helps!
Related
I opened an old ticket without answers :
How to send attachments through jenkins pipeline using mail
Do you know if it's possible to send an email attachment with mail . I know that it's possible to send it with emailext but it's not installed on our Jenkins and the team doesn't want to install it.
Please let me know if it's atleast possible because if it's not, it's a good reason to pressure the IT team in charge of the Jenkins :)
Thanks in advance
No you cannot send attachments with the built-in mail steps.
Its parameters are quite limited
https://www.jenkins.io/doc/pipeline/steps/workflow-basic-steps/#mail-mail
You would need email-ext for this.
e.g. How to send email with attachment in jenkinsfile (Groovy Script)?
If a GitHub repo has a GitHub action added, and that action fails, GitHub sends an automated email indicating that failure. How can I change the recipient of that email?
Background
My GitHub profile has my personal email address set as the primary email address, and my work email address added as a secondary. In my work's GitHub account I've created a new GitHub repo--one with a GitHub action that executes whenever a push occurs to the GitHub repo. GitHub settings are such that, when a push occurs and the action fails, GitHub sends an automated email indicating the failure. The problem is, when I push from my Git user (using my work email address) and the GitHub action fails, that email is sent to my personal email address, rather than my work email address. Both my work and I would like to keep all work-related email out of my personal email, if possible.
I'm not sure if the email is being sent to me because I created the repo, because I created the action, or because I initiated the push.
I realize I can additional recipients to this notification email, but that's not what I want right now.
Possible Solutions
Ideally, I'd like to change the recipient of these emails to any recipient(s) I want. Is that possible? If so, how would I approach that?
As a fallback, is there a way to simply change the recipient of these emails to my work email address, rather than my personal email address?
What I've Tried So Far
I've asked GitHub support about this, but haven't received a reply.
Check Settings: In my work repo, I don't seem to have permissions to check the settings of this repo. But I created a similar repo in my personal GitHub account, and was able to check its settings. There is a ‘Notifications’ section and an ‘Actions’ section. But nothing in either allows me to do what I want.
Thanks.
This worked for me
In your Github profile notification settings: https://github.com/settings/notifications
You can set the default notification email to one of those which are configured on your account.
Here is an example
There is also an interesting section in your case: Choosing where your organization’s email notifications are sent, in the Github Documentation that give more details about this.
I have a Liferay 6.1.0ga1 Portal that requires email confirmation from new registered users.
Following my feedback from the Portal users, and testing with misc Email Providers I've noticed:
Users that use a gmail account for their account, have no problem at all
Hotmail users will receive the 'welcome to our portal' and 'Email confirmation' emails, directly into their junk folder
Yahoo users are receiving most of the sent emails (welcome email, reset pasword, etc) normally, but the email confirmation is never received, and cannot be found even in their Spam Folder. The same happens for every request for a new confirmation mail. In a certain case, the Confirmation email arrived a few hours later, but I cannot really reproduce this scenario.
This is becoming a blocker issue because yahoo users can't register to the portal.
Can anyone provide some ideas on what is causing this behavior, and how could I make sure that all users can receive their confirmation emails ?
Edit:
Could it be that certain email providers are using a strict policy, are blocking the Confirmation Email, because it includes an activation email? I've thought of some solutions like
- Creating a register Hook that informs the new users that they could set their account to accept mails from my Portal
- Creating a hook that will use another Email Template for email confirmation, e.g including the confirmation Token and excluding the activation url
You could take a look at this very old question: How do you make sure email you send programmatically is not automatically marked as spam?
So have you tried the mentioned options in the marked answer there?
I'm using Odoo to send emails/Newsletters to my clients (contacts). But on my Odoo installation, it doesn't send emails.
I go to -> Marketing -> Mass Mailing. On the top, there are two buttons "Test Mailing" and "send to all". When I do "Test Mailing", I successfully receive emails right in my inbox. But when I do "Send to All", Odoo doesn't send emails. Any idea why?
Thanks,
Abdul
Could you first check the parameters of your "Email Queue Manager"?
Menu : Settings > Technical > Automation > Scheduled actions > Email Queue Manager
You can then see the interval settings and the next execution date.
Hope it helps
Zied
In most instances, emails are not sent immediately. Instead, Odoo uses a scheduled action to send email.
There are a number of places you can check for your email:
1. Settings -> Technical -> Email -> Emails
Here you will find all emails scheduled to be sent on the next execution of the Email Queue Manager. If your emails are there in "outgoing" state, you can click the "play" icon to send it immediately. Or go to the scheduled action mentioned by #ZKH.
If it's not there, and hasn't been sent...
2. Check your log file
When Odoo sends an email, an info level output is recorded to the screen and looks like:
2016-04-07 00:44:28,788 24385 INFO [database name] openerp.addons.mail.mail_mail: Mail with ID 23 and Message-Id u'<1459989867.832495927810669.702880028926187-openerp-86-res.users#Name>' successfully sent
If this can't be found, you might find an error message instead.
The problem seems to be with the domain alias.
Use your tld and not the default localhost
I am trying to configure Jira from email section of email notification. I need to add assignee fullname and status of the issue in the from section.
If anyone knows how to accomplish this task please let me know.
JIRA deliberately sends email from one address so that replies can have their text added as comments. If you sent email as the actual assignee then email would go only to that person, making JIRA less useful as a shared tool.
~Matt