FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    where to enter smtp credentials

    Scheduled Pinned Locked Moved
    General Discussion
    0
    10
    2.5k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      richb201
      last edited by richb201

      I am getting this error when I try to send a test email through tenents:

      Unable to send email via JavaMail535 Authentication Credentials Invalid

      Where should I enter the credentials that my smtp server needs?
      The instructs say to enable smtp. Where is that done? I dont see an enable toggle.

      Also while I have your attention, I want to have my users initiate a passwordless registration/login via my wordpress site. I will be self hosting this. Can you point to any docs that describe such a scenerio?

      1 Reply Last reply Reply Quote 0
      • danD
        dan
        last edited by

        @richb201 ,

        You can configure the email settings on a per-tenant basis. Here's some documentation on the available settings: https://fusionauth.io/docs/v1/tech/core-concepts/tenants/#email

        I'm not sure which SMTP server you are using, but if they require custom headers (which I believe AWS SES does) then there's an open issue for that: https://github.com/FusionAuth/fusionauth-issues/issues/628

        --
        FusionAuth - Auth for devs, built by devs.
        https://fusionauth.io

        1 Reply Last reply Reply Quote 0
        • R
          richb201
          last edited by

          Thanks Dan. I did have it going previously with SES but I lost that configuration. Is there some fusionauth config file that I could search my hard drive for? That could save me a huge amount of effort.

          1 Reply Last reply Reply Quote 0
          • R
            richb201
            last edited by richb201

            Dan, SES requires a SMTP username and password. I have them. But where do I enter them in the FA UI? I do see a place for a username in the SMTP setup in Tenant. But how about the password? where does that go?

            1 Reply Last reply Reply Quote 0
            • R
              richb201
              last edited by richb201

              OK. I figured it out and I am posting this for all the other users who get this error with the SMTP test. It only took me about 8 hours to figure this out :(. The password field disappears after a password has been attempted, even if it is wrong. The only way to fix it is to delete the entire tenant and enter the data again. This should be documented. In searching through the forum this is a very common problem with a super simple answer. The password field just disappears by itself. I guess it is a feature:).

              danD 1 Reply Last reply Reply Quote 0
              • danD
                dan @richb201
                last edited by

                @richb201

                Hmm. Thanks for sharing this so others can benefit from it! That sounds pretty frustrating.

                Out of curiosity, did you see the Change password toggle field on the email settings page? Or was that missing too?

                Screen Shot 2021-03-04 at 5.29.21 PM.png

                --
                FusionAuth - Auth for devs, built by devs.
                https://fusionauth.io

                1 Reply Last reply Reply Quote 0
                • R
                  richb201
                  last edited by richb201

                  That was there! I was wondering about that but was scared to eff with it. That is the way to enter a password? You guys should change the label to "change SMTP password". Even now I would be concerned that it change my SMTP password on AWS.

                  Dan, playing with trial and error is a great way to eff things up on an almost working system.

                  1 Reply Last reply Reply Quote 0
                  • danD
                    dan
                    last edited by

                    really appreciate the feedback and glad it wasn't a deeper bug. I'll convey this feedback to the product team and we'll see if we can make it clearer.

                    --
                    FusionAuth - Auth for devs, built by devs.
                    https://fusionauth.io

                    R 1 Reply Last reply Reply Quote 0
                    • R
                      richb201 @dan
                      last edited by richb201

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • danD
                        dan
                        last edited by

                        Thanks @richb201 , appreciate the UI suggestions! I'll take a look as we definitely don't want folks to be confused/frustrated by the user interface.

                        Cheers,
                        Dan

                        --
                        FusionAuth - Auth for devs, built by devs.
                        https://fusionauth.io

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post