Email SMTP Configuration
SMTP (Simple Mail Transfer Protocol) configuration in EquiBillBook allows you to set up email delivery for notifications, invoices, and other communications. This guide explains how to configure SMTP settings effectively.
What is SMTP Configuration?
SMTP configuration involves setting up the email server settings that EquiBillBook uses to send emails. This includes server address, port, encryption method, and authentication credentials. Proper SMTP configuration ensures reliable email delivery for all notifications and communications.
Accessing SMTP Configuration
To access SMTP configuration:
- Navigate to Settings → Notification Settings → Email SMTP Configuration
- View current SMTP settings
- Configure or update SMTP settings
- Test email delivery
SMTP Server Settings
Configure basic SMTP server settings:
- SMTP Host: SMTP server address (e.g., smtp.gmail.com)
- SMTP Port: Port number (commonly 587, 465, or 25)
- Encryption: TLS, SSL, or None
- Authentication: Enable/disable authentication
- Username: Email address or username for authentication
- Password: Password or app-specific password
Gmail SMTP Configuration
To configure Gmail SMTP:
- SMTP Host:
smtp.gmail.com - SMTP Port:
587(TLS) or465(SSL) - Encryption: TLS or SSL
- Username: Your Gmail address
- Password: Gmail app password (not regular password)
- Enable "Less secure app access" or use app password
Outlook/Hotmail SMTP Configuration
To configure Outlook SMTP:
- SMTP Host:
smtp-mail.outlook.comorsmtp.office365.com - SMTP Port:
587 - Encryption: TLS
- Username: Your Outlook email address
- Password: Your Outlook password
Yahoo SMTP Configuration
To configure Yahoo SMTP:
- SMTP Host:
smtp.mail.yahoo.com - SMTP Port:
587(TLS) or465(SSL) - Encryption: TLS or SSL
- Username: Your Yahoo email address
- Password: Yahoo app password (not regular password)
Custom SMTP Configuration
To configure custom SMTP server:
- Get SMTP server details from your email provider
- Enter SMTP host address
- Enter SMTP port number
- Select encryption method (TLS recommended)
- Enter authentication credentials
- Test connection
SMTP Authentication
Configure SMTP authentication:
- Enable Authentication: Turn on authentication (required for most servers)
- Username: Email address or username
- Password: Email password or app-specific password
- App Passwords: Use app passwords for Gmail, Yahoo (more secure)
- OAuth: Some providers support OAuth authentication
SMTP Encryption
Choose appropriate encryption method:
- TLS (STARTTLS): Recommended, uses port 587
- SSL: Older method, uses port 465
- None: No encryption (not recommended, only for internal servers)
- Auto: Automatically detect encryption method
Sender Email Configuration
Configure sender email settings:
- From Email: Email address that appears as sender
- From Name: Display name for sender
- Reply-To Email: Email address for replies
- Bounce Handling: Configure bounce email handling
SMTP Testing
Test SMTP configuration:
- Go to SMTP Configuration settings
- Click Test Connection button
- Enter test email address
- Send test email
- Check if test email is received
- Review any error messages
- Fix issues if test fails
Common SMTP Ports
Standard SMTP ports:
- Port 25: Standard SMTP (often blocked by ISPs)
- Port 587: Submission port with TLS (recommended)
- Port 465: SSL/TLS port (legacy, but still used)
- Port 2525: Alternative port (some providers)
SMTP Security Best Practices
- Use TLS/SSL: Always use encryption for SMTP
- App Passwords: Use app-specific passwords instead of main password
- Secure Credentials: Never share SMTP credentials
- Regular Updates: Update passwords regularly
- Monitor Access: Monitor SMTP access logs
- Two-Factor Authentication: Enable 2FA on email account
Troubleshooting SMTP Issues
Common SMTP issues and solutions:
- Connection Failed: Check SMTP host and port are correct
- Authentication Failed: Verify username and password
- Emails Not Sending: Check encryption settings
- Emails Going to Spam: Configure SPF, DKIM, DMARC records
- Port Blocked: Try alternative port (587 instead of 25)
- Rate Limits: Some providers limit emails per day
- Firewall Issues: Check firewall allows SMTP connections
Email Authentication (SPF, DKIM, DMARC)
Configure email authentication for better deliverability:
- SPF Record: Sender Policy Framework record in DNS
- DKIM: DomainKeys Identified Mail signature
- DMARC: Domain-based Message Authentication
- Benefits: Better email deliverability, reduced spam
- Setup: Configure DNS records with your domain provider
SMTP Rate Limits
Be aware of SMTP rate limits:
- Gmail: 500 emails per day (free), higher for paid
- Outlook: 300 emails per day (free), higher for paid
- Yahoo: 500 emails per day
- Custom SMTP: Limits vary by provider
- Monitoring: Monitor email sending to avoid limits
SMTP Backup Configuration
Configure backup SMTP server:
- Set up secondary SMTP server
- Automatically switch to backup if primary fails
- Ensure backup has same sender email capability
- Test backup configuration
SMTP Logs and Monitoring
Monitor SMTP activity:
- View SMTP connection logs
- Monitor email delivery status
- Track failed email attempts
- Review SMTP error messages
- Analyze email delivery rates
SMTP Configuration Best Practices
- Use Reliable Provider: Choose reputable email service provider
- Test Regularly: Test SMTP configuration periodically
- Monitor Deliverability: Track email delivery rates
- Keep Credentials Secure: Protect SMTP credentials
- Update Settings: Update SMTP settings when email provider changes
- Document Configuration: Keep record of SMTP settings
Properly configured SMTP settings ensure reliable email delivery for all notifications and communications in EquiBillBook. Configure SMTP according to your email provider's requirements and test thoroughly before deploying.