Email configuration is essential for Leconfe to send notifications, invitation emails, password reset links, and other communications to your conference participants. Without proper email setup, these critical messages will not be delivered.
Leconfe supports any SMTP-based email service. Below are some commonly used providers:
- Gmail SMTP — Free for limited sending; good for small conferences
- SendGrid — Reliable transactional email with a generous free tier
- Mailgun — Developer-friendly email API with flexible plans
- Amazon SES — Cost-effective at high volume; ideal for large conferences
Configuring Email in the .env File
After successfully installing Leconfe, the next step is to configure the email settings. Follow the steps below:
Step 1: Navigate to your Leconfe installation directory and locate the .env file in the root folder.
Step 2: Open the .env file with a text editor. Find the email configuration section:
MAIL_MAILER=smtp MAIL_HOST=smtp.gmail.com MAIL_PORT=465 MAIL_USERNAME=your-email@gmail.com MAIL_PASSWORD=your-app-password MAIL_ENCRYPTION=tls MAIL_FROM_ADDRESS="your-email@gmail.com" MAIL_FROM_NAME='Leconfe'
Step 3: Update each value to match your email provider:
MAIL_MAILER— Usesmtpfor most providersMAIL_HOST— Your SMTP server address (e.g.,smtp.gmail.comfor Gmail,smtp.sendgrid.netfor SendGrid)MAIL_PORT— Common ports:587(TLS),465(SSL), or2525MAIL_USERNAME— Your SMTP account username or email addressMAIL_PASSWORD— Your SMTP account password or app-specific passwordMAIL_ENCRYPTION— Usetls(recommended) orsslMAIL_FROM_ADDRESS— The sender email address that participants will seeMAIL_FROM_NAME— The sender name (e.g., your conference name)
Troubleshooting: Emails Not Being Received
If emails are not arriving in recipient inboxes, you may need to add an EHLO domain configuration. This is especially common when your conference is hosted on a university subdomain. For example, if your conference URL is conference.university.ac.id, add the following line below your email settings in the .env file:
MAIL_EHLO_DOMAIN="university.ac.id"
Important: Only write the main domain (e.g., university.ac.id) — do not include the full subdomain such as conference.university.ac.id.