Send HTML report and Cucumber reports through Jenkins to email - html

I m looking for sending HTML reports through jenkins to Outlook. I tried all the possible ways like installing Editable email notification and Cucumber reports but could not succeed. Could you please let me know what are the config changes which i need to make in jenkins to get HTML reports to my mail

I tried below steps and i was able to send the report as an attachment
you will have to find the smtp server of the domain for that
run this command dig +short mx xyz.com
Examine the first response, and ignore the port
Now in Editable email notification fill in the details and path of your html report e.g. target/html/index.html
In the advanced setting check "trigger always"
Now check if the mail is sent after the build
I hope this works for you.

Related

How can we send Jenkins generated Performance Report in email body (post build action)

There is a Performance Report generated at the end of Load Test on Jenkins and I want to send it in email body.
I tried to use img alt="" src="https://abcabc.com/abc/abcd"/> in the Jenkins Pipeline, but the image is broken in email. Here I cannot change Jenkins configurations.
Please let me know if there is alternate solution
after your test executed please copy paste the report in userContent folder explicitly in Jenkins.
then attach the file from userContent location in your email body .
This should resolve your problems.
Note : grant overall read access to anonymous user if you want to access the image from current location.
basically the report is stored in job workspace folder, which can only be accessed by using your Jenkins credentials

SMTP server to send text messages through SSIS

I wanted to add a feature in my SSIS project, to send out a text message when ever there is any failure. Now I thought that since they have a component for email, it should be fairly
simple to add my number#tmomail.net as par below link. The method in link works fine when we use outlook and send a message in number#tmomail.net it reach my phone in form of text rather
email.
But the problem is that, only when I try sending text using this technique using ssis, my company's SMTP server refuses to send out message because of the reciepient being untrusted.
So I wanted to seek some opinion if there are any open source SMTP server available out there which I can use for my POC to send out text message on SSIS package failure.
I tried doing with gmail, but it didn't worked
http://www.wikihow.com/Send-a-Text-from-Email
I ended up using the gmail smtp server (gmail.smtp.com). You can add your credential, and can start sending out email/texts.

Openshift nodejs app doesn't work for sending contact form to email

This works locally for me but each time I push to openshift and test, I get the same error message in the form:
"Message could not be delivered, please check your Internet connection!"
Which of course I added in Express when the mail server fails to send the content of the html form.
Is this a setting that I need to do in openshift in order for my nodejs app to have a working contact me page?
my website is:
http://nodejs-damasco.rhcloud.com/feedback
After some feedback from Redhat, I decided to give SendGrid a try and experiment. It was super easy to set up and emails arrive quick, plus they offer a free service.
Check it out here:
https://github.com/sendgrid/sendgrid-nodejs
I will pack the website once am done and share it as open source project in Github.

Creating Outlook mail with multiple recipients and attachment

I have a web application, written in PHP, where we have a couple of files that regularly needs to be sent to multiple recipients. The client wishes to have the mail conversation in their mailbox, so the web app should not send the e-mails itself. Is it possible, and if so how, to do the following:
Create an e-mail with multiple recipients
Add text to the subject and body of the e-mail
Download and attach a zip file which is available on the server
The mail client in question is Outlook - I'm unsure of the exact version.
I'm open to suggestions on which technology to use for this - the client mentioned Visual Basic but I'm unsure of how I could use that on the client side of the web app - or if it's even appropriate.
Assuming that the client want's to send that by hand, you can do all that by using the mailto: in an tag and "&attachment=". The only problem is that attached files need to be localy accessable. If they are not, they are not attached. Exact syntax specifications can be found here: mailto: Syntax
If you have imap access to the customers mail server you could use php imap mail and php imap mail compose to create a email which will just show up in your customers sent email folder.
Also I there is a MIME Message class, where the author claims that it can create and save an email as an .eml file. MIME Class
This is theoretically possible, but only with IE on the client side, and with other limitations and tribulations.
How about a different approach: Have the web server send out the E-Mail, and send a copy into the client's mailbox. Mark the copy with a special header or something, and add a rule in the client's Outlook to sort mails with that header into a specific folder.

I am searching extensible mail plugin for Hudson

I want to send reports about every Hudson job build ito mail. Mail address must be get by certain rule, for example: committer - vpupkin, his mail - vasya.pupkin#co.com. I have script which makes this transformation. Is there way to do this?
If you are using an LDAP directory. You should be able to resolve the email address for a user through an email property of the user in the LDAP. Don't know if that also works with Active Directory (but you should be able to access your AD with the LDAP protocol).
The Email-Ext Plugin is the most feature-rich facility for sending out email from Hudson.
For example, it can be configured to email the committer(s) who made changes since the last successful build.
Yes, Email-Ext Plugin, as mentioned is the most feature-rich email pluggin for Hudson.
You can enable an option to mail every commiter for success, failure and other...
I don't do any transformations on the e-mails though... I am configuring the profile of every user, where I update their e-mail address using their actual one.
http://wiki.hudson-ci.org/display/HUDSON/RegEx+Email+Plugin
made for this plugin shell script, which generates its config