Sendmail() $10 PAYPAL for help

 
I have added the send mail function to send an email when an alert is triggered. the alert goes off by no email is sent. the test emails send fine. any thoughts? if you are able to get this successfully working for me I will donate you $10 paypal.
 

It is probably becuase the second parameter is not a string.

Try:

SendMail("Hey", "" + Period());

Also try checking the journal if you have any errors. In this case the message was "second parameter for SendMail function must be a string"

If it is the solution there is no need for payment we are all here for each other.

Reason: