[erlang-questions] Fixed SMTP client using gen_fsm behaviour

Attila Babo babo.online@REDACTED
Thu Sep 25 19:16:24 CEST 2008


I've just posted on trapexit my changes for the simple SMTP client:
http://www.trapexit.org/forum/viewtopic.php?p=44154
That's based on Michael Bradford code from the user contribution area
of erlang.org, contains all the changes of Dmitriy plus fixes to
gen_fsm state handling to shut off error reporting at normal stop
state. Example at the comment section also corrected as well as the
unused variables.

Download the original code and replace smtp_fsm.erl or just use it as
is, this single file contains all you need to have a simple SMTP
client. Enjoy!



More information about the erlang-questions mailing list