Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
How to send email via Gmail using Erlang (21ccw.blogspot.com)
10 points by coglethorpe on May 20, 2009 | hide | past | favorite | 1 comment


Better not hand-deliver your own mail, folks. Just use your system's MTA to take care of the mail delivery and call out to something like send_email ($to, $subject, $body) that sends mail as the Erlang process' user. Postfix will let you use gmail as a relay host with: relayhost = [smtp.gmail.com]:587




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: