Administration/Configuration Files
SMTP Configuration
Configure the SMTP email settings for your Gigantics instance to enable email notifications and communications.
Configuration Properties
The SMTP configuration section in your config/default.yaml file controls how Gigantics sends emails:
Property Details
host
- Type: String
- Default:
'smtp.ethereal.email' - Description: The hostname of your SMTP server
port
- Type: Number
- Default:
587 - Description: The port number your SMTP server uses
username
- Type: String
- Default:
'montana.kulas@ethereal.email' - Description: The username for authenticating with the SMTP server
password
- Type: String
- Default:
'2q6GhNY5gc72msh7z4' - Description: The password for authenticating with the SMTP server
baseUrl
- Type: String
- Default:
'http://localhost:5000' - Description: Base URL used in email templates
subject
- Type: String
- Default:
'no reply' - Description: Default subject line for emails
from
- Type: String
- Default:
'no-replay@gigantics.io' - Description: The "from" address used for sending emails
Examples
Gmail SMTP Configuration
Outlook SMTP Configuration
Custom SMTP Server
Security Considerations
- App Passwords: For Gmail and other providers, use app-specific passwords instead of your main account password
- Encryption: Use TLS/SSL ports (587, 465) when available
- Credentials: Never commit SMTP credentials to version control
- Access: Restrict access to the configuration file containing SMTP credentials
Testing Email Configuration
You can test your SMTP configuration by:
-
Restarting the application after configuration changes:
-
Triggering a test email through the application interface
-
Checking the logs for any SMTP connection errors
Common SMTP Providers
| Provider | Host | Port | TLS/SSL |
|---|---|---|---|
| Gmail | smtp.gmail.com | 587 | Yes |
| Outlook | smtp-mail.outlook.com | 587 | Yes |
| Yahoo | smtp.mail.yahoo.com | 587 | Yes |
| SendGrid | smtp.sendgrid.net | 587 | Yes |
| Amazon SES | email-smtp.us-east-1.amazonaws.com | 587 | Yes |
For production use, make sure to replace the default development credentials with your actual SMTP server credentials.