View Source Mobilizon.Web.Email.Notification (Mobilizon v4.1.0-alpha.1)

Handles emails sent about event notifications.

Summary

Functions

Link to this function

before_event_notification(email, participant, locale \\ "en")

View Source
@spec before_event_notification(
  String.t(),
  Mobilizon.Events.Participant.t(),
  String.t()
) ::
  Swoosh.Email.t()
Link to this function

on_day_notification(user, participations, total, locale \\ "en")

View Source
Link to this function

pending_participation_notification(user, event, total)

View Source
@spec pending_participation_notification(
  Mobilizon.Users.User.t(),
  Mobilizon.Events.Event.t(),
  pos_integer()
) :: Swoosh.Email.t()
Link to this function

render_body(email, template, assigns \\ %{})

View Source
Link to this function

weekly_notification(user, participations, total, locale \\ "en")

View Source