Email is a daily communication need of an organization and many user. But what machanisim use behind the sending mail from a desktop client or application. Read this article and know the best setting for Gmail, Outlook and Yahoo (step-by-step).
What is SMTP?
SMTP stands for "Simple Mail Transfer Protocol" is used to send email from email client or desktop-based application to another client or application. This is a very important to send mail, without correct server and port settings, your email won't be sent.
If you are getting error to send mail then below tips help you to fix SMTP Errors in Gmail, Outlook & Yahoo.
Gmail SMTP Settings
For Gmail:
- SMTP Server: smtp.gmail.com
- Port: 465 (SSL) or 587 (TLS)
- Authentication: Required
- Username: Your Gmail address
- Password: App Password (not regular password)
- Encryption: SSL/TLS
Note: Enable 2-Step Verification to generate an App Password.
Outlook SMTP Settings for Office 365/Outlook.com
- SMTP Server: smtp.office365.com
- Port: 587
- Authentication: Required
- Username: Your email address
- Password: O365 password and App password for Outlook.com
- Encryption: STARTTLS
Yahoo SMTP Settings
- SMTP Server: smtp.mail.yahoo.com
- Port: 465 (SSL) or 587 (TLS)
- Authentication: Required
- Username: Your Yahoo email
- Password: App Password
- Encryption: SSL/TLS
- Go to File
- Click on Add account
- Types your email address, click on Connect to add automatically. OR click on Advance option to configure an account manually.
- Type Outgoing Mail (SMTP) and Incoming Mail (POP/IMAP) details (as above)
- Enable authentication
- Save settings and send a test email
- Go to Tools and select Account Settings
- Click on Add Account
- Enter your email address and app password
- Fill in the incoming server details (IMAP/POP3)
- Verify the SMTP (Outgoing Server) settings. (Note: It is also fetch the SMTP detail automatically)
- Click Done to complete the setup and connect
Common SMTP Errors and Fixes
First check the correct port:
- 465: SSL
- 587: TLS
SMTP Ports Explained
| Port | Type | Use |
|---|---|---|
| 465 | SSL | Secure sending |
| 587 | TLS | Recommended |
| 25 | None | Blocked by many ISPs |
Security Tips
- Always use SSL/TLS encryption
- Try to use App password instead of default email password
Final Thoughts
Here i have tried to share complete SMTP Server Settings Guide. Still you need some additional detail , please leave a comment. Correct SMTP settings are essential for sending emails smoothly. Whether you use Gmail, Microsoft Outlook, or Yahoo Mail, using the right configuration ensures secure and error-free email delivery.

