[erlang-questions] sendmail library

Richard Carlsson carlsson.richard@REDACTED
Thu Sep 22 21:03:56 CEST 2011

The following is a library we've been using at Klarna for sending mail 
via sendmail:


It's mainly a synthesis of two older libraries (by Klacke and Johan 
Bevemyr, respectively). It supports choosing content type (option 
{content_type, String}, or shorthand options 'text' and 'html'), and 
including a attachment (option {attached, Files}, where Files is a list 
of Filename or {Filename, ContentType, Data}). Attachments are sent as 
base64. Documentation is nonexistent, but it's pretty simple and works 
well enough. Feel free to use it and/or contribute.


More information about the erlang-questions mailing list