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

    smtp server gmail setup error

    Scheduled Pinned Locked Moved
    General Discussion
    3
    3
    742
    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.
    • I
      innospaceauto
      last edited by innospaceauto

      Gmail SMTP setup settings:
      SMTP username: Your Gmail address
      SMTP password: Your Gmail password
      SMTP server address: smtp.gmail.com
      Gmail SMTP port (TLS): 587
      SMTP port (SSL): 465
      SMTP TLS/SSL required: yes

      not able to send mail on user creation with these settings.

      the error I am getting is this.
      Unable to send email via JavaMail
      Prime Messaging Exception

      1 Reply Last reply Reply Quote 0
      • joshuaJ
        joshua
        last edited by joshua

        @innospaceauto,

        There are a couple of steps that you can take to remedy this.

        The first step is to turn on the mail debug logs.

        mail.debug=true in the advanced settings on the tenant.

        The second step is to confirm that you are able to send a test email.

        Additional details can be found in our troubleshooting guide.

        https://fusionauth.io/docs/v1/tech/troubleshooting/#troubleshooting-email.

        Finally, Gmail, especially with recent security upgrades, may require you to have MFA enabled or not allow apps to access its SMTP servers unless specifically allowed.

        I was able to get a test email to send from my personal account by generating an "application password" and using SSL to send.

        https://support.google.com/accounts/answer/185833
        https://support.google.com/mail/answer/7126229?hl=en

        I hope this helps!

        Thanks,
        Josh

        1 Reply Last reply Reply Quote 1
        • E
          elvisfreb
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • First post
            Last post