Email Provider Setup
Learn how to configure email providers (Postmark and MailerToGo) for reliable email delivery.
Email Provider Overview
Section titled “Email Provider Overview”Alva Digital Downloads supports two email providers:
Postmark (Primary - Recommended)
Section titled “Postmark (Primary - Recommended)”Type: API-based email service
Benefits:
- ✅ Superior deliverability rates
- ✅ Real-time delivery tracking
- ✅ Detailed analytics
- ✅ Fast delivery (seconds)
- ✅ Excellent reputation
Best for: Most merchants
MailerToGo (Fallback)
Section titled “MailerToGo (Fallback)”Type: SMTP email service
Benefits:
- ✅ Reliable SMTP standard
- ✅ Automatic fallback option
- ✅ Easy configuration
- ✅ Good deliverability
Best for: Backup to Postmark
Choosing an Email Provider
Section titled “Choosing an Email Provider”Decision Guide
Section titled “Decision Guide”Use Postmark if:
- Want best deliverability
- Need detailed analytics
- Sending many emails
- Want premium features
Use MailerToGo if:
- Already have SMTP service
- Prefer SMTP over API
- Need simple setup
Use Both:
- Postmark as primary
- MailerToGo as automatic fallback
- Best reliability
Setting Up Postmark
Section titled “Setting Up Postmark”Step 1: Create Postmark Account
Section titled “Step 1: Create Postmark Account”- Visit postmarkapp.com
- Click Sign Up
- Create account
- Verify email address
Step 2: Verify Sender Signature
Section titled “Step 2: Verify Sender Signature”Before sending emails, verify your sender email:
- In Postmark dashboard, go to Sender Signatures
- Click Add Sender Signature
- Choose verification method:
Option A: Single Email Address
- Enter:
support@yourstore.com - Postmark sends verification email
- Click link in email
- Email verified ✅
Option B: Entire Domain
- Enter:
yourstore.com - Add DNS records (DKIM, Return-Path)
- Postmark verifies DNS
- Entire domain verified ✅
Recommendation: Verify entire domain for flexibility.
Step 3: Generate Server API Token
Section titled “Step 3: Generate Server API Token”- In Postmark, go to Servers → Select your server
- Click API Tokens tab
- Copy the Server API Token
Important: Keep this token secure - it’s like a password.
Step 4: Configure in Alva App
Section titled “Step 4: Configure in Alva App”- Open Alva Digital Downloads app
- Go to Settings → Email Provider
- Select Postmark as provider
- Paste Server API Token
- Enter verified sender email (e.g.,
support@yourstore.com) - Click Save and Test Connection
- Test email sent to verify setup
✅ Configuration complete!
Postmark Configuration Fields
Section titled “Postmark Configuration Fields”Server API Token (Required)
Token from Postmark dashboardExample: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxFrom Email (Required)
Verified sender email addressExample: support@yourstore.comMust be verified in PostmarkFrom Name (Optional)
Sender name displayed to customersExample: My Shop SupportDefault: {shop.name}Postmark Pricing
Section titled “Postmark Pricing”Free Tier:
- 100 emails/month
- Full features
- Perfect for testing
Paid Plans:
- $10/month: 10,000 emails
- $50/month: 50,000 emails
- $1.25 per 1,000 additional emails
Most merchants: Start with free tier, upgrade as needed.
Setting Up MailerToGo (SMTP)
Section titled “Setting Up MailerToGo (SMTP)”Step 1: Get SMTP Credentials
Section titled “Step 1: Get SMTP Credentials”Option A: From Your Hosting Provider
- Contact hosting support
- Request SMTP credentials
- Get: Host, Port, Username, Password
Option B: From MailerToGo
- Sign up at mailertogo.com
- Verify account
- Get SMTP credentials from dashboard
Option C: From Other SMTP Service
- Gmail SMTP
- SendGrid SMTP
- Amazon SES
- Any SMTP provider
Step 2: Gather Required Information
Section titled “Step 2: Gather Required Information”You’ll need:
SMTP Host
Example: smtp.mailertogo.netor: smtp.gmail.comor: smtp.sendgrid.netSMTP Port
Usually: 587 (TLS)or: 465 (SSL)or: 25 (unencrypted, not recommended)SMTP Username
Your SMTP account usernameExample: user@mailertogo.netSMTP Password
Your SMTP account passwordKeep secure!Step 3: Configure in Alva App
Section titled “Step 3: Configure in Alva App”- Open Alva Digital Downloads app
- Go to Settings → Email Provider
- Select SMTP (MailerToGo) as provider
- Enter SMTP credentials:
SMTP Host: smtp.mailertogo.netSMTP Port: 587SMTP User: your-usernameSMTP Pass: ••••••••••Encryption: TLSFrom Email: support@yourstore.com- Click Save and Test Connection
- Test email sent to verify
✅ Configuration complete!
SMTP Configuration Fields
Section titled “SMTP Configuration Fields”SMTP Host (Required)
SMTP server addressExample: smtp.mailertogo.netSMTP Port (Required)
Port number (usually 587)Options: 25, 465, 587SMTP Username (Required)
Your SMTP account usernameSMTP Password (Required)
Your SMTP account passwordEncryption (Required)
Options: TLS (recommended), SSL, NoneDefault: TLSFrom Email (Required)
Sender email addressExample: noreply@yourstore.comDual Provider Setup
Section titled “Dual Provider Setup”Primary + Fallback Configuration
Section titled “Primary + Fallback Configuration”Set up both providers for maximum reliability:
Configuration:
- Primary: Postmark (fast, reliable)
- Fallback: MailerToGo SMTP (backup)
How it works:
- App tries sending via Postmark
- If Postmark fails → automatically tries MailerToGo
- Customer receives email either way
Configuring Dual Setup
Section titled “Configuring Dual Setup”- Set up Postmark (as shown above)
- Set up MailerToGo (as shown above)
- In Settings, enable Fallback Provider
- Select MailerToGo as fallback
- Save configuration
Benefits:
- 99.9%+ email delivery
- No single point of failure
- Automatic switching
- Peace of mind
Testing Email Provider Setup
Section titled “Testing Email Provider Setup”Send Test Email
Section titled “Send Test Email”After configuration:
- Click Send Test Email button
- Enter your email address
- Click Send
- Check inbox
Verify:
- Email arrives (check spam folder too)
- Delivered from correct sender
- Appears within 1-2 minutes
Check Email Logs
Section titled “Check Email Logs”Verify test email in logs:
- Go to Email Settings → Email Logs
- Find test email
- Check status:
- ✅ Sent: Success
- ❌ Failed: Configuration issue
If failed:
- Double-check credentials
- Verify sender email
- Check provider dashboard for errors
- Contact provider support
Troubleshooting Provider Setup
Section titled “Troubleshooting Provider Setup”Postmark Issues
Section titled “Postmark Issues”Issue: “Invalid API Token”
Section titled “Issue: “Invalid API Token””Solution:
- Verify token copied correctly
- No extra spaces in token field
- Token is Server API token (not Account token)
- Token from correct Postmark server
Issue: “Sender signature not verified”
Section titled “Issue: “Sender signature not verified””Solution:
- Go to Postmark → Sender Signatures
- Verify email address or domain
- Check verification email
- Complete DNS setup if using domain
- Wait for verification (can take 1 hour)
Issue: Emails going to spam
Section titled “Issue: Emails going to spam”Solutions:
- Set up DKIM records (domain verification)
- Configure SPF records
- Verify sender domain (not just email)
- Improve email content (avoid spam words)
- Build sender reputation gradually
SMTP Issues
Section titled “SMTP Issues”Issue: “Connection refused”
Section titled “Issue: “Connection refused””Solutions:
- Check SMTP host address
- Verify port number (try 587, then 465)
- Check firewall not blocking SMTP
- Verify internet connection
- Contact hosting provider
Issue: “Authentication failed”
Section titled “Issue: “Authentication failed””Solutions:
- Verify username correct
- Check password (no typos)
- For Gmail: Enable “Less secure apps” or use App Password
- Verify account active
- Check provider dashboard for blocks
Issue: “TLS/SSL error”
Section titled “Issue: “TLS/SSL error””Solutions:
- Try different encryption:
- TLS (port 587)
- SSL (port 465)
- None (port 25, not recommended)
- Update encryption setting in app
- Test each option
Provider Comparison
Section titled “Provider Comparison”| Feature | Postmark | MailerToGo SMTP |
|---|---|---|
| Delivery Speed | Very Fast (1-10s) | Fast (10-30s) |
| Deliverability | Excellent | Good |
| Setup Difficulty | Easy (API token) | Moderate (SMTP) |
| Analytics | Detailed | Basic |
| Cost | $0-10/mo | $0-5/mo |
| Tracking | Real-time | Delayed |
| Fallback Support | Primary | Fallback |
| Support | Excellent | Good |
Best Practices
Section titled “Best Practices”Security
Section titled “Security”Protect credentials:
- Never share API tokens publicly
- Don’t commit to GitHub
- Use environment variables
- Rotate tokens periodically
- Limit token permissions
Monitoring
Section titled “Monitoring”Regular checks:
- Monitor email delivery rates
- Check provider dashboards
- Review error logs
- Test monthly
- Update credentials as needed
Domain Verification
Section titled “Domain Verification”Always verify domain:
- Better deliverability
- Professional appearance
- Required for some features
- Build sender reputation
Steps:
- Add DNS records (DKIM, SPF, DMARC)
- Verify in provider dashboard
- Test email delivery
- Monitor reputation
Switching Providers
Section titled “Switching Providers”Migrating from SMTP to Postmark
Section titled “Migrating from SMTP to Postmark”Steps:
- Set up Postmark account
- Verify sender signature
- Get API token
- Add to Alva settings
- Test thoroughly
- Switch to Postmark as primary
- Keep SMTP as fallback
Changing SMTP Providers
Section titled “Changing SMTP Providers”- Get new SMTP credentials
- Update in Alva settings
- Test email delivery
- Monitor for issues
- Keep old credentials as backup temporarily
Email Provider Resources
Section titled “Email Provider Resources”Postmark Resources
Section titled “Postmark Resources”- Documentation: postmarkapp.com/support
- Status: status.postmarkapp.com
- Support: support@postmarkapp.com
- Community: postmarkapp.com/community
MailerToGo Resources
Section titled “MailerToGo Resources”- Dashboard: mailertogo.com/dashboard
- Support: mailertogo.com/support
- SMTP Guide: mailertogo.com/help/smtp
Next Steps
Section titled “Next Steps”- Sending Test Emails - Test your configuration
- Email Notification Settings - Configure notifications
- Manual Email Resend - Manage sent emails