Microsoft - SMTP Integration
This guide provides a step-by-step process to configure SMTP settings for sending emails using Gmail, Zoho Mail, and Microsoft Outlook.
General SMTP Configuration Overview
To integrate SMTP into your application, you need:
- SMTP Server: The server address provided by the email service.
- From Email Name: The display name for the sender (e.g., "Your Company").
- Sender Email: The email address used to send emails.
- Username: Typically the sender email or a specific username.
- Password: The account password or an app-specific password.
- Port: The port number for the SMTP connection (e.g., 587 or 465).
- Security Type: The encryption protocol (e.g., TLS or SSL).
Microsoft Outlook SMTP Configuration
Microsoft Outlook provides SMTP support for personal and business accounts.
SMTP Settings for Microsoft Outlook
| SMTP Server | smtp-mail.outlook.com (Outlook.com) or smtp.office365.com (Office 365) |
|---|---|
| From Email Name | Your chosen display name |
| Sender Email | Your Outlook or Office 365 email address |
| Username | Your Outlook or Office 365 email address |
| Password | Your account password or App Password (with 2FA) |
| Port | 587 (TLS) |
| Security Type | STARTTLS |
Setup Steps for Microsoft Outlook
- Log in to Your Microsoft Account: Access your email at outlook.com or Office 365 portal.
- Enable Two-Factor Authentication (Optional): For Office 365, enable MFA and generate an App Password.
- Configure Your Application: Use the SMTP settings and App Password if needed.
- Test the Connection: Send a test email to verify.
Note: Ensure your organization’s admin has not restricted SMTP access for Office 365.
