View Source PlausibleWeb.Email (Plausible v0.0.1)

Summary

Functions

Unlike the default 'base' emails, priority emails cannot be unsubscribed from. This is achieved by sending them through a dedicated 'priority' message stream in Postmark.

Render an Phoenix template and set the body on the email.

Functions

Link to this function

activation_email(user, code)

View Source
Link to this function

cancellation_email(user)

View Source
Link to this function

dashboard_locked(user, usage, last_cycle, suggested_plan)

View Source
Link to this function

enterprise_over_limit_internal_email(user, usage, last_cycle, site_usage, site_allowance)

View Source
Link to this function

error_report(reported_by, trace_id, feedback)

View Source
Link to this function

existing_user_invitation(invitation)

View Source
Link to this function

import_failure(user, site)

View Source
Link to this function

import_success(user, site)

View Source
Link to this function

invitation_accepted(invitation)

View Source
Link to this function

invitation_rejected(invitation)

View Source
Link to this function

new_user_invitation(invitation)

View Source
Link to this function

over_limit_email(user, usage, last_cycle, suggested_plan)

View Source
Link to this function

ownership_transfer_accepted(invitation)

View Source
Link to this function

ownership_transfer_rejected(invitation)

View Source
Link to this function

ownership_transfer_request(invitation, new_owner_account)

View Source
Link to this function

password_reset_email(email, reset_link)

View Source

Unlike the default 'base' emails, priority emails cannot be unsubscribed from. This is achieved by sending them through a dedicated 'priority' message stream in Postmark.

Link to this function

render(email, template, assigns \\ [])

View Source

Render an Phoenix template and set the body on the email.

Pass an atom as the template name (:welcome_email) to render HTML and plain text emails. Use a string if you only want to render one type, e.g. "welcome_email.text" or "welcome_email.html". Scroll to the top for more examples.

Link to this function

site_member_removed(membership)

View Source
Link to this function

site_setup_help(user, site)

View Source
Link to this function

site_setup_success(user, site)

View Source
Link to this function

spike_notification(email, site, current_visitors, sources, dashboard_link)

View Source
Link to this function

trial_one_week_reminder(user)

View Source
Link to this function

trial_upgrade_email(user, day, usage)

View Source
Link to this function

two_factor_disabled_email(user)

View Source
Link to this function

two_factor_enabled_email(user)

View Source
Link to this function

weekly_report(email, site, assigns)

View Source
Link to this function

yearly_expiration_notification(user)

View Source
Link to this function

yearly_renewal_notification(user)

View Source