Multiple SMTP Domains
This document provides a comprehensive overview of the Multiple SMTP Domain feature, including its key benefits, business use cases, and detailed configuration steps to help you implement it effectively within your application.
By default, when an SMTP provider is configured under Admin Console > Branding > Email-SMS Provider, all outgoing emails are sent using the globally configured sender name and email address. This means that all email templates use the same sender identity.
With the Multiple SMTP Domain feature, businesses can customize the sender name and email at the email template level instead of relying on a single global configuration. This feature is particularly useful for organizations managing multiple brands, departments, or communication types within the same LoginRadius account.
Key Features
- Custom Sender Email per Template: Configure a unique sender name and email address for each email template based on business requirements.
- Brand-Specific Emailing: Use different sender domains to ensure emails are sent from the correct brand, department, or team.
- Support for Multiple Domains in SMTP Providers: Leverage SMTP services (e.g., SendGrid) that support multiple domains within a single account.
- Overrides Global Configuration: This feature allows local overrides for sender details at the email template level.
- Increased Trust and Personalization: Improve email deliverability and user trust by sending emails from contextually relevant addresses.
Business Use Cases
The Multiple SMTP Domain feature is useful for various business scenarios, including:
-
Marketing and Transactional Email Separation:
- Marketing emails can be sent from [email protected].
- Transactional emails (e.g., password resets, OTPs) can be sent from [email protected].
-
Multi-Brand or Multi-Region Organizations:
- A business managing multiple brands can use @brandA.com for one set of emails and @brandB.com for another.
- A global organization can send emails from region-specific domains, such as @us.company.com for the US and @eu.company.com for Europe.
-
Department-Specific Communication:
- HR-related emails from [email protected].
- Billing invoices from [email protected].
- Technical support responses from [email protected].
-
Custom Engagements Based on Email Types:
- Newsletter emails from [email protected].
- Customer feedback surveys from [email protected].
Enabling Multiple SMTP Domains
To enable this feature, follow these steps:
- Enable Feature
- Setup SMTP
- Customize Sender
- Contact the LoginRadius Support Team and request activation for the Multiple SMTP Domain feature.
- Once approved, the FROM NAME and FROM EMAIL fields will be available for customization in the Admin Console:
If your SMTP provider is not yet configured:
- Navigate to Admin Console > Branding > Email-SMS Provider
- Select your SMTP provider (e.g., SendGrid, Amazon SES, etc.)
- Enter the required credentials:
- SMTP server
- Port
- Username
- Password or API key
- Save the configuration
📘 For detailed setup instructions, refer to the SMTP Configuration Guide.
Once the Multiple SMTP Domain feature is enabled:
- Go to Admin Console > Branding > Email Templates
- Select the email template you want to modify
- Click the Edit button
- Modify the following fields:
- From Name – The sender’s display name
- From Email – The sender’s email address
- Click Save to apply changes
📌 Note:
- The SMTP provider must support multiple domains for this feature to work correctly.
- Ensure SPF, DKIM, and DMARC records are properly configured for each domain to avoid email deliverability issues.
SMTP Setup and Behavior
The following conditions govern the behavior of the Multiple SMTP Domain feature:
- Default SMTP Setup
- SMTP Configured (No Local Customization)
- SMTP Configured (With Local Customization)
- If no SMTP provider is configured, LoginRadius uses its default email settings for FROM NAME and FROM EMAIL.
- The Multiple SMTP Domain feature will not apply unless an external SMTP provider is configured.
- When an SMTP provider is configured, but no customization is made at the individual email template level (i.e., no specific From Name or From Email is set within templates), the system will automatically use the global SMTP configuration values for all outgoing emails.
- This ensures consistency in sender details across every email type unless overridden locally.
If the Multiple SMTP Domain feature is enabled and sender values are defined per template, the system behaves as follows:
-
Case 1:
If the domain ofFROM EMAIL
matches the domain configured in the global SMTP settings, the local sender values are used. -
Case 2:
If the domain ofFROM EMAIL
does not match, the global SMTP values override the local settings. -
Case 3:
If the SMTP provider supports multiple domains (e.g., SendGrid), you can assign different domains to different templates—e.g., use@abc.com
for one email and@xyz.com
for another.
Best Practices
-
Verify Domain Ownership: Ensure that the domains used for sending emails are verified and authenticated with your SMTP provider.
-
Use Consistent Branding: Align sender details with your organization’s branding to maintain credibility and recognition.
-
Monitor Email Deliverability: Regularly check email performance metrics such as bounce rates, spam complaints, and open rates.
-
Test Before Deployment: Send test emails from different templates to confirm that the correct sender details are applied.