Sending Email
LogZilla documentation for Sending Email
LogZilla requires SMTP server configuration to send email alerts and notifications. Administrators can configure email settings through the web interface to enable automated email delivery for triggers, alerts, and system notifications.
Accessing SMTP Settings
To configure email settings, navigate to /settings/system/smtp
in the
LogZilla web interface or access it through the Settings menu under System
Settings.
SMTP Configuration Options
Basic Settings
Default From Address Specifies the sender email address for outgoing emails. This address appears in the "From" field of all emails sent by LogZilla.
SMTP Server The hostname or IP address of the SMTP mail server. This can be an internal mail server or an external service like Gmail, Office 365, or other email providers.
SMTP Port The port number used to connect to the SMTP server. Common ports include:
- Port 25: Standard SMTP (unencrypted)
- Port 587: SMTP with STARTTLS (recommended)
- Port 465: SMTP over SSL/TLS
Authentication
SMTP Authentication Toggle to enable or disable SMTP authentication. Most modern mail servers require authentication to prevent unauthorized email sending.
SMTP Username The username for authenticating with the SMTP server. This is typically an email address or account name.
SMTP Password The password associated with the SMTP username. For security, this field is masked in the interface.
Security Settings
SMTP Encryption Type Configures the encryption method for secure email transmission:
- NONE: No encryption (not recommended for production)
- STARTTLS: Upgrades the connection to encrypted after initial handshake
- SSL/TLS: Establishes an encrypted connection from the start
SMTP Connection Timeout Sets the timeout duration (in seconds) for establishing connections to the SMTP server. Default is typically 5 seconds.
Testing Configuration
After configuring SMTP settings, use the "Send test email" button to verify the configuration. The test email will be sent to the specified recipient to confirm that:
- SMTP server connectivity is working
- Authentication credentials are correct
- Email delivery is functioning properly
Common SMTP Providers
Gmail Configuration
- SMTP Server: smtp.gmail.com
- Port: 587
- Encryption: STARTTLS
- Authentication: Required
- Note: Requires app-specific password for accounts with 2FA enabled
Office 365 Configuration
- SMTP Server: smtp.office365.com
- Port: 587
- Encryption: STARTTLS
- Authentication: Required
Internal Mail Servers
Configuration varies based on the specific mail server software and security policies. Consult with the email administrator for proper settings.
Troubleshooting
Connection Issues
- Verify SMTP server hostname and port
- Check firewall rules allowing outbound connections
- Confirm network connectivity to the mail server
Authentication Failures
- Verify username and password credentials
- Check if the account requires app-specific passwords
- Ensure the account has permission to send email via SMTP
Email Delivery Problems
- Check spam/junk folders on recipient systems
- Verify the "From" address is properly configured
- Review mail server logs for delivery errors
Security Considerations
- Use encrypted connections (STARTTLS or SSL/TLS) when possible
- Store SMTP credentials securely
- Regularly rotate SMTP account passwords
- Monitor email sending for unusual activity
- Configure appropriate firewall rules for SMTP traffic