Raid Mdadm, send automatic email when raid fails

Package names:
[crayon-662ec347e805e411646311/]
Controlling,,  installed well
[crayon-662ec347e8066998647558/]
Set the email configuration
[crayon-662ec347e8069606214160/]
[crayon-662ec347e806b669232032/]
Apply settings for current user
[crayon-662ec347e806e501192654/]
Testing the mail :
[crayon-662ec347e8070332645270/]
[crayon-662ec347e8072355364349/]
Change mail configuration,
[crayon-662ec347e8074346213112/]
[crayon-662ec347e8076082992852/]
Monitoring
[crayon-662ec347e8079124810021/]
Example Crontab,
[crayon-662ec347e807b486393763/]
[crayon-662ec347e807d573019867/]
Autostart with mdadm
[crayon-662ec347e807f173059727/]
[crayon-662ec347e8082009433378/]