mailer syntax error fixed