Matty9191/ssl-cert-check

Send single email

Opened this issue · 7 comments

Is it possible for this script to send a single email as opposed to an individual email per warning?

Duplicates of #35

Can this be added as a feature request? We're trying to reduce alert emails in our organization and would like to use your tool as it functions excellently, but really only need a single email per day that summarizes all the warnings and expiries.

+1 please

Emails are not getting trigerred for me. Using below command.
./ssl-cert-check -a -f ssldomains -x 70 -E dileepbg7@gmail.com -e dileepbg7@gmail.com

Can anyone help me if I have to make any other changes to receive email.

@dileepbg Before you go any further you should verify that you are able to send email from your host.

mailx -s "Test mail" your@email.net < ssldomains

Where your@email.net is your email, and ssldomains is the ssldomains file. or any file you are safe sending.

The mailx program will not be enough to send email you will need to have configured your email services (postifx, exim4, etc) to send email. (probably easiest to send it to a smarthost and authenticate) A google search for smarthost and your installed MTA will turn up several pages of howto's.

Another option would be to use a mailer service such as mailgun.

Hope that helps

Emails are not getting trigerred for me. Using below command.
./ssl-cert-check -a -f ssldomains -x 70 -E dileepbg7@gmail.com -e dileepbg7@gmail.com

Can anyone help me if I have to make any other changes to receive email.

Off topic.

@dileepbg Before you go any further you should verify that you are able to send email from your host.

mailx -s "Test mail" your@email.net < ssldomains

Where your@email.net is your email, and ssldomains is the ssldomains file. or any file you are safe sending.

The mailx program will not be enough to send email you will need to have configured your email services (postifx, exim4, etc) to send email. (probably easiest to send it to a smarthost and authenticate) A google search for smarthost and your installed MTA will turn up several pages of howto's.

Another option would be to use a mailer service such as mailgun.

Hope that helps

Off topic.