• Resolved exetico

    (@exetico)


    Hi

    First of all, thank you for packing this up in a great plugin for WordPress!

    My site are not working as expected. I’ve followed the guide, but no mails was sent.

    I’ve now walked all the way through each lib, to see where it goes wrong, and mail-integration-365/libs/vendor/league/oauth2-client/src/Provider/AbstractProvider.php returns the following error:

    Client error:POST https://graph.microsoft.com/v1.0/me/sendMailresulted in a404 Not Foundresponse:

    I would just like to point out, if a (maybe not that technical person) person are trying to sent mails without the proper subscription, or whatever else, it’s **very** hard to track down the error, cause (as pr. my understanding) I’ve not found the error-log or simular thing to slot this error.

    I ended up running through the code and error_log(ging) every step, to see where it did go wrong, to error_log all the request from the lib.

    That’s just my feedback. Overall a great plugin!

    And… Did I get my mailiing solution to work? Well, that’s still unclear – waiting on answer, to calidate that’s my current service supports the sendMail action in Microsoft Graph.

Viewing 2 replies - 1 through 2 (of 2 total)
  • @exetico thanks for the feedback, I know the logging is an area for significant improvement, but I’m afraid my PHP skills haven’t focused that much on error handling. I did try and make a log handler, but it seemed to crash WordPress and I haven’t had the time to figure out best practice as yet. I’m sure its exceptionally simple and I’m doing something silly.

    Thread Starter exetico

    (@exetico)

    You’re welcome. I ended up using the normal SMTP-way with Microsoft O365 for the project. But I’d like to give the modern way a try, at some point.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Improved error visibility? Graph Microsoft.com – 404 Not Found’ is closed to new replies.