Theme editor

Guide XenForo XenForo Gmail SMTP Setup (2025 Updated Guide)

  • Thread starter Thread starter CL4Y
  • Start date Start date
  • Views 184

CL4Y

Keyboard Ninja
Administrator
Thread owner

📧 XenForo Gmail SMTP Setup (2025 Updated Guide)

For forum email notifications to work properly, it’s crucial to configure SMTP settings correctly.
In this guide, we’ll explain step-by-step how to set up Gmail (Google Mail) as your SMTP provider in XenForo.

⚠️ Note: To use Gmail SMTP, 2-Step Verification must be enabled on your Google account, and you’ll need to create an App Password.



🛠️ Step 1: Log In to Your Google Account

First, go to gmail.com and sign in to your email account.
Click your profile picture in the top-right corner and select Manage your Google Account.

jetto-xenforo-gmail-smtp-setup-1.gif




🔐 Step 2: Enable 2-Step Verification in Your Google Account

  • Go to the Security section from the left-hand menu.
  • Scroll down and find 2-Step Verification.
  • Follow the steps to enable it.
jetto-xenforo-gmail-smtp-setup-2.gif

This feature is required in order to create an App Password.



🔍 Step 3: Create an App Password

In the same Security section, click on the search bar and type “App Passwords”.
Select the first result — Google will ask you to verify your account again for security reasons.
Enter your password to continue.

jetto-xenforo-gmail-smtp-setup-3.gif




🆕 Step 4: Generate a New SMTP App Password

  • In the App Passwords window, type XenForo SMTP in the App name field.
  • Click Create to generate the password.
Google will now display a randomly generated password. Copy and save it somewhere safe — this password will only be shown once.

jetto-xenforo-gmail-smtp-setup-4.gif




⚙️ Step 5: Configure SMTP Settings in XenForo

Log in to your XenForo Admin Panel and navigate to:
Admin Control Panel > Setup > Options > Email Options

Fill in the fields as follows:
  • SMTP Host: smtp.gmail.com
  • SMTP Port: 465 (SSL) or 587 (TLS)
  • SMTP Login Username: your Gmail address
  • SMTP Password: App password generated from Google (⚠️ Paste it without removing any spaces)
jetto-xenforo-gmail-smtp-setup-5.gif




✅ Your forum can now securely send confirmation emails, notifications, and password reset messages through Gmail’s SMTP server.

jetto-xenforo-gmail-smtp-setup-6.webp
 
Back
Top