sending emails with erlang (for use with YXA/CPL)

Peter L erlang@REDACTED
Tue Dec 7 11:04:52 CET 2004

There is an all erlang implementation of an SMTP client provided
by Michael Bradford in the user contrib section that I am using
myself. It works well and supports most of the things you need.

> Is there some easy way to get erlang to send emails or should I simply
> use os:cmd/1 and call some appropriate unix command ?
> The only thing I found that might do the job (I haven't looked at it in
> depth) is email-1.0 by Joe Armstrong, in the "User
> Contributions" section.
> I would like to send emails based on mail urls e.g. :
>        mailto:jones@REDACTED?subject=Lookup%20failed
> i.e. urls that contain a mail address and possibly additional
> arguments, it should also be possible to attach additional data to the
> mail in some easy manner.
> I'm interested in this as I'm currently implementing CPL (Call
> Processing Language - RFC 3880), for use with YXA (see
> and it would be nice if I could
> support the CPL mail tag, if it isn't to much work - it's currently a
> non-essential feature.

Peter Lund
Tel: +46 70 543 9416

More information about the erlang-questions mailing list