Erlang SMTP code updated

This page is a mirrored copy of an article originally posted on the LShift blog; see the archive index here.

A couple of months ago, I improved our erlang SMTP server code.

  • Mon Oct 15: Support callbacks and more of the spec.

    Support multiple forward paths. Support callbacks for verification and delivery. Pass domain as well as mailbox for reverse and forward paths. Cope with improper line termination. Log failures in delivery/verification callbacks.

  • Wed Oct 17: Split out smtp_util:strip_crlf; be RFC2821-strict about CRLF

The code is available by browsing or through git:

git clone git://github.com/tonyg/erlang-smtp


On 1 February, 2008 at 12:36 pm, Raghavendra wrote:

I have created a website in which i would like to get feedbacks from the visitors.
After entering their name , E-Mail address & the comment, when they click the submit button, their comments should be sent to my E-Mail address.
Please guide in this regard? i have created the page using HTML. i would like to know the SMTP code for completing the task of mail transfer.