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:
- 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 …).
- Write an Erlang function responsible for building the message and sending it.