• Resolved kizotux

    (@kizotux)


    Hello,

    I encountered a problem and then I found a solution that could help other users. In the combination of WPML & Elementor Form & FluentSMTP and Outlook or Office 365 connection, sending emails from the web form only works on the original domain and language, if the other languages ​​are in the directories. If you try to send a request via the web form in other languages, you will get an error:

    "code": 422,
    "message": "Unauthorized",
    "errors": [
    "Unauthorized"

    The solution to the problem is to add paths for each language in the Microsoft Entra admin center:

    Home > Enerprise application > All applications > FluentSMTP domain.com | Properties > App registrations > FluentSMTP domain.com

    Under "Authentication" Web - Redirect URLs, you should add the other languages ​​in addition to the basic domain in the main language. For example:

    https://domain.com/wp-json/fluent-smtp/outlook_callback (main language - original record)

    https://domain.com/it/wp-json/fluent-smtp/outlook_callback (Italian language)

    https://domain.com/de/wp-json/fluent-smtp/outlook_callback (German language)

    etc...for all languages ​​used on the site.

    I assume that the same problem occurs with all WP plugins for sending emails through forms that do not solve the path change for callback URLs themselves.

    Best regards
Viewing 3 replies - 1 through 3 (of 3 total)
  • finally it is working !!!
    thank you

    Plugin Support Ibrahim Sharif

    (@ibrahimsharif)

    Hello @kizotux,

    Thank you so much for sharing your solution so thoroughly. This information will undoubtedly assist other users facing the same problem with multi-language setups. We really appreciate you taking the time to document and share your findings.

    It’s a valuable insight that these callback URLs often need manual configuration for different languages, and we’ll definitely keep this in mind for future documentation and potential plugin improvements.

    Thanks again for your contribution to the FluentSMTP community!

    Thread Starter kizotux

    (@kizotux)

    Hello @ibrahimsharif,

    I’m glad if the information helps someone.

    Kind regards

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