You need to sign in to do that
Don't have an account?
Messaging.sendEmail issue on production
Hi,
I used Messaging.sendEmail(List_of_50emails, false) to send out emails to 50 different email addresses at the single sendEmail call.
And each email sent have bcc to myself to make sure that all of the 50 recipients get their emails.
I test this on sandbox and I recieved 50 bcc emails just fine. But on production, I recieved only 25 bbc emails back. No matter how many time I tried.
I check the SF Email Logs for a specefic recipient who didn't get the email, and there is no log on that email delivery either. So I assume the system didn't send out emails to some ppl on the emails list at all.
Any advise on where to look would be really helpful. It's pretty emergency to fix this issue.
Thank you very much.
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_email_outbound_sendemailresult.htm#apex_classes_email_outbound_sendemailresult
Could you please provide the code please which you have written ?
and also let me know the edition of ur org.
Thanks logontokartik and Amit K A.
logontokartik , I had SendEmailResult in place as a Apex debug log, but since it was possible to know which Community user will hit this sendEmail piece, so I cannot use Monitoring > Debug log to capture this info ealier. So I'm implementing some code to record SendEmailResult on every Community user into a Custom object and push it to production and hope it will give me some useful information to fix this issue.
Amit K A, it's Enterprise edition and this is a code: