How To Send Emails From An Erlang Web Application

Do you want to quickly be able to send an email from your Erlang web application to one or more email addresses?

In this post I will show you an easy two steps method to achieve that goal:

  1. We are going to make our Ubuntu box (See how to install Erlang on Ubutntu) capable of sending emails to the outside world … and only that, nothing more (no mailbox configuration, spam assassin, etc …).
  2. Write an Erlang function responsible for building the message and sending it.

Continue reading