Module esmtp_sup

Mail client supervisor.

Copyright © Geoff Cant

Version: 0.3, Apr 17 2026 10:55:27

Behaviours: supervisor.

Authors: Geoff Cant (nem@erlang.geek.nz).

Description

Mail client supervisor

Function Index

init/1Whenever a supervisor is started using supervisor:start_link/[2,3], this function is called by the new process to find out about restart strategy, maximum restart frequency and child specifications.
start_link/0 Starts the supervisor.

Function Details

init/1

init(X1::Args) -> {ok, {SupFlags, [ChildSpec]}} | ignore | {error, Reason}

Whenever a supervisor is started using supervisor:start_link/[2,3], this function is called by the new process to find out about restart strategy, maximum restart frequency and child specifications.

start_link/0

start_link() -> {ok, Pid} | ignore | {error, Error}

Starts the supervisor


Generated by EDoc