• Resolved timb111

    (@timb111)


    EME is sending some booking emails but a half are failing. When I go to “Email Management” > “Search sent emails” it shows that approximately 50% of emails are sent and 50% failed. The test emails seem to working fine.

    The error for the failed messages is the same “There were some problems while sending mail”. Is it possible to see a detailed error message so I can find where the problem is?

    In Settings > Mail, the Mail Sending Method is “WordPress Mail (default)”. And I’m using the latest version 2.1.116.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Franky

    (@liedekef)

    The wp_mail function from WordPress returns only true or false, so I can’t give a specific reason there.
    However WordPress provides a hook so you can debug wp_mail errors, see https://developer.wordpress.org/reference/hooks/wp_mail_failed/
    If you want a specific reason per mail, you should switch to smtp or “php mail” as sending method in EME.

    • This reply was modified 5 years, 1 month ago by Franky.
    Thread Starter timb111

    (@timb111)

    Thanks, I’m looking into these.

    Does EME try to send out emails immediately or does it throttle them? And if they fail the first time then does it retry automatically?

    Plugin Author Franky

    (@liedekef)

    If you activate the mail queuing, then EME can (and will) throttle them. To activate the queue option, see EME settings, tab “mail”. To then configure the throttling, see “Scheduled actions” (where there’s also a hint on how to configure cron for wp better).

    Thread Starter timb111

    (@timb111)

    Ok thanks Franky. I prefer to not throttle as my events are low volume and people expect to receive email confirmations almost immediately.

    Plugin Author Franky

    (@liedekef)

    Then you don’t need to activate the queue, but be aware that EME will not log mail issues then. Of course you could activate the queue and send e.g. 10 mails every 5 minutes too …

    Thread Starter timb111

    (@timb111)

    That’s a good idea, as I think it is best to keep a log.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Some emails send, some fail’ is closed to new replies.