email getting SMTPSender: no recipients, email send ignored
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2025 02:55 AM - edited 01-24-2025 03:21 AM
When user enter multiple email addresses on a String field, like abc@test.com;xyz@text.com;pqr@test.com then email notification is getting ignored "SMTPSender: no recipients, email send ignored" this is only in production isntance not on dev and test instance. Please help me out.
Thanks,
Shashank Sharma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2025 11:30 AM
Hi @shashanksha - Try separating with commas vs semi-colon. I believe the system will treat 'abc@test.com;xyz@text.com;pqr@test.com' as one recipient with an illegal character (";") and filter it from the recipient list, leaving no recipient.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2025 01:44 AM
Hello @Sheldon Swift ,
That i understand but when i try same (;) semicolon email id in test and dev instacne it was not showing error to me..See the below image so can u please tell me how this is coming in recepients in dev and test.. error is only in prod.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2025 05:42 AM
This is likely because the non-production instances have a valid email address configured in the glide.email.test.user property, whereas the production instance does not, so the system never attempts to send an email to the recipients list.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2025 05:52 AM - edited 01-31-2025 12:59 AM
Hi Shashank,
Delimiter Issue:
Check if the production instance is using the correct delimiter for separating email addresses. Some systems require commas (,) instead of semicolons (;). Try replacing the semicolons with commas in the email string and see if that resolves the issue.
SMTP Configuration:
Verify the SMTP settings in the production instance. It’s possible that the SMTP server in production is stricter with recipient formatting compared to the dev and test instances. Ensure all email addresses are valid and formatted correctly.Validation in Code:
Check if there’s any email validation logic in your code or system configuration that may be rejecting multiple recipients. Ensure the production instance follows the same validation rules as the dev and test environments.SMTP Logs:
Enable detailed SMTP logging in the production instance to identify why the recipients are being ignored. Look for specific errors or warnings related to email processing.Environment Differences:
Compare the configurations between the production, dev, and test instances. Differences in SMTP settings, environment variables, or libraries (e.g., email-sending libraries) might be causing the issue.Email Size Limitations:
If the combined size of the recipient list exceeds a limit set by the SMTP server in production, the email may be rejected. Check with your email provider for any restrictions.