feat: responsive HTML email templates with DreamHost SMTP
- Add professional HTML email template matching CV aesthetic - Implement multipart emails (HTML + plain text fallback) - Configure DreamHost SMTP with SSL (port 465) - Add "light only" color scheme for Gmail iOS compatibility - Include Reply-To header for easy sender response - Add email validation and integration tests - Update .env.example with DreamHost/Gmail SMTP examples - Add .env to .gitignore to protect credentials - Document email template customization and dark mode approach
This commit is contained in:
+29
-11
@@ -50,17 +50,35 @@ BEHIND_PROXY=false
|
||||
TRUSTED_PROXY_IP=
|
||||
|
||||
# Email Configuration (Contact Form)
|
||||
# For Gmail:
|
||||
# 1. Enable 2FA in your Google account
|
||||
# 2. Go to https://myaccount.google.com/apppasswords
|
||||
# 3. Generate an App Password
|
||||
# 4. Use that password here (not your regular Gmail password)
|
||||
SMTP_HOST=smtp.gmail.com
|
||||
SMTP_PORT=587
|
||||
SMTP_USER=your-email@gmail.com
|
||||
SMTP_PASSWORD=your-app-password-here
|
||||
SMTP_FROM_EMAIL=your-email@gmail.com
|
||||
CONTACT_EMAIL=txeo.msx@gmail.com
|
||||
#
|
||||
# Supported providers:
|
||||
#
|
||||
# DreamHost (port 465 - SSL):
|
||||
# SMTP_HOST=smtp.dreamhost.com
|
||||
# SMTP_PORT=465
|
||||
# SMTP_USER=your-email@yourdomain.com
|
||||
# SMTP_PASSWORD=your-email-password
|
||||
# SMTP_FROM_EMAIL=your-email@yourdomain.com
|
||||
#
|
||||
# Gmail (port 587 - TLS):
|
||||
# 1. Enable 2FA in your Google account
|
||||
# 2. Go to https://myaccount.google.com/apppasswords
|
||||
# 3. Generate an App Password
|
||||
# SMTP_HOST=smtp.gmail.com
|
||||
# SMTP_PORT=587
|
||||
# SMTP_USER=your-email@gmail.com
|
||||
# SMTP_PASSWORD=your-app-password-here
|
||||
# SMTP_FROM_EMAIL=your-email@gmail.com
|
||||
#
|
||||
# Port 465 = SSL (direct TLS connection)
|
||||
# Port 587 = TLS/STARTTLS (upgrades to TLS)
|
||||
#
|
||||
SMTP_HOST=smtp.dreamhost.com
|
||||
SMTP_PORT=465
|
||||
SMTP_USER=your-email@yourdomain.com
|
||||
SMTP_PASSWORD=your-password
|
||||
SMTP_FROM_EMAIL=your-email@yourdomain.com
|
||||
CONTACT_EMAIL=recipient@example.com
|
||||
|
||||
# Production Settings
|
||||
# Uncomment for production:
|
||||
|
||||
Reference in New Issue
Block a user