Forms created using workflow 'Email notification' - formsflow.ai

I just tried to create a form and associate workflow 'Email notification'.Do i need to specify email address for this workflow?

You need to enable the mail configuration in the forms-flow-bpm (Camunda) and add appropriate mail server and email settings. And deploy it again to get the email sending part working. Please check the readme link here to know more details.
https://github.com/AOT-Technologies/forms-flow-ai/tree/master/forms-flow-bpm#mail-configuration

Related

How we can attach a file in Azure DevOps email job status noifications

I have few pipelines in Azure DevOps and some jobs are generating few files during build process. I want to send a mail to all team members with the same file as an attachment.
I'm using Azure Email report extension to send mails.
Can someone please help me how can I attach the file to mail notification to all team members.
We cannot attach a file in the email notification, as a workaround, we could install the extension Send Email to send email and add the attachment.
In the end of your pipeline definition -> Add a task Send email-> configure required options.
To delivery the artifact files by the Send Email task, you can select the Add Attachment option and specify absolute path for the attachment:
Update1
We could also refer to this doc to use email task to send email with the attachment.
Note: We could not send email for a azure DevOps team group via these task, you could also submit your user voice on this website

How do I automatically trigger email notification with custom message after deployment (in CD pipeline) in VSTS

I have a CD pipeline with Azure Deploy task and I want to trigger a email notification to developers after successful deployment but with custom message. I researched on 'Send Email' task but it requires an SMTP server (say google SMTP). is there a feature within VSTS to trigger a mail?
You could use the SendGrid Email extension. You would need a SendGrip API key (hence a SendGrid account) but you can create one for free on Azure.
It would be limited to 25000 emails per month, but it should be enough. And if it isn't, you can upgrade your plan in no time
I Hope I helped you :)
It seems you are using the Send Email task developed by DutchWorkz B.V..
You can use the Send Email task developed by Rene van Osnabrugge (Xpirit) which just need to specify the email addressed, subject and email body.

How do I send a email on jekins for any build failure on the server

Our jenkins server has a lot of jobs, is there anyway to configure so that an email is sent when any build breaks? I know how to do it for each job individually, but I'd like to set up a global configuration.
We use the Email Extension Plugin.
and then configure our SMTP Server in the General Configuration.
Once this is all setup, then add a Post Build event in your Jenkins job to send an email on failure.
We ended up using this https://wiki.jenkins-ci.org/display/JENKINS/Configuration+Slicing+Plugin
There is a way to configure emails for all jobs at once

How to disable email confirmation in gitlab

I set up a gitlab server in ubantu14.4.3SLT
in my case, I want to set up a git server for local users so I do not need user to sign in with any email confirmation.
How can I disable email confirmation in gitlab? are there any api or something simple to disable it?
This isn't a good answer. But ran across this and wanted to skip for a test instance I have. This is what I did(gitlab 10.1.0):
From the rails console:
User.all.each {|u| u.confirmed_at = Time.now; u.save}

How can I set the Sender's address in Jenkins?

I'm sending mail from Jenkins to an anonymous SMTP relay internally. That relay then securely sends mail to exchange online via TLS on port 587. The transport works perfectly, the issue is that Microsoft requires the Sender address match the authentication credentials login name which is the same as the account email address. For example sake, say this is foo#mycompany.com. How can I make jenkins always send mail from foo#mycompany.com?
BTW when I say the transport works perfectly what I mean specifically is that I can drop a formatted e-mail file into the "Pickup" directory on the SMTP relay server and it is properly sent to any recipient provided the From address is foo#mycompany.com.
Jenkins uses the System Admin e-mail address as the sender address for e-mail notification. You can configure this under Manage Jenkins -> Configure System. This is under the Jenkins Location header on that page! It is not immediately obvious that this setting is tied to the e-mail notification settings, since it is not under the E-mail notification header on the configuration page.
Manage Jenkins -> Configure System -> Jenkins Location -> System Admin e-mail address
You can search the page for "Jenkins Location" to change the default value of address not configured yet to whatever you want.
There are two places to add the "E-Mail Notificaitons"
Global level
Local level (Jenkins job level)
To set the E-Mail Notification at Global Level, follow below steps -
1) Go to Manage Jenkins
2) Configure System
3) Jenkins Location
4) System Admin e-mail address
To set the E-Mail Notification at local level (per Jenkins job level), follow below steps -
1) Click on the Job name (if existing one)
2) click on the "Configure"
3) Then look for the "Post-build Action"
4) Specify the email address under "E-mail Notification".
5) Save the changes.
I'm not sure if it is what you meant, but Jenkins enables you to provide a full Sender E-mail Address for notifications. Go to Manage jenkins, then System configuration and find section called E-mail Notification.
You can provide you email address in a form of Jenkins <foo#mycompany.com>.
If you need to do this without using the jenkins UI (for instance in automating a jenkins setup) - you can do so with a groovy script.
import jenkins.model.*
def jenkinsLocationConfiguration = JenkinsLocationConfiguration.get()
jenkinsLocationConfiguration.setAdminAddress("[your admin name] <[your admin email address]>")
// example format -> .setAdminAddress("Jane Doe <foo#company_email.com>")
jenkinsLocationConfiguration.save()
Do note: I did not write this script (although I have tested it and it works), all credit to Peter Halliday and his website with other helpful groovy scripts here.
import javax.mail.Message.RecipientType
import javax.mail.Address
import javax.mail.internet.InternetAddress
import javax.mail.internet.MimeMessage
msg.setFrom(new InternetAddress("john...#server.com"))