How to Configure SMTP and SMS in the Admin Console
This guide walks you through setting up outbound notification delivery channels (Email and SMS) to support OTP delivery, verification flows, and password reset notifications.
Part A: Configuring SMTP (Email) Settings
- Log in to the Admin Console and select System Settings on the left menu.
- Navigate to the Email Provider tab.
- Fill in your SMTP server credentials:
- Email Provider: Select
smtpfrom the drop-down. - SMTP Host: The address of your mail server (e.g.
smtp.mailgun.org,smtp.gmail.com). - SMTP Port: Typically
587(for TLS/STARTTLS) or465(for SSL). - SMTP Username: Your email provider account user ID.
- SMTP Password: Your email provider access key or app-specific password.
- Sender Email (From): The email address users will see in the "From" header (e.g.,
noreply@yourcompany.com).
- Email Provider: Select
- Toggle Enable SSL/TLS based on your port selection.
- Click Save Email Settings.
Part B: Configuring SMS Gateway Settings
- Log in to the Admin Console and navigate to System Settings -> SMS Provider.
- Configure your SMS Gateway credentials:
- SMS Provider: Select your gateway provider (e.g.
twilioorsns). - Account SID / API Key: Paste your SMS provider account identifier string.
- Auth Token / API Secret: Paste your SMS provider authorization secret.
- Sender ID / Messaging Service SID: Enter your SMS sender ID or mobile number (e.g.
+15017122661).
- SMS Provider: Select your gateway provider (e.g.
- Click Save SMS Settings.
Part C: Testing Connectivity (Live Validation)
Always verify configurations before making them live for end-users:
- Under the SMTP or SMS configuration forms, locate the Test Connection card.
- Enter a destination target:
- For Email: Enter a valid email address (e.g.,
testuser@example.com). - For SMS: Enter a mobile number in international format (e.g.,
+1234567890).
- For Email: Enter a valid email address (e.g.,
- Click Send Test Message.
- Verify delivery success:
- Success: The console displays a green notification check:
Test email sent successfully. - Failure: The console outputs the raw SMTP/Gateway error payload (e.g.,
535 Authentication Failed) to help you debug credentials.
- Success: The console displays a green notification check:
- Check your inbox/device to confirm receipt of the test notification message.