I usually use Postmark for outgoing transactional email, I find this to be better than expecting the underlying system to have a correctly configured sendmail and it helps with deliverability. Sinatra, though, doesn’t have a convention for handling email. The Sinatra FAQ lists an example using Pony, so going from there, here’s an example of using the Postmark Gem with Sinatra: require'sinatra'require'postmark'configuredoset:mailer,Postmark::ApiClient.new('')endget'/send_mail'dosettings.ma...