• Resolved martinjstephens

    (@martinjstephens)


    We have been able to obtain the Access Token from 365. We enter it into the field and save. The page reloads and claims to have saved the token, however when going back in to the settings, we still see the ‘Please authenticate with Office365 to get Access Token’ when we should be seeing the ‘Your Outlook / Office365 Authentication has been enabled.No further action is needed.If you want to re-authenticate, click here’ message.

Viewing 1 replies (of 1 total)
  • Plugin Support Ibrahim Sharif

    (@ibrahimsharif)

    Hello @martinjstephens,

    Thank you for reaching out to us! I am sorry to hear that you are encountering difficulties while trying to save your Office365 Access Token in FluentSMTP. I understand how frustrating it is to have the settings fail to persist, and I would be happy to help you get this resolved.

    To get to the bottom of why the token is not being saved properly, I would like to investigate the server-side behavior during the save process. Often, there might be a silent conflict or a server-side error preventing the data from being written to the database.

    Could you please enable the WordPress debug log and try saving the token again? This will allow us to capture any underlying errors that might be occurring during that action.

    Here is how you can enable the debug log:

    1. Access your files: Open your wp-config.php file, which is located in the root directory of your WordPress installation.
    2. Locate the debug line: Find the line that says define('WP_DEBUG', false);.
    3. Enable debugging: Change that value to true.
    4. Add the log directive: Insert define('WP_DEBUG_LOG', true); on a new line right below it.

    Your code should look like this:

    define('WP_DEBUG', true);
    define('WP_DEBUG_LOG', true);
    
    1. Save the changes: Once saved, please attempt to save your Office365 Access Token in the FluentSMTP settings once more.

    After you have done this, WordPress will record any errors in a file located at /wp-content/debug.log. Please check that file, and if you see any error messages logged there, kindly copy and paste them into your reply.

    Note: Please remember to disable debugging (set these values back to false) once we have identified the issue, as this ensures your site remains secure and the log file doesn’t grow unnecessarily.

    I look forward to hearing from you so we can get your Office365 integration working smoothly!

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.