Search documentation of phoenix_kit

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

View Source

LiveView for managing email blocklist and blocked addresses.

Provides comprehensive management of blocked email addresses, including:

- Blocklist Viewing: List all blocked email addresses with filtering
- Block Management: Add/remove email addresses from blocklist
- Bulk Operations: Import/export blocklists, bulk add/remove
- Temporary Blocks: Set expiration dates for temporary blocks
- Block Reasons: Categorize blocks by reason (spam, bounce, manual, etc.)
- Search & Filter: Find blocked addresses by email, reason, or date

## Features

- Real-time Updates: Live updates when blocks are added/removed
- CSV Import/Export: Bulk management through CSV files
- Automatic Blocking: Integration with rate limiter for auto-blocks
- Audit Trail: Track who blocked addresses and when
- Expiration Management: Automatic cleanup of expired blocks
- Statistics: Analytics on blocked addresses and reasons

## Route

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

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

## Usage

    # In your Phoenix router
    live "/email-blocklist", PhoenixKitWeb.Live.Modules.Emails.EmailBlocklistLive, :index

## Permissions

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

# Summary

## Functions

render(assigns)

Callback implementation for `Phoenix.LiveView.render/1`.

# Functions

# render(assigns)

Callback implementation for `Phoenix.LiveView.render/1`.