mix phoenix_kit.email.verify_config (phoenix_kit v1.5.2)
View SourceMix task to verify email tracking system configuration.
Usage
# Verify basic configuration
mix phoenix_kit.email.verify_config
# Verify AWS SES setup
mix phoenix_kit.email.verify_aws_ses
# Detailed verification with connectivity tests
mix phoenix_kit.email.verify_config --detailed
# Check specific configuration aspect
mix phoenix_kit.email.verify_config --check database
mix phoenix_kit.email.verify_config --check mailer
mix phoenix_kit.email.verify_config --check settingsOptions
--detailed Run detailed checks including connectivity
--check ASPECT Check specific aspect: database, mailer, settings, aws
--fix-issues Attempt to fix common configuration issues
--quiet Only show errors and warningsChecks Performed
Basic Checks
- Email tracking system enabled/disabled status
- Database tables and schemas exist
- Required settings are configured
- Mailer configuration is valid
AWS SES Checks (with --detailed)
- AWS credentials are configured
- SES configuration set exists
- SNS topic and subscriptions are set up
- Webhook endpoint is accessible
Database Checks
- Tables exist and have correct schema
- Indexes are properly created
- Sample data can be inserted and retrieved
Examples
# Quick config check
mix phoenix_kit.email.verify_config
# Full AWS SES verification
mix phoenix_kit.email.verify_config --detailed --check aws
# Database-only check with fix attempt
mix phoenix_kit.email.verify_config --check database --fix-issues