Configuring Mail Server
Using a SMTP Server
Admin panel setup
- Navigate to LaraClassified Admin panel → Setup → General Settings → Mail
- Configure Mail driver, host, port, encryption, username, and password
- Save changes
Or use /.env file setup
- Access FTP account and open the .env file
- Remove existing Mail configuration variables
- Add SMTP server details:
MAIL_DRIVER=smtp
MAIL_HOST=your-mail-host
MAIL_PORT=your-mail-port
MAIL_USERNAME=your-mail-username
MAIL_PASSWORD=your-mail-password
MAIL_ENCRYPTION=your-mail-encryption
- Replace placeholder values with actual credentials
- Save and upload file
Caution: .env file settings override those of the admin panel.
Note: Update the Transactional Email Sender address to match an authorized SMTP server email.
Using Mandrill
- Generate API key from Mandrill dashboard settings
- Configure through Admin panel or .env file with driver set to "mandrill"
- Add MANDRILL_SECRET and SMTP credentials
- Configure DNS zones as needed
Using Amazon SES
- Set driver to "ses" in Admin panel or .env
- Provide SES_KEY, SES_SECRET, and SES_REGION
Using Mailgun
- Configure through Admin panel or .env with driver "mailgun"
- Include domain, secret, and SMTP settings
- Set endpoint (default: api.eu.mailgun.net)
Using Sparkpost
- Set driver to "sparkpost" with secret and SMTP credentials
- Configure DNS zones for Sparkpost domain verification
- Example configuration provided with standard Sparkpost SMTP values