Support » Plugin: WP Mail SMTP by WPForms » redirect_uri_mismatch

  • Resolved stevebutler2


    Hi, I have just installed the plugin and gone through the authentication for Gmail.

    However, I keep getting an error message when I authorise the app “400. That’s an error.

    Error: redirect_uri_mismatch

    I have copied the URL from the app as shown in the documentation and checked the auth parameters to make sure there is no space.

    Any idea what I am doing wrong, please?

    Thanks for your help.


Viewing 6 replies - 1 through 6 (of 6 total)
  • Bigtrousers


    I am getting this error also

    Plugin Author Slava Abakumov



    You might not have actually saved the URL in a project. You need to add it and then save, it will require 2 steps to add. You can check that it persists by doing a page refresh.
    It should look like this AFTER page refresh with your domain:

    I am having this same problem. I have confirmed the URI is saved and authorized, but the smtp plugin keeps giving me this error.

    (UPDATE:) Its working. Just took a very long time for google to see it. Also helped to open a private browser window to get around the cache.

    • This reply was modified 4 months, 3 weeks ago by  VanAwful.

    I have this exact problem with error message in the final step after clicking the orange button “Allow plugin to send emails…”

    This thread gives me a hint. It turns out, this is bad user UI on Google end. After entering the URI in the Authorized redirect URIs under Google account, little I knew that you would need to hit the enter key ‘before’ hitting the Save button. The Save button is confusing to make you think you are really saving the settings.

    You may want to emphasize this little part in documentation to save some headaches.

    Plugin Support Jess Quig


    Hi skylabb,

    I wanted to let you know we’ve added a note about this in our Gmail SMTP doc. Thanks for catching this!



    Hi, I have this error also. I was trying to set this plugin up for someone last week and they were not able to verify in time, so I’m thinking it may have timed out. I set up a new project but neither the earlier one or the new one will load. Just get the above error?

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