Is there anyway to set-up an automatic email test to ensure that emails are working? Let's say we do it on a daily basis and then if I don't receive my daily email I will know there could be an issue?
A cron job maybe?
Is there anyway to set-up an automatic email test to ensure that emails are working? Let's say we do it on a daily basis and then if I don't receive my daily email I will know there could be an issue?
A cron job maybe?
Yes, you can setup a cron job to email you. But I am not sure it's really worth it. What is the problem you are trying to solve? Does something break from time to time or is this just for self-assurance?
Send your friends and site visitors to GlowHost and get $125 plus bonus!
GlowHost Affiliate Program | Read our Blog | Follow us on X |
Self assurance. What script would I use for this?
Hmm, here is a simple cron you could use:
This will email you@yourdomain.com a blank email every 10 minute with the subject line "Email Is Working"Code:*/10 * * * * mail -s "Email Is Working" you@yourdomain.com
If you want to do it every day at 1 AM then you could use:
Code:0 1 * * * mail -s "Email Is Working" you@yourdomain.com
Send your friends and site visitors to GlowHost and get $125 plus bonus!
GlowHost Affiliate Program | Read our Blog | Follow us on X |