If you want to send email from your [Lift][] app using [SendGrid][] you need to do two things: set an authenticator and enable the javax.mail authentication flag. That second part isn’t obvious.

Step by step…

Assuming your Lift props file contains the following:

In Boot you need to set the authenticator:

  And you’re done. The regular Mailer class will now use SendGrid. [Lift]: http://liftweb.net/ [SendGrid]: http://sendgrid.tellapal.com/a/clk/7yTzZ