Module openflax.handler.email

Openflax handler to allow sending e-mail.

Behaviour: openflax.handler.

Description

Openflax handler to allow sending e-mail.

No external mail program is required - this handler implements its own simple SMTP client.

openflax.handler.template is required to show the email form.

Function Index

serve/1Serves an email form, or sends email, as appropriate.
split/1
start/1Initializes the email subsystem.
stop/1Shuts down the email subsystem.

Function Details

serve/1

serve(Conf::conf()) -> {response(), conf()}

Serves an email form, or sends email, as appropriate.

split/1

split(String) -> term()

start/1

start(Conf::conf()) -> conf()

Initializes the email subsystem.

stop/1

stop(Conf::conf()) -> conf()

Shuts down the email subsystem.