This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
esmtp /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Mon Oct 20 16:01:04 -0700 2008 | |
| |
Emakefile | Mon Oct 20 15:36:18 -0700 2008 | |
| |
Makefile | Wed Apr 01 19:17:58 -0700 2009 | |
| |
README.rst | Tue Apr 28 17:40:57 -0700 2009 | |
| |
include/ | Mon Oct 20 15:37:56 -0700 2008 | |
| |
priv/ | Mon Oct 20 15:46:36 -0700 2008 | |
| |
src/ | Wed Aug 12 08:44:16 -0700 2009 |
README.rst
smarthost
This is a tuple giving the hostname and port of the smtp server to
send mail via. This will usually be a local smtp server on port 25.
default_from
This is the default From address to use on outgoing mail if a From
address is not supplied.
login
The SMTP AUTH credentials to use. Either 'no_login' when not using
SMTP AUTH (default) or {Username::string(),Password::string()}.
esmtp - A simple SMTP client for Erlang
esmtp is a simple OTP application providing a way to send emails (and attachments) from erlang systems.
Configuration
The esmtp application is configured with OTP application configuration env variables.
Example
system.config:
[{esmtp, [{smarthost, {"localhost", 25}}
,{default_from, "Erlang/OTP <erlang@localhost>"}]}].
gmail.config:
[{esmtp, [{smarthost, {"smtp.gmail.com", 465}}
,{login, {"youraddress@gmail.com","yourpassword"}}
,{default_from, "Erlang pretending to be <youraddress@gmail.com>"}]}].







