View Source Papelillo.MailerList (Papelillo v0.2.2)
Maillist wrapper
Link to this section Summary
Functions
Create a mailing list with the parameters.
Delete a mailing list with the parameters.
Interpolate system environment variables in the configuration.
Parse configs in the following order, later ones taking priority
Subscribe a email account to mailing list with the parameters.
Unsubscribe a email account to mailing list with the parameters.
Update a mailing list with the parameters.
Link to this section Functions
Create a mailing list with the parameters.
Address must be a string without blank spaces and special characters, the domain of the email address is taken from the config.exs definition.
Delete a mailing list with the parameters.
Address must be a string without blank spaces and special characters, the domain of the email address is taken from the config.exs definition.
Interpolate system environment variables in the configuration.
This function will transform all the {:system, "ENV_VAR"} tuples into their respective values grabbed from the process environment.
parse_config(otp_app, mailerlist, mailerlist_config, dynamic_config)
View SourceParse configs in the following order, later ones taking priority:
- mix configs
- compiled configs in MailerList module
- dynamic configs passed into the function
- system envs
Subscribe a email account to mailing list with the parameters.
List_name must be a string without blank spaces and special characters, the domain of the email address is taken from the config.exs definition.
Member must have complete email format
Unsubscribe a email account to mailing list with the parameters.
List_name must be a string without blank spaces and special characters, the domain of the email address is taken from the config.exs definition.
Member must have complete email format
Update a mailing list with the parameters.
Address must be a string without blank spaces and special characters, the domain of the email address is taken from the config.exs definition.