setMailer is not defined (using global Mailer)

See: