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

smtp server gmail setup error

Scheduled Pinned Locked Moved
General Discussion
3
3
752
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 28 Jun 2021, 07:05

    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
    • J
      joshua
      last edited by joshua 7 Jan 2021, 20:14 1 Jul 2021, 20:11

      @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 27 Dec 2021, 06:51

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