How to Get SMTP Credentials from xPanel

How to Get SMTP Credentials from xPanel
The Problem: Many users struggle to find their outgoing mail server details after creating a domain in xPanel. Without these SMTP credentials, you can't connect your email to external apps, CRMs, or Laravel `.env` files.

Step-by-Step Guide

  1. Log in to xPanel: Access your dashboard via your hosting provider.
  2. Open the Mail Section: Locate the "Mail" icon in your main dashboard menu.
  3. Hover for Options: Find your domain name in the list. Hover your mouse over the row; 7 hidden icons will appear.
  4. Click the Plus (+) Icon: Select the first icon on the left (the + symbol) to Add Mail Account.
  5. Retrieve Credentials: After adding the account, look at the top-right corner of that specific account interface. Your SMTP Host, Port, and Username will be displayed there.
1. xPanel Login 2. Mail Section 3. Add Account 4. Get Credentials

Pro Tip: Port 465 vs 587

Port 465 (SSL)

Best for modern apps. Encrypts the connection immediately. Recommended for Laravel.

Port 587 (TLS)

A "STARTTLS" port. Starts plain and upgrades to secure. Use this if 465 is blocked by your ISP.

Comments (0)
Login or create account to leave comments

We use cookies to personalize your experience. By continuing to visit this website you agree to our use of cookies

More