Module z_email_dkim

Support functions for signing e-mail messages using DKIM.

Copyright © 2016-2020 Arjan Scherpenisse

Authors: Arjan Scherpenisse (arjan@miraclethings.nl).

Description

Support functions for signing e-mail messages using DKIM

Function Index

cert_files/1Return a {Priv, Pub} tuple listing the paths to the private and public key files.
dns_entry/1Generate the DNS entry to be put in the TXT record; this info is shown in the admin to aid configuration.
dns_entry_domain/1Return the DNS domain that is used to place the TXT record in.
ensure_configured/1Called by mod_email_dkim:init/1 to generate the DKIM key files on first install.
mimemail_options/1Create the options list which are passed to gen_smtp's mimemail:encode/2 function.

Function Details

cert_files/1

cert_files(Context) -> any()

Return a {Priv, Pub} tuple listing the paths to the private and public key files

dns_entry/1

dns_entry(Context) -> any()

Generate the DNS entry to be put in the TXT record; this info is shown in the admin to aid configuration.

dns_entry_domain/1

dns_entry_domain(Context) -> any()

Return the DNS domain that is used to place the TXT record in

ensure_configured/1

ensure_configured(Context) -> any()

Called by mod_email_dkim:init/1 to generate the DKIM key files on first install.

mimemail_options/1

mimemail_options(Context) -> any()

Create the options list which are passed to gen_smtp's mimemail:encode/2 function.


Generated by EDoc