e-Challan System

How to Get Your SMTP Details

To send invoices and notifications from your own email address (instead of the default), you need 4 things from your email provider: Host, Port, Username and Password. Find your provider below.

Gmail Yahoo Mail Outlook / Microsoft 365 Rediffmail Own domain — Hostinger Own domain — GoDaddy Test failed? Fix it here
Gmail
Important — "Less Secure Apps" is permanently removed (since May 2025)
Google completely shut down the old "Less Secure Apps" option. Your normal Gmail password will never work for SMTP now — an App Password is the only way. There is no workaround.

How to get your Gmail App Password — step by step:

  1. Go to myaccount.google.comSecurity tab
  2. Under "How you sign in to Google", turn on 2-Step Verification if it's not already on (required before App Passwords appear)
  3. Once 2-Step is on, go directly to myaccount.google.com/apppasswords
  4. In the "App name" box, type anything (e.g. e-Challan) → click Create
  5. Google shows a 16-character password in a yellow box — copy it immediately (it won't show again)
  6. Paste that 16-character code into the SMTP Password field — do not use your normal Gmail password
Hostsmtp.gmail.com
Port587
EncryptionSTARTTLS
Usernameyour full Gmail address (e.g. you@gmail.com)
Passwordthe 16-character App Password from step 5 above

Port 465 + SSL / TLS also works as an alternative. Daily sending limit: 500 emails/day (personal Gmail), 2,000/day (Google Workspace).

Yahoo Mail

Yahoo's normal login password is permanently blocked for SMTP — an App Password is required, regardless of whether 2-step verification is on or off.

How to get a Yahoo App Password:

  1. Go to login.yahoo.com/account/security
  2. Scroll to "External connections" → click Generate app password
  3. Select the app type (choose "Other app") → give it a name (e.g. e-Challan) → click Get app password
  4. Copy the password shown and paste it into the SMTP Password field
Hostsmtp.mail.yahoo.com
Port587
EncryptionSTARTTLS
Usernameyour full Yahoo address (e.g. you@yahoo.com)
Passwordthe App Password from step 4 — not your Yahoo login password

Note: The App Password remains active even if you change your main Yahoo password. To invalidate it, delete it from the Yahoo security page. Port 465 + SSL / TLS also works.

Outlook.com / Microsoft 365
Both personal Outlook and Microsoft 365 accounts use port 587 with STARTTLS encryption. SSL / TLS (port 465) does not work with Microsoft SMTP — always select STARTTLS.
Microsoft 365 — Important Notice for Work Accounts
Microsoft is phasing out Basic Authentication (username + password) for SMTP. From December 2026, new tenants will require OAuth 2.0 instead of App Passwords for SMTP. If your organization's IT admin has already disabled Basic Auth, this SMTP method may not work — contact your IT team to check the current policy and available alternatives.

Personal account (outlook.com, hotmail.com, live.com)

Hostsmtp-mail.outlook.com
Port587
EncryptionSTARTTLS
Usernameyour full Outlook/Hotmail address
Passwordyour normal password, or an App Password from account.live.com/proofs/AppPassword if 2-step verification is on

Work/business account (Microsoft 365 / Office 365)

Hostsmtp.office365.com
Port587
EncryptionSTARTTLS
Usernameyour full work email address
Passwordsee Reason 1 / Reason 2 below — normal password rarely works
Microsoft 365 — 2 most common reasons test fails

Reason 1 — MFA (Multi-Factor Authentication) is ON

If your account has MFA/2-step verification enabled, your normal password won't work for SMTP. You need a dedicated App Password.

How to create an App Password:

  1. Go to myaccount.microsoft.com → click Security info
  2. Click + Add sign-in method → choose App password
  3. Give it a name (e.g. "e-Challan") → Microsoft shows a generated password
  4. Copy that password and paste it into the SMTP Password field
  5. Do not use your normal Microsoft account password

Reason 2 — SMTP AUTH is disabled for your mailbox

Microsoft 365 sometimes disables SMTP AUTH by default for work accounts. This must be enabled by your organization's IT admin — no App Password will help until this is done.

Steps for IT Admin:

  1. Go to admin.microsoft.comUsersActive users
  2. Click on the user's email address (e.g. yourname@company.com)
  3. Open the Mail tab → click Manage email apps
  4. Tick Authenticated SMTP → click Save changes
  5. Wait 5–10 minutes, then test again

Not sure which one applies? Start with Reason 1 — try creating an App Password first. If authentication still fails after that, Reason 2 (SMTP AUTH) is the issue and you'll need your IT admin.

Rediffmail

Rediffmail uses your normal login password for SMTP — no App Password system. First confirm SMTP access is enabled:

  1. Log in to mail.rediff.com → go to Settings → POP/IMAP/SMTP Access
  2. Make sure SMTP Access is turned ON
  3. Use your normal Rediffmail login password as the SMTP password
Free accountsmtp.rediffmail.com
Pro / Businesssmtp.rediffmailpro.com
Port587
EncryptionSTARTTLS
Usernameyour full Rediffmail address
Passwordyour normal Rediffmail login password

For Rediffmail Enterprise/Pro accounts, your admin can enable/disable SMTP access per mailbox from the admin panel.

Own Domain — Hostinger

If you bought your domain and email hosting from Hostinger (e.g. you@yourcompany.com):

  1. Log in to hPanelEmails → your email account → "Connect Apps & Devices"
  2. Hostinger shows the exact host/port for your account there — use those values
  3. Use the mailbox password (the one set when creating the email in hPanel) — NOT your hPanel login password
Hostsmtp.hostinger.com (Titan-powered mailboxes: smtp.titan.email — check hPanel)
Port (primary)465
Encryption (primary)SSL / TLS
Port (alternative)587
Encryption (alt.)STARTTLS
Usernameyour full you@yourcompany.com address
Passwordthat mailbox's password from hPanel (not your hPanel/cPanel password)
Own Domain — GoDaddy

If your domain's email is hosted on GoDaddy (Workspace Email). For Microsoft 365 via GoDaddy — use the Microsoft 365 settings above instead.

  1. Log in to GoDaddy → My Products → Email & Office
  2. Use the Workspace Email password (set when creating the mailbox) as the SMTP password
Hostsmtpout.secureserver.net
Port (primary)465
Encryption (primary)SSL / TLS
Port (alternative)587 (recommended if port 465 is blocked)
Encryption (alt.)STARTTLS
Usernameyour full you@yourcompany.com address
Passwordthat Workspace Email mailbox's password
Test Failed? Find Your Error Below

Match the error message shown after clicking "Send Test Email" with one of these — each has a specific fix.

"Could not authenticate"  /  "Authentication failed"  /  "Username and Password not accepted"
Cause: Your normal email password won't work for SMTP — you need a special App Password.
Fix by provider:
  • Gmail: Go to myaccount.google.com/apppasswords → create an App Password → use the 16-character password shown (not your Gmail password). 2-Step Verification must be ON first.
  • Outlook.com / Hotmail / Live: Go to account.live.com/proofs/AppPassword → create an App Password → use that instead of your normal password.
  • Microsoft 365 (work email): Two possible causes — (a) MFA is on: create an App Password via your Microsoft account security settings, or (b) SMTP AUTH is disabled for your mailbox: your IT admin must enable it in Microsoft 365 Admin Center → Users → [your email] → Mail → Email apps → tick Authenticated SMTP.
  • Yahoo Mail: Go to login.yahoo.com/account/security → Generate App Password → use that.
  • Rediffmail: Use your normal Rediffmail password — if it fails, log in to Rediffmail web and confirm Settings → POP/IMAP/SMTP Access is turned on.
"Connection timed out"  /  "Could not connect to SMTP host"  /  SMTP code 110
Cause: Wrong port, wrong encryption, or the host name is incorrect. The connection never reached the email server.
Fix:
  • Make sure Encryption matches PortSTARTTLS → 587, SSL / TLS → 465. Mixing them always causes a timeout.
  • Microsoft 365 / Outlook: Must use STARTTLS + 587. SSL/TLS on 465 is not supported by Microsoft SMTP — if it was set to SSL, switch to STARTTLS and test again.
  • Double-check the Host field — a single typo (e.g. smtp.gmai.com) will timeout immediately.
  • If the right settings still timeout, your internet connection or server may be blocking outbound port 587 — try port 465 + SSL / TLS instead.
"SMTP AUTH extension not supported"  /  "5.7.57 Client not authenticated"
Cause: Microsoft 365 has SMTP AUTH turned off for this mailbox. This is a Microsoft admin setting — your normal password or App Password won't help until this is fixed.
Fix (requires Microsoft 365 admin access):
  1. Log in to admin.microsoft.com
  2. Go to Users → Active users → click on the affected email address
  3. Open the Mail tab → click Manage email apps
  4. Tick Authenticated SMTP → Save
  5. Wait 5–10 minutes, then test again
Test says "Success" but email never arrives?
  • Check your Spam / Junk folder — first email from a new sender almost always lands there.
  • The test email is sent to your own account's email address — make sure that address is correct in your profile.
  • If it's consistently going to spam, add your sending domain to your email's safe-senders list.
Quick Reference — Why Normal Passwords Don't Work
GmailNormal password blocked since 2022 → App Password required (2-Step Verification must be ON)
Yahoo MailSame — normal password blocked → App Password required
Outlook.comNormal password works only if MFA is off — if MFA is on → App Password required
Microsoft 365Normal/App Password AND SMTP AUTH must be enabled by your IT admin
RediffmailNormal password works — just make sure SMTP access is enabled in settings
Hostinger / GoDaddyNormal password works — use the mailbox password from your hosting panel