Deliverability

Zoho SMTP 535 5.7.8 Authentication Failed on Free Plans

Zoho's "535 5.7.8 Authentication Failed" means the server rejected your SMTP login. The usual causes are 2FA without an app password, a free Zoho plan with no SMTP access, or the wrong regional server. Generate an app password, copy the host and port from your own account, and confirm your plan includes SMTP.

Sohail HussainSohail Hussain8 min read

Short answer

  • If two-factor authentication is on, generate an application-specific password in Zoho and use it as the SMTP password, with your full email address as the username.
  • If that does not help, copy the SMTP host and port from your own Zoho Mail settings (regional servers and smtp vs smtppro matter), and confirm your plan includes IMAP/SMTP access.
  • Reports say free custom-domain mailboxes created after 2017 are webmail only, so no client setting can fix those.

You set up a Zoho custom-domain mailbox in msmtp, PHPMailer or Mailspring and the login is refused:

535 5.7.8 Authentication Failed
msmtp: authentication failed (method PLAIN)

Webmail works with the same password, which makes it more confusing. The server is answering; it just rejects the credentials your client sent.

Why Zoho returns 535 5.7.8

535 is the SMTP reply for a failed authentication, and 5.7.8 is the enhanced status code for invalid credentials. Zoho's server said it. msmtp, PHPMailer and Mailspring only pass the message along, so the wording differs per client while the cause is the same. "Method PLAIN" only names the login mechanism msmtp tried; it is not a separate problem. Because the server replied, a blocked port or firewall is unlikely; those usually show as timeouts or "connection refused".

Causes, most common first:

  1. Two-factor authentication is on and you used the normal password. Vendor help pages for Zoho-based setups say the regular password will not work for SMTP once 2FA is enabled; you need an application-specific password.
  2. The plan has no SMTP/IMAP access. People on Zoho's community forum report that free accounts created after 2017 are webmail only. I could not confirm the current rule on a Zoho page, so treat it as a likely cause and verify it with Zoho.
  3. Wrong server for the account type or data center. A wrong host returns a credentials failure, not a "wrong region" message.
  4. IMAP access is switched off, or the TLS mode does not match the port.
  5. A typo or stale password. Spaces pasted with the app password, or a username without the domain.

Step-by-step fixes

Fix 1: use an app password

  1. Sign in to your Zoho account and open Security in Zoho Accounts.
  2. Find App Passwords and generate a new one. Name it after the client, for example msmtp-laptop.
  3. Copy it right away; Zoho shows it once.
  4. Paste it as the SMTP password, with no leading or trailing spaces.
  5. Use the full address (you@example.com) as the username, not the part before the @.

Use one app password per client so you can revoke one without breaking the others. If you already made one and it fails, delete it and create a new one before looking elsewhere.

Tip

App passwords are only needed when two-factor authentication is on. If 2FA is off and the normal password fails, move on to the plan and server checks.

Fix 2: check that your plan includes SMTP

Signs this is your problem:

  • Webmail works, but every SMTP login fails, even with a fresh app password.
  • The IMAP access setting or the SMTP details are missing in Zoho Mail settings.
  • The error is identical on every client and every port.

If that matches, no client setting will fix it. You can upgrade the mailbox plan, or send for that domain through a different provider. Ask Zoho support whether your specific plan includes SMTP, and check Zoho's pricing page for the current plan terms (as of November 2026). Third-party help pages, such as lemlist's and Instantly's, still list settings for Zoho free organizations, so the rules may have shifted; Zoho's answer for your account is the one that counts.

Fix 3: use the right host and port

Vendor help pages for tools that connect to Zoho (HighLevel, Instantly) say smtp.zoho.com is for personal @zoho.com addresses and smtppro.zoho.com is for domains hosted with Zoho. Other vendor pages, lemlist's among them, show smtp.zoho.com for custom domains. Those disagree, so do not trust any list, including mine.

Open your Zoho Mail web settings, go to Mail Accounts, find the SMTP details for your mailbox and copy the host and port from there. Zoho also runs regional data centers; the address bar of your webmail (mail.zoho.com, .eu, .in, .com.au, .jp) tells you which one holds your account, and the SMTP host normally follows the same region.

SettingValue
HostCopy from your account's SMTP page
Port 465SSL/TLS from the first byte
Port 587STARTTLS
UsernameFull email address
PasswordApp password if 2FA is on
AuthenticationRequired

Fix 4: enable IMAP and match TLS to the port

Clients like Mailspring configure IMAP and SMTP together and fail on the first error. A lemlist help page gives the route to enable IMAP as Settings > Mail Accounts > Configure IMAP, then tick IMAP Access; menu labels can change, so look for the IMAP setting if yours differs.

Then match TLS to the port. For port 465 in ~/.msmtprc:

account zoho
host smtp.zoho.com
port 465
tls on
tls_starttls off
auth on
user you@example.com
passwordeval "cat ~/.zoho-app-password"
from you@example.com

For port 587, use port 587 and tls_starttls on. Replace the host with the value from your own account.

PHPMailer on port 465:

$mail->isSMTP();
$mail->Host       = 'smtp.zoho.com';
$mail->SMTPAuth   = true;
$mail->Username   = 'you@example.com';
$mail->Password   = 'your-app-password';
$mail->SMTPSecure = PHPMailer::ENCRYPTION_SMTPS;
$mail->Port       = 465;

For port 587 use PHPMailer::ENCRYPTION_STARTTLS.

Warning

Do not paste an app password into a shared config file or a support ticket. If it leaks, delete it in Zoho Accounts and create a new one.

Fix 5: test outside your app

Test once with swaks to separate a credential problem from a client problem:

swaks --to test@example.net --from you@example.com \
  --server smtp.zoho.com --port 587 --tls \
  --auth LOGIN --auth-user you@example.com --auth-password 'your-app-password'

If swaks also returns 535 5.7.8, the password, plan or server is the problem. If swaks succeeds and your app fails, look at the app's TLS mode, username and password field.

Which cause fits your symptoms

SymptomLikely causeFix
2FA on, normal password usedNeeds app passwordFix 1
Webmail works, every client failsPlan without SMTPFix 2
Account outside the US, or host copied from a tutorialWrong host or regionFix 3
Mailspring fails at IMAP stepIMAP access offFix 4
swaks works, app failsClient TLS or field mix-upFix 4

Checklist before you try again

  • The username is the full email address.
  • The password is a freshly generated app password if 2FA is on, with no spaces.
  • Host and port were copied from your own Zoho SMTP settings.
  • Port 465 uses SSL/TLS and port 587 uses STARTTLS.
  • IMAP access is enabled in Zoho Mail.
  • You have confirmed that your plan includes SMTP/IMAP access.

Using a Zoho mailbox with Mailneo

Mailneo can send through a Zoho mailbox connected as a custom SMTP account. It has IMAP server auto-discovery and a connection test, which is a quick way to check whether your credentials work (see the email accounts documentation). The same Zoho rules apply: the app password, the right host and a plan with SMTP access. Mailneo cannot change your Zoho plan, server or two-factor settings, so a 535 from Zoho has to be fixed on the Zoho side first.

If nothing works

Contact Zoho Mail support, not your client's vendor. Send the exact error text, the host and port you used, the time of the failure with timezone, the mailbox address, your plan name, and a note that swaks fails too (or not). Never send the password.

Subject: SMTP 535 5.7.8 Authentication Failed on my Zoho Mail mailbox

Hello,

SMTP login fails for you@example.com.
Error: 535 5.7.8 Authentication Failed (msmtp: authentication failed, method PLAIN)
Host and port: smtp.zoho.com:587 (STARTTLS)
Time of last failure: 2026-11-30 14:05 UTC
Plan: {your plan name}
2FA: enabled, a new app password was generated today
Webmail login works. The same error appears in swaks.

Does my plan include SMTP/IMAP access, and which SMTP host should I use for my data center?

Thank you

Common questions

Do free Zoho accounts support SMTP?

People on Zoho's community forum report that free accounts created after 2017 are webmail only. Confirm with Zoho support or the pricing page, because plan terms change.

Should I use smtp.zoho.com or smtppro.zoho.com?

Vendor help pages say smtppro.zoho.com is for domains hosted with Zoho and smtp.zoho.com for personal addresses, but not every page agrees. Copy the value shown in your own account's SMTP settings.

Do I need an app password if 2FA is off?

No. App passwords matter when two-factor authentication is enabled. With 2FA off, a failing normal password points to a typo, the plan, or the host.

Why does webmail work but SMTP fails?

Webmail uses a browser session, not SMTP or IMAP access. A plan without SMTP, a missing app password under 2FA or a wrong host will break clients while webmail keeps working.

deliverabilityzohoerror-codes
Share this article
Sohail Hussain

Sohail Hussain

Founder & CEO at Mailneo

Building Mailneo — AI-powered email marketing for growing businesses.

Related Articles

Deliverability

Emails going to Outlook junk but Gmail is fine: how to fix it

Mail that reaches Gmail but lands in Outlook.com or Hotmail junk is usually failing authentication, sending from a shared domain with a weak reputation, or tripping Microsoft's own filters. Read the message headers first, then publish SPF, DKIM and DMARC on your own domain and check your sending reputation.

Sohail Hussain|10 min read
Deliverability

0x800ccc0e: Outlook Unable to Connect to SMTP Server, Fixed

Outlook error 0x800ccc0e means the app could not open a connection to your outgoing (SMTP) server. Usually the port, encryption setting or password is wrong, or antivirus, a firewall or your ISP is blocking it. Set port 587 with STARTTLS, turn on SMTP authentication, and test again.

Sohail Hussain|10 min read
Deliverability

SocketLabs "421 4.5.1 Too many errors" blacklist: how to fix it

`421 4.5.1 Too many errors, you have been temporarily blacklisted` means a SocketLabs server saw repeated auth or bad-address errors from your IP and paused it. Stop whatever is retrying, fix credentials and invalid recipients, clear the queue, and wait. The block usually lifts within minutes, but returns if retries resume.

Sohail Hussain|9 min read
Deliverability

421-4.7.0 Gmail Has Detected This Message Is Suspicious: Fix

The 421-4.7.0 "suspicious due to the nature of the content and/or the links" error means Gmail's content filter rejected your message after DATA, not an authentication check. Remove click tracking or move it to your own domain, drop URL shorteners, check link reputation, then retest with a plain message.

Sohail Hussain|10 min read

Ready to supercharge your email marketing?

Start sending smarter emails with AI-powered campaigns. No credit card required.

Get Started Free