• Resolved hfaridul

    (@hfaridul)


    I have an odd situation that all my password reset emails were failing but other emails were going fine. Using SES, I got the following on the front end: “Error: The email could not be sent. Your site may not be correctly configured to send emails. Get support for resetting your password.

    And on the back end in FluentSMTP: “code”: 403,
    “message”: “SimpleEmailService::sendRawEmail(): Sender – InvalidClientTokenId: The security token included in the request is invalid.\nRequest Id: df2706f6-1967-42b2-8f8c-b42e0716b933\n”

    I solved the problem by moving to another SMTP plugin.

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

    (@ibrahimsharif)

    Hello @hfaridul,

    I understand you’re experiencing difficulties with password reset emails failing while other emails are being sent successfully.

    As recommended by our expert, it’s essential to enable and view the debug log to check for error logs. Follow these steps:

    1. Open wp-config.php in the root folder of your WordPress installation.
    2. Enable debugging by changing?define('WP_DEBUG', false);?to?define('WP_DEBUG', true);.
    3. Add?define('WP_DEBUG_LOG', true);?to the file.
    4. Save the changes.

    WordPress will now log errors and debugging information to a debug.log file in the wp-content folder. Access this file using an FTP client or your hosting control panel’s file manager.

    Review the debug.log for errors related to password reset emails or SMTP settings. This will help us determine the cause of the issue and provide a tailored solution.

    Please let us know if you have any further questions or require additional assistance. We’re here to help!

    Thread Starter hfaridul

    (@hfaridul)

    I don’t see any error there.

    But found server response from SMTP:

    Server Response{ “code”: 403, “message”: “SimpleEmailService::sendRawEmail(): Sender – InvalidClientTokenId: The security token included in the request is invalid.\nRequest Id: 4a70b318-26c2-4093-b009-ead5cbaac49b\n”, “errors”: [ “SimpleEmailService::sendRawEmail(): Sender – InvalidClientTokenId: The security token included in the request is invalid.\nRequest Id: 4a70b318-26c2-4093-b009-ead5cbaac49b\n” ], “fallback”: “Tried to send using fallback but failed. Mockupia Support <[email protected]>”, “fallback_response”: { “code”: 403, “message”: “SimpleEmailService::sendRawEmail(): Sender – InvalidClientTokenId: The security token included in the request is invalid.\nRequest Id: 720b4022-bfbc-44e9-a6c7-f7fd6e948a62\n”, “errors”: [ “SimpleEmailService::sendRawEmail(): Sender – InvalidClientTokenId: The security token included in the request is invalid.\nRequest Id: 720b4022-bfbc-44e9-a6c7-f7fd6e948a62\n” ] } }

    Plugin Support Ibrahim Sharif

    (@ibrahimsharif)

    Hello @hfaridul,

    Thank you for providing the additional information. I’ve reviewed your ticket and the error message you’ve provided from the server:

    SimpleEmailService::sendRawEmail(): Sender – InvalidClientTokenId: The security token included in the request is invalid.

    This error message suggests that there may be an issue with the authentication token used by your site to connect to SES. I recommend:

    • Disabling all other plugins except FluentSMTP:?This will help us isolate any potential conflicts with other plugins.
    • Testing email sending:?Once you’ve disabled the other plugins, try sending a test email to confirm if the issue persists.

    If the issue resolves after disabling the other plugins, you can try reactivating them one by one to identify the specific plugin that’s causing the conflict.

    Additionally, you might want to check if you are using a Production Access enabled SES account and there might be a firewall or security feature that might be interfering with the requests. Kindly check that too.

    Please let me know the results of your testing, and I’ll assist you further if needed.

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