• Resolved davidjs

    (@davidjs)


    I installed the plugin last week and everything was fine. At some point everything started to fail. What is going on do you think?

    Wpo\Mail\Mailer::update_mail_log -> Could not sent email using Microsoft Graph [Error: Wpo\Mail\Mailer::mg_fetch -> Error occured whilst fetching from Microsoft Graph (https://graph.microsoft.com/v1.0/users/[email protected]/sendMail): cURL error 28: Operation timed out after 5001 milliseconds with 0 bytes received]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Marco van Wieren

    (@wpo365)

    Hi @davidjs

    The issue with cURL timeouts is a difficult one and most likely finds its root cause outside of WPO365. The plugin uses standard WordPress / PHP APIs to connect to Microsoft Graph and in some cases this connections times out because of:

    • Insufficient server-resources e.g. when using shared hosting (most likely)
    • Network connectivity issues
    • Microsoft Graph’s endpoint not being available (extremely rare)

    If the error occurs just once in a while, then you can (and I recommend you do) configure the (premium paid) auto-retry function that is part of the WPO365 | MAIL addon. See https://docs.wpo365.com/article/183-resending-failed-emails-automatically for details.

    Last but not least, if you wish to further analyze this issue, you can – starting with version WPO365 | MICROSOFT GRAPH MAILER 2.31 and WPO365 | LOGIN 28.0 enable cURL verbose logging (see?https://docs.wpo365.com/article/214-enable-curl-verbose). However, this produces rather a lot of debug output. But you can – for example – try to enable it, send a test email and if the error occurred again, quickly return to the plugin’s Debug page and download the log as JSON and send it using the contact form on the website (do NOT post it here because of the sensitive nature of the information).

    Thank you for your patience!

    -Marco

    Plugin Author Marco van Wieren

    (@wpo365)

    Hi @davidjs

    I am closing this issue due to inactivity.

    Best wishes

    -Marco

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.