Corrected wrong call to Mailer sendmessage