Skip to content

Email Settings

Overview

Email Settings configure how ZAL ULTRA sends emails to subscribers and administrators. This includes email notifications, invoices, password resets, verification emails, and system alerts. Proper email configuration ensures reliable communication with your subscribers.


📋 Table of Contents

  1. Email Status
  2. SMTP Configuration
  3. Email Service Providers
  4. Email Templates
  5. Testing Email
  6. Troubleshooting

Email Status

Email Status Toggle

What It Does: Enables or disables email sending functionality across the entire system.

When Enabled (On)

  • ✅ All email notifications sent
  • ✅ Password reset emails work
  • ✅ Email verification works
  • ✅ Invoice emails sent
  • ✅ System alerts delivered

When Disabled (Off)

  • ❌ No emails sent
  • ❌ Email features disabled
  • ✅ Useful for testing
  • ✅ Saves email quota

Use Cases

Enable When:

  • Production environment
  • Email server is configured
  • You want subscribers to receive notifications

Disable When:

  • Testing environment
  • Email server not ready
  • Troubleshooting email issues
  • Preventing accidental emails during setup

Elastic Email Status

What It Does: Enables integration with Elastic Email service (alternative to SMTP).

WHAT IS ELASTIC EMAIL?

Elastic Email is a cloud-based email delivery service that provides high deliverability rates, detailed analytics, and easy integration. It's an alternative to traditional SMTP servers.

When Enabled (On)

  • ✅ Uses Elastic Email API
  • ✅ Higher deliverability
  • ✅ Better analytics
  • ✅ Faster sending
  • ✅ No SMTP configuration needed

When Disabled (Off)

  • ❌ Uses standard SMTP
  • ✅ Works with any email provider
  • ✅ More control

Requirements

  • Elastic Email account
  • API key from Elastic Email
  • Verified sender domain

SMTP Configuration

From Email Address

What It Does: Sets the sender email address that appears in all outgoing emails.

Configuration

Best Practices

Examples

Good:

Bad:


SMTP Username

What It Does: Username for authenticating with your SMTP email server.

What to Enter

  • Your email account username
  • Usually your full email address
  • Sometimes just the part before @

Examples by Provider

Gmail/Google Workspace:

Office 365/Outlook:

cPanel/WHM:

Custom SMTP:

  • Username: As provided by your hosting provider

SMTP Password

What It Does: Password for authenticating with your SMTP email server.

Security Notes

  • 🔒 Stored encrypted in database
  • 🔒 Not visible after saving
  • 🔒 Use strong password
  • 🔒 Don't share with anyone

For Gmail Users

GMAIL APP PASSWORD REQUIRED

Gmail requires "App Password" instead of regular password:

  1. Enable 2-Factor Authentication on Gmail
  2. Go to Google Account → Security
  3. Click "App passwords"
  4. Generate password for "Mail"
  5. Use generated password here

For Office 365 Users

  • Use your regular Office 365 password
  • Or create app-specific password
  • Enable "Less secure app access" if required

SMTP Host

What It Does: The email server address that sends your emails.

Common SMTP Hosts

Gmail/Google Workspace:

  • Host: smtp.gmail.com
  • Port: 587 (TLS) or 465 (SSL)

Office 365/Outlook:

  • Host: smtp.office365.com
  • Port: 587 (TLS)

Yahoo Mail:

  • Host: smtp.mail.yahoo.com
  • Port: 587 (TLS) or 465 (SSL)

Zoho Mail:

  • Host: smtp.zoho.com
  • Port: 587 (TLS) or 465 (SSL)

SendGrid:

  • Host: smtp.sendgrid.net
  • Port: 587 (TLS) or 465 (SSL)

Mailgun:

  • Host: smtp.mailgun.org
  • Port: 587 (TLS) or 465 (SSL)

Amazon SES:

  • Host: email-smtp.us-east-1.amazonaws.com (region-specific)
  • Port: 587 (TLS) or 465 (SSL)

cPanel/WHM:

  • Host: mail.yourdomain.com or yourdomain.com
  • Port: 587 (TLS) or 465 (SSL)

SMTP Host Port

What It Does: The port number used to connect to the SMTP server.

Common Ports

Port 587 (Recommended)

  • Encryption: TLS/STARTTLS
  • Most widely supported
  • Best for modern email servers
  • Required by most providers

Port 465

  • Encryption: SSL
  • Older standard
  • Still widely used
  • Good alternative to 587

Port 25

  • No encryption (or optional)
  • Often blocked by ISPs
  • Not recommended for production
  • May be blocked by firewalls

Which Port to Use?

ProviderRecommended PortEncryption
Gmail587TLS
Office 365587TLS
Yahoo587TLS
Zoho587TLS
SendGrid587TLS
Mailgun587TLS
Amazon SES587TLS
cPanel587TLS

Encryption

What It Does: Secures email transmission between ZAL ULTRA and SMTP server.

Options

TLS (Transport Layer Security)

  • Modern encryption standard
  • Used with port 587
  • Most recommended
  • Better security

SSL (Secure Sockets Layer)

  • Older encryption standard
  • Used with port 465
  • Still widely supported
  • Good security

None

  • No encryption
  • Not recommended
  • Only for testing
  • Security risk

Recommendation

  • ✅ Always use TLS or SSL
  • ✅ TLS is preferred (port 587)
  • ❌ Never use "None" in production

Email Service Providers

1. Gmail / Google Workspace

Best For: Small to medium ISPs

Pros:

  • ✅ Free (Gmail) or affordable (Workspace)
  • ✅ Excellent deliverability
  • ✅ 99.9% uptime
  • ✅ Easy setup
  • ✅ Reliable

Cons:

  • ⚠️ Daily sending limit (500 emails for free Gmail)
  • ⚠️ Requires app password
  • ⚠️ May flag as spam if sending too many

Configuration:

  • Host: smtp.gmail.com
  • Port: 587
  • Encryption: TLS
  • Username: Your Gmail address
  • Password: App password (not regular password)

2. Office 365 / Outlook

Best For: Corporate ISPs

Pros:

  • ✅ Professional
  • ✅ Good deliverability
  • ✅ Integration with Microsoft services
  • ✅ Reliable

Cons:

  • ⚠️ Paid service
  • ⚠️ Daily sending limit (10,000 emails)

Configuration:

  • Host: smtp.office365.com
  • Port: 587
  • Encryption: TLS
  • Username: Your Office 365 email
  • Password: Your Office 365 password

3. SendGrid

Best For: High-volume ISPs

Pros:

  • ✅ Free tier (100 emails/day)
  • ✅ Excellent deliverability
  • ✅ Detailed analytics
  • ✅ API available
  • ✅ Scalable

Cons:

  • ⚠️ Requires account setup
  • ⚠️ Paid for high volume

Configuration:

  • Host: smtp.sendgrid.net
  • Port: 587
  • Encryption: TLS
  • Username: apikey
  • Password: Your SendGrid API key

4. Amazon SES

Best For: Enterprise ISPs

Pros:

  • ✅ Very cheap ($0.10 per 1,000 emails)
  • ✅ Highly scalable
  • ✅ Excellent deliverability
  • ✅ AWS integration

Cons:

  • ⚠️ Complex setup
  • ⚠️ Requires AWS account
  • ⚠️ Requires domain verification

Configuration:

  • Host: email-smtp.us-east-1.amazonaws.com
  • Port: 587
  • Encryption: TLS
  • Username: Your SES SMTP username
  • Password: Your SES SMTP password

5. Mailgun

Best For: Developer-friendly ISPs

Pros:

  • ✅ Free tier (5,000 emails/month)
  • ✅ Good deliverability
  • ✅ Detailed logs
  • ✅ API available

Cons:

  • ⚠️ Requires domain verification
  • ⚠️ Paid for high volume

Configuration:

  • Host: smtp.mailgun.org
  • Port: 587
  • Encryption: TLS
  • Username: Your Mailgun SMTP username
  • Password: Your Mailgun SMTP password

6. cPanel Email

Best For: Self-hosted ISPs

Pros:

  • ✅ Full control
  • ✅ No external dependencies
  • ✅ Unlimited emails
  • ✅ No monthly fees

Cons:

  • ⚠️ Requires email server setup
  • ⚠️ May have deliverability issues
  • ⚠️ Requires maintenance

Configuration:

  • Host: mail.yourdomain.com
  • Port: 587
  • Encryption: TLS
  • Username: Your email address
  • Password: Your email password

Email Templates

Available Email Templates

ZAL ULTRA sends emails for these events:

Subscriber Emails:

  1. ✅ Welcome Email (new registration)
  2. ✅ Email Verification
  3. ✅ Password Reset
  4. ✅ Package Activation
  5. ✅ Package Expiration Warning
  6. ✅ Package Expired
  7. ✅ Package Renewal
  8. ✅ Payment Receipt
  9. ✅ Invoice

Admin Emails:

  1. ✅ New Subscriber Registration
  2. ✅ Payment Received
  3. ✅ System Alerts
  4. ✅ Low Balance Warnings

Customizing Templates

Email templates can be customized with:

  • Company logo
  • Company colors
  • Custom text
  • Custom footer
  • Social media links

Testing Email

How to Test Email Configuration

Step 1: Configure SMTP Settings

  1. Enter all SMTP details
  2. Click Save

Step 2: Send Test Email

  1. Click Test Email button
  2. Enter your email address
  3. Click Send Test Email
  4. Check your inbox

Step 3: Verify Delivery

  • ✅ Email received in inbox (not spam)
  • ✅ Sender name correct
  • ✅ Email formatting correct
  • ✅ Links working

Test Email Checklist

  • [ ] SMTP settings saved
  • [ ] Test email sent
  • [ ] Email received in inbox
  • [ ] Not in spam folder
  • [ ] Sender name correct
  • [ ] From address correct
  • [ ] Email formatting good
  • [ ] Links clickable

Troubleshooting

Email Not Sending

Check These:

  1. ✅ Email Status is enabled
  2. ✅ SMTP credentials are correct
  3. ✅ SMTP host is correct
  4. ✅ SMTP port is correct
  5. ✅ Encryption type matches port
  6. ✅ From email address is valid
  7. ✅ Internet connection working

Gmail Authentication Failed

Solution:

  1. Enable 2-Factor Authentication on Gmail
  2. Generate App Password:
    • Go to Google Account → Security
    • Click "App passwords"
    • Select "Mail" and your device
    • Copy generated password
  3. Use App Password (not regular password)
  4. Use smtp.gmail.com as host
  5. Use port 587 with TLS

Emails Going to Spam

Solutions:

  1. Verify Sender Domain:

    • Add SPF record to DNS
    • Add DKIM record to DNS
    • Add DMARC record to DNS
  2. Use Professional Email:

    • Don't use free email (Gmail, Yahoo)
    • Use your domain email
  3. Improve Email Content:

    • Don't use spam words
    • Include unsubscribe link
    • Use plain text + HTML
  4. Use Reputable SMTP:

    • SendGrid, Mailgun, Amazon SES
    • Better deliverability

Office 365 Connection Timeout

Solutions:

  1. Use smtp.office365.com as host
  2. Use port 587 with TLS
  3. Enable "SMTP AUTH" in Office 365 admin
  4. Check firewall not blocking port 587
  5. Try port 25 if 587 blocked

Port 587 Blocked

Solutions:

  1. Try Port 465:

    • Change port to 465
    • Change encryption to SSL
  2. Contact Hosting Provider:

    • Ask to unblock port 587
    • Or use their SMTP relay
  3. Use Alternative Service:

    • SendGrid, Mailgun
    • They provide alternative ports

SSL Certificate Error

Solutions:

  1. Update SSL certificates on server
  2. Use TLS instead of SSL
  3. Contact hosting provider
  4. Try different SMTP provider

Best Practices

Security

  • ✅ Always use TLS or SSL encryption
  • ✅ Use strong SMTP password
  • ✅ Enable 2FA on email account
  • ✅ Don't share SMTP credentials
  • ✅ Regularly change passwords

Deliverability

  • ✅ Verify sender domain (SPF, DKIM, DMARC)
  • ✅ Use professional email address
  • ✅ Use reputable SMTP provider
  • ✅ Monitor email bounce rates
  • ✅ Keep email list clean

Performance

  • ✅ Use dedicated SMTP service for high volume
  • ✅ Monitor email sending limits
  • ✅ Use email queue for bulk sending
  • ✅ Test regularly

Configuration Examples

Example 1: Gmail Setup

Email Status: ON
From Email: [email protected]
SMTP Username: [email protected]
SMTP Password: [16-character app password]
SMTP Host: smtp.gmail.com
SMTP Port: 587
Encryption: TLS

Example 2: Office 365 Setup

Email Status: ON
From Email: [email protected]
SMTP Username: [email protected]
SMTP Password: [Your Office 365 password]
SMTP Host: smtp.office365.com
SMTP Port: 587
Encryption: TLS

Example 3: SendGrid Setup

Email Status: ON
From Email: [email protected]
SMTP Username: apikey
SMTP Password: [Your SendGrid API key]
SMTP Host: smtp.sendgrid.net
SMTP Port: 587
Encryption: TLS

Example 4: cPanel Setup

Email Status: ON
From Email: [email protected]
SMTP Username: [email protected]
SMTP Password: [Your email password]
SMTP Host: mail.yourisp.com
SMTP Port: 587
Encryption: TLS

Summary Table

ProviderFree TierMonthly CostDeliverabilitySetup DifficultyBest For
Gmail500/dayFreeHighEasySmall ISPs
Google Workspace2,000/day$6/userHighEasySmall-Medium ISPs
Office 36510,000/day$5/userHighEasyCorporate ISPs
SendGrid100/day$15/monthVery HighMediumHigh-volume ISPs
Mailgun5,000/month$35/monthVery HighMediumDeveloper ISPs
Amazon SES62,000/month$0.10/1,000Very HighHardEnterprise ISPs
cPanelUnlimitedHosting costMediumMediumSelf-hosted ISPs

www.onezeroart.com