Search documentation of phoenix_kit

# PhoenixKitWeb.Live.Modules.Emails.Settings (phoenix_kit v1.6.19)

View Source

LiveView for email system configuration and settings management.

This module provides a comprehensive interface for managing all aspects of the PhoenixKit email system, including:

- System Control: Enable/disable the entire email system
- Storage Settings: Configure email body and header storage
- AWS SES Integration: Manage SES event tracking and configuration
- Data Management: Set retention periods and sampling rates
- Advanced Features: Configure compression and S3 archival
- SQS Configuration: Control SQS polling and message processing

## Route

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

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

## Features

- Real-time settings updates with immediate effect
- AWS infrastructure configuration (SES, SNS, SQS)
- Data lifecycle management (retention, compression, archival)
- Performance tuning (sampling rate, polling intervals)
- Validation with user-friendly error messages

## Permissions

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

# Summary

## Functions

handle_event(binary, params, 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`.

# Functions

# handle_event(binary, params, 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`.