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

View Source

LiveView for displaying and managing emails in PhoenixKit admin panel.

Provides comprehensive email interface with filtering, searching, and detailed analytics for sent emails.

Features

  • Real-time Log List: Live updates of emails
  • Advanced Filtering: By status, date range, recipient, campaign, template
  • Search Functionality: Search across recipients, subjects, campaigns
  • Pagination: Handle large volumes of emails
  • Export: CSV export functionality
  • Quick Actions: Resend, view details, mark as reviewed
  • Statistics Summary: Key metrics at the top of the page

Route

This LiveView is mounted at {prefix}/admin/emails and requires appropriate admin permissions.

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

Usage

# In your Phoenix router
live "/admin/emails", PhoenixKitWeb.Live.Modules.Emails.Emails, :index

Permissions

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

Summary

Functions

Callback implementation for Phoenix.LiveView.render/1.

Functions

render(assigns)

Callback implementation for Phoenix.LiveView.render/1.