You need to set system properties:
System.setProperty(mail.smtp.starttls.enable,true);
System.setProperty(mail.smtp.host, host)
System.setProperty(mail.smtp.port, 587)
System.setProperty(mail.smtp.auth, true)
Mailer.authenticator = Full(new Authenticator {
Note that if you're on 1.1-SNAPSHOT you can set customProperties on
the Mailer which would allow to use some other configuration mechanism
than system property (like Props or Configgy).
val props = Map[String,String](mail.smtp.host - ...)
Mailer.customProperties = props