PLEASE HELP! SendMail() not working for me

 

On one of my indicators, when the alert pops up, I also want an email send. I added the SendMail function and the program compiles fine. I have the email preferences setup and the test email goes through. When I run the indicator and the alert goes off, no email is sent. Any thoughts?

Thanks in advanced.