Checking E-Mail health
Posted: 14 Nov 2011, 09:25
I have configured async e-Mail notification running every 5 minutes.We recently had some issues where Mantis E-Mail notification would not work. The reasons were beyond Mantis (e.g. someone changed a password and didn't think of the consequences). Took 5 days to realize why bugtracking was so silent.
To avoid this, I would like to implement a daily Keepalive E-Mail. Now, to write a PowerShell script that sends an E-Mail from the server Mantis is running on takes me 5 mins, but leaves me unsatisfied
as this is only checking basic E-Mail function while Mantis is bypassed.
What I would like to do is - from a scheduled task - (without violating the integrity of the Mantis database) insert a corresponding record into the 'mantis_email_table' and off you go.
My question(s):
1. Is there a php module in Mantis that allows me to create an arbitrary mail? I'd prefer standard interfaces like this one.
2. If not, is there any conceivable problem in inserting such a record 'by hand' and have 'send_emails.php' do its work?
Thanks for the effort,
/Gerold
To avoid this, I would like to implement a daily Keepalive E-Mail. Now, to write a PowerShell script that sends an E-Mail from the server Mantis is running on takes me 5 mins, but leaves me unsatisfied
as this is only checking basic E-Mail function while Mantis is bypassed.
What I would like to do is - from a scheduled task - (without violating the integrity of the Mantis database) insert a corresponding record into the 'mantis_email_table' and off you go.
My question(s):
1. Is there a php module in Mantis that allows me to create an arbitrary mail? I'd prefer standard interfaces like this one.
2. If not, is there any conceivable problem in inserting such a record 'by hand' and have 'send_emails.php' do its work?
Thanks for the effort,
/Gerold