PhoenixKitWeb.Live.Modules.Emails.EmailTracking (phoenix_kit v1.5.1)

View Source

LiveView for email tracking system settings and configuration.

This module provides a simplified interface for managing core email tracking settings, offering quick toggles for essential email system features.

Features

  • System Toggle: Enable/disable email tracking system
  • Body Storage: Control whether full email bodies are saved
  • SES Events: Toggle AWS SES event processing
  • Retention Settings: Configure data retention periods

Route

This LiveView is mounted at {prefix}/admin/settings/email-tracking and requires appropriate admin permissions.

Note: {prefix} is your configured PhoenixKit URL prefix (default: /phoenix_kit).

Usage

This is a focused settings page for common email tracking configurations. For advanced settings (AWS infrastructure, compression, archival, etc.), see the main Emails settings page.

Permissions

Access is restricted to users with admin or owner roles in PhoenixKit.

Summary

Functions

handle_event(binary, arg2, socket)

Callback implementation for Phoenix.LiveView.handle_event/3.

mount(params, session, socket)

Callback implementation for Phoenix.LiveView.mount/3.

render(assigns)

Callback implementation for Phoenix.LiveView.render/1.