This Shell script will search the server logs on daily basis and will email you the successful Ftp Logins of the day. The ftp logs are saved in the /var/log/messages file as by default there is no separate log file for Ftp in Linux.
Create a file /home/script/ftplogins.sh and paste [...]
I created a bash script that gets a file formats it, sends an email to the user(s), however, for whatever reason, it will send an email per line with all of the lines in it, so essentially the user will get 10 duplicate emails with the same 10 results.
I have a powershell script that check the certificate store for expiring certificates. It will display these results within the CLI. I want to modify this script to email the results of the output in the body of the email.
I am using Sendmail to send emails. I am using SMTP via a PHP script (contact us page) on my server to send email. I configured the script to send the email to two different addresses: [email protected] and [email protected]
website.com is the website where the contact us form is located.
I fight with a task, I need to send email via my postfix server and do some extra thing with information about recipient and sender. I tried do this by sending email to php script (http://blog.thecodingmachine.com/content/triggering-php-script-when-your...) but then email isn't
delivered to the recipient.