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 (
commit 58adc6fd27e844ab2bd658648b1d90cbc93e4fe6
tree 2d4f12254657b3d761df0b518a61c991c11c8ce6
parent 45d45a1fa20f223b27a5d2724066a6de9ce2a2a7 parent be25fae4e6cd3d2409efbe60d789d534df8fb54e
tree 2d4f12254657b3d761df0b518a61c991c11c8ce6
parent 45d45a1fa20f223b27a5d2724066a6de9ce2a2a7 parent be25fae4e6cd3d2409efbe60d789d534df8fb54e
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/ | Thu Aug 13 20:24:07 -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>"}]}].







