• Resolved ntjedge

    (@ntjedge)


    Hello,

    Lovely plugin!

    Recently, I am seeing an error “Oops! Something went wrong!” when sending email. The emails are plain text without any images or attachments. We are sending approx. 400 emails out of which around 110-120 emails are sent and then we get the above error message. The logs also don’t show anything about it.

    We are using Amazon SES and connected via API with pretty good sending limits so there are no issues there. When sending through other services, the emails are sent perfectly fine.

    We have even tried increasing the PHP max_execution_time but the result is the same.

    What could be causing the issue? Any pointers?

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Suman Bhattarai

    (@metalfreek)

    Hello @ntjedge Amazon SES has some weird limits in place. I looked at their limits here https://docs.aws.amazon.com/ses/latest/dg/quotas.html

    Are you sure you are well within the limits? My first suspicion is that you are in some way hitting the limits. Once the limit is hit, some exception is thrown and plugin is throwing this error. If there is a way to figure out by contacting support on AWS, can you reach them out.

    Next issue might be PHP max execution time but this depends on number of emails you are sending at a time. If you have lots of users, I recommend sending only few emails at a time by using ID range filter. In your case it seems like 80-100 email at a time is sweet spot.

    Also, if there is a error log you can access please check for error left by this plugin. Error message should contain text send-users-email text somewhere.

    Let me know what you figure out.

    Thread Starter ntjedge

    (@ntjedge)

    Hi Suman,

    Thanks for getting back. The AWS limits are not hit as our mail quota is much higher (100,000+ per 24hr period with a send rate of 40 mails/second)

    My initial suspicion was with PHP max execution time but I have already updated that. Most importantly, I get the error almost immediately when I click Send Message. The status bar is hardly at 15% and the error pops up.

    I checked the error log and there is no errors logged. It only has “email sent” logs (upto the last user it was sent to). An example is below,

    ——————————————————————–

    [2023-08-28 03:01:09] EMAIL SENT | ADDRESS: [email protected] | SUBJECT: EMAIL TEST – PLEASE IGNORE | VIA: user | CONTENT: This is a test – please ignore.

    ——————————————————————–

    Also note that we are not sending emails to outside domains. All emails are within the domain itself (both sender/receiver)..

    I will still try running the same install on another server to see if its really the PHP issue and get back to you.

    If you have any more suggestions, would be greatly appreciated.

    Thanks again.

    Plugin Contributor Suman Bhattarai

    (@metalfreek)

    @ntjedge You seem to have a pretty generous limit so its likely that this is not the issue. What is your Max execution time right now and how many users were you trying to send email to?

    Plugin Contributor Suman Bhattarai

    (@metalfreek)

    @ntjedge Haven’t heard from you in a while. I hope you have sorted your issue. If not feel free to open new thread. Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Oops! Something went wrong! – Mails sent to some users only’ is closed to new replies.