TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

How to send email via Gmail using Erlang

10 pointsby coglethorpealmost 16 years ago

1 comment

mahmudalmost 16 years ago
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