BillBook uses SMTP email settings for sending notifications, including Forgot Password emails, Offline Payment Approvals, and other system alerts. 🚀📩
🔹 Setting Up Email for Forgot Password & Notifications #
During installation, you can configure SMTP settings. If not set up properly, follow these steps:
📌 Steps to Configure SMTP in BillBook #
✅ Open the .env
file in your hosting/server file manager.
✅ Locate the following configurations:
makefileCopyEditMAIL_DRIVER=smtp
MAIL_HOST=
MAIL_PORT=
MAIL_USERNAME=
MAIL_PASSWORD=
MAIL_ENCRYPTION=
✅ Enter the correct SMTP details (Contact your hosting provider for these details).
✅ Save the changes and restart your application if required.
📌 Example SMTP Configuration for Gmail:
iniCopyEditMAIL_DRIVER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=587
[email protected]
MAIL_PASSWORD=your-email-password
MAIL_ENCRYPTION=TLS
📌 Important Notes:
- Use either TLS or SSL, not both.
- The port depends on encryption:
- TLS → Port 587
- SSL → Port 465
- Some hosting providers disable Port 587, so contact your provider to enable it.
🔹 Gmail SMTP Setup & Troubleshooting #
If you’re using Gmail or GSuite, you may encounter errors due to security settings.
✅ If 2-Factor Authentication is Enabled:
- You must generate an “App Password” for BillBook.
- Steps to generate an App Password:
- Go to Google App Passwords
- Select “Other (Custom App)”, enter a name (e.g., “BillBook SMTP”), and generate a password.
- Use this generated password in MAIL_PASSWORD instead of your Gmail password.
✅ Change Port & Encryption if Needed:
- Try using Port 465 with SSL encryption if Port 587 is blocked.
📌 Now, email notifications for password resets and other system alerts will work smoothly!
🚀 Why Use SMTP Email in BillBook? #
✅ Ensures password reset emails are sent properly 🔐
✅ Supports Gmail, Outlook, Zoho & custom mail servers ✅
✅ Secure and reliable email delivery for notifications 📩
✅ Works across all modules (Invoices, User Alerts, Payment Approvals, etc.) 📊
With BillBook’s SMTP Email Configuration, businesses can send secure & automated email notifications effortlessly! 🚀📧
Let me know if you need any refinements! 😊