Your SMTP username is the login credential your email client uses to send mail through your email provider's server
SMTP stands for straightforward Mail Transfer Protocol — it is the system that actually sends your email out into the world. Unlike receiving mail (which uses IMAP or POP3), sending mail requires you to prove who you are to your email provider's outgoing server. That proof is your SMTP username.
In most cases, your SMTP username is identical to your email address itself. If your email is jane@example.com, you log in to send mail with jane@example.com as the username. Some providers — particularly older corporate systems or hosting accounts — use a different format, but the email address is the standard starting point.
You need this credential when you set up email on your phone, tablet, desktop client, or any process that sends mail on your behalf. Without it, your device cannot authenticate to the server and will reject your outgoing messages with an error like "Authentication failed" or "Invalid credentials".
Key Takeaways
- Your SMTP username is usually your full email address, though some providers use a different format you can find in account settings.
- SMTP is the protocol that sends mail; IMAP and POP3 receive it — you may need different credentials for each depending on your provider.
- The SMTP server address and port number are separate from the username and are specific to your email provider.
- If authentication fails, check that you are using the correct username format for your provider, not a typo or old password.
Where to find your SMTP username for common providers
Gmail users typically use their full Gmail address (including @gmail.com) as the SMTP username. If you have two-factor authentication enabled, you will need to generate an app-specific password instead of your regular password — Gmail does not accept your main account password for third-party apps.
Outlook and Microsoft 365 accounts use your full email address as the SMTP username. The SMTP server is smtp.office365.com on port 587. If you are using an older Outlook.com address, the server may be smtp-mail.outlook.com instead.
Yahoo Mail uses your full email address as the username, but requires an app password if you have account security enabled. The SMTP server is smtp.mail.yahoo.com on port 465 or 587.
If your email is hosted through your domain registrar, web host, or a corporate system, the username format varies. Check your provider's support documentation or contact their support team directly — they can tell you the exact username format, server address, and port number your setup requires.
SMTP username versus SMTP password
Your SMTP username and SMTP password are two separate pieces of information. The username identifies who you are; the password proves you are that person. Both are required for your email client to send mail.
Some providers allow you to use the same password for both SMTP and IMAP/POP3 (receiving mail). Others require different passwords for each protocol, or require you to generate special app passwords that work only for third-party applications. If you are setting up email for the first time on a new device and authentication fails, the problem is usually a mismatched password rather than a wrong username.
Why your email client asks for SMTP credentials
When you set up email on your phone or computer, the setup wizard asks for incoming mail settings (IMAP or POP3) and outgoing mail settings (SMTP). The incoming settings tell your device how to retrieve messages you have already received. The outgoing settings tell your device how to send new messages.
Your email provider runs separate servers for each function. The incoming server stores your mailbox; the outgoing server relays your messages to the recipient's mail server. Both servers need to verify your identity before they do their job. That is why you need a username and password for each one.
Common SMTP authentication errors and what they mean
An "Authentication failed" error usually means your username or password is wrong, or your email provider does not recognize the device or app trying to send mail. Double-check that you typed the username exactly as your provider specifies — capitalization and spacing matter.
If the username is correct but authentication still fails, your password may have changed, or your provider may require an app-specific password for that particular process. Check your email provider's security settings or support documentation for the app you are using.
A "Connection refused" or "Cannot connect to server" error means the SMTP server address or port number is wrong, not the username. Verify that you are using the correct server address and port for your provider — these are different from the incoming mail server settings.
SMTP username for business and hosted email
If your email is hosted through your company, a web hosting provider, or a domain registrar, the SMTP username may not be your full email address. Some systems use only the local part (the part before the @) as the username, while others use a completely different login name.
Your hosting provider or IT department should provide you with the exact SMTP username, server address, and port number in their setup documentation or support portal. If you cannot find it, contact their support team — they can confirm the correct credentials and often can test the connection for you.
Frequently Asked Questions
Is my SMTP username the same as my email address?
Usually yes. Most modern email providers use your full email address as the SMTP username. Some older systems or corporate setups use a different format, so check your provider's documentation if you are unsure.
Can I use a different SMTP username than my email address?
No. Your SMTP username must match what your email provider has on file for your account. You cannot change it to something else. If your provider uses a non-standard format, that is the only format that will work.
What if I do not know my SMTP username?
Start by assuming it is your full email address. If that does not work, log into your email account through the web browser, find the account settings or security section, and look for SMTP or mail client setup instructions. Your provider lists the correct username there.
Do I need a different SMTP username for each device?
No. Your SMTP username stays the same across all devices. You use the same username and password on your phone, tablet, and computer. If one device works and another does not, the problem is usually a typo or an outdated password on the device that is failing.
What is the difference between SMTP username and IMAP username?
They are usually identical — both are your email address. IMAP is for receiving mail; SMTP is for sending it. Some providers require different passwords for each, but the username is the same for both protocols.