Choosing the correct microsoft 365 smtp settings for your applications, devices, or services is crucial for reliable email delivery, and the decision hinges on your specific needs: use SMTP AUTH for sending as a specific user with authentication, Direct Send for internal-only emails from unauthenticated devices, or SMTP Relay for higher volumes, external recipients, or on-premises server integration.
Microsoft 365 offers three primary methods for sending emails through its service: SMTP AUTH Client Submission, Direct Send, and SMTP Relay. Each method is designed for different scenarios, with distinct requirements, capabilities, and limitations. Understanding these differences is key to configuring your email infrastructure efficiently and securely, whether you're a marketer automating campaigns, a developer integrating email into an application, or an IT professional managing an organization's email flow.
Understanding Microsoft 365 SMTP Settings: The Three Pillars of Email Sending
Before diving into the specifics of each method, it's essential to grasp their fundamental purpose. These aren't just technical configurations; they're strategic choices that impact your email deliverability, security posture, and compliance. From simple authenticated sends to complex server-to-server relays, Microsoft 365 provides options to fit a wide array of use cases, making the right choice dependent on factors like sender authentication, recipient scope, and message volume.
Microsoft 365 SMTP AUTH Client Submission: For Authenticated Sending
SMTP AUTH Client Submission is the most common method for applications, services, or devices that need to send email as a specific Microsoft 365 user. It’s akin to how an email client like Outlook sends messages, requiring full authentication with a username and password.
- Requirements: A licensed Microsoft 365 mailbox with SMTP AUTH enabled. By default, SMTP AUTH might be disabled tenant-wide or for individual mailboxes due to security concerns, requiring an administrator to enable it.
- Ports: The preferred port is 587 with STARTTLS encryption. Port 25 can also be used with STARTTLS, but 587 is generally recommended for client submission.
- Authentication: Requires a valid Microsoft 365 username (email address) and password. Note that Basic Authentication (username and password) is being deprecated by Microsoft in favor of more secure methods like OAuth 2.0. Ensure your application or device supports modern authentication if possible, or prepare for potential disruptions if still using Basic Auth.
- Who Can Receive: Both internal and external recipients.
- Limits: Each authenticated mailbox is subject to sending limits: typically 10,000 recipients per day and 30 messages per minute. These limits apply per sending mailbox, not per tenant. For more details on these restrictions, refer to Microsoft's official documentation on sending limits.
- Security Implications: While straightforward, relying on a single user's credentials for application sending can be a security risk if those credentials are compromised. Using dedicated service accounts with strong, unique passwords and implementing conditional access policies is advisable. The deprecation of Basic Auth highlights Microsoft's push towards more secure authentication methods.
Use Case: Ideal for applications, multi-function printers, or devices that need to send emails as a specific user, such as automated reports from a CRM, user notifications from a web application, or scan-to-email functions from a single device.
// Example SMTP configuration for an application using SMTP AUTH
// Host: smtp.office365.com
// Port: 587 (STARTTLS)
// Username: [email protected]
// Password: your_mailbox_password
// TLS/SSL: Required (STARTTLS)
// In Python (using smtplib)
import smtplib
sender_email = "[email protected]"
sender_password = "your_mailbox_password"
receiver_email = "[email protected]"
message = "Subject: Test Email\n\nThis is a test email sent via Microsoft 365 SMTP AUTH."
try:
with smtplib.SMTP("smtp.office365.com", 587) as server:
server.starttls() # Upgrade connection to secure TLS
server.login(sender_email, sender_password)
server.sendmail(sender_email, receiver_email, message)
print("Email sent successfully!")
except Exception as e:
print(f"Error sending email: {e}")
Direct Send (SMTP Client Submission): When Authentication Isn't an Option
Direct Send is suitable for devices or applications that cannot authenticate with a username and password but need to send emails to recipients within your Microsoft 365 organization. This method relies on IP address verification rather than explicit user authentication.
- Requirements: Your sending device or application must have a static public IP address. This IP address needs to be added to your organization's Sender Policy Framework (SPF record) to authorize it to send mail on behalf of your domain.
- Ports: Only port 25 is used for Direct Send.
- Authentication: None. The email server identifies the sender based on the originating IP address.
- Who Can Receive: Internal recipients only. This is a critical limitation. Emails sent via Direct Send cannot reliably be delivered to external domains without further complex configuration involving connectors, which essentially transforms it into a form of SMTP Relay.
- Limits: The same tenant-wide limits as SMTP AUTH apply: approximately 10,000 recipients per day and 30 messages per minute. These limits are shared across all Direct Send sources within your tenant.
- Security Implications: Less secure due to the lack of explicit authentication. Proper SPF record configuration is paramount to prevent spoofing and ensure deliverability. If your SPF record is not correctly updated, emails may be marked as spam or rejected by recipient servers.
Use Case: Best for devices like network scanners, multi-function printers, or legacy applications that send notifications only to internal employees (e.g., "Your scan is ready," "Meeting room booking confirmed"). It simplifies configuration for devices that lack robust authentication capabilities.
Microsoft 365 SMTP Relay (Server Relay): For Higher Volume and External Recipients
SMTP Relay, often referred to as "Server Relay," is the most flexible and robust option for sending email from your on-premises servers, applications, or devices through Microsoft 365. It's designed for scenarios where you need to send to both internal and external recipients, potentially at higher volumes, and manage sending from multiple sources.
- Requirements: This method requires configuring a "Connector" in Exchange Online that identifies your sending server(s) by their static public IP address or a digital certificate. Your sending server must connect directly to Microsoft 365.
- Ports: Only port 25 is used for SMTP Relay.
- Authentication: None from the sending device's perspective (it connects to your Microsoft 365 tenant, which then relays the mail). The authentication is handled by the configured connector, which trusts specific IP ranges or certificates.
- Who Can Receive: Both internal and external recipients.
- Limits: While still subject to Microsoft 365's overall anti-spam policies and general tenant limits, SMTP Relay typically allows for higher daily sending volumes than SMTP AUTH or Direct Send, often up to 10,000 messages per day per tenant, potentially more depending on your licensing and tenant reputation. However, this is not an unlimited bulk sending solution and is still subject to Microsoft's general sending limits.
- Security Implications: Requires careful configuration of the receive connector to prevent your Microsoft 365 tenant from becoming an open relay, which could be exploited by spammers. Proper IP whitelisting is crucial.
Use Case: Ideal for on-premises applications, services, or multi-function devices that need to send a significant volume of emails to both internal and external recipients (e.g., marketing automation platforms, large-scale system alerts, or legacy applications that send customer communications). It's also suitable for organizations migrating from on-premises Exchange to Exchange Online.
Bulko gives you a managed pool of pre-warmed SMTP accounts: 500 free campaign credits to test, SMTP relay from $5 for 5,000 emails, no subscription.
Microsoft 365 SMTP Settings Comparison: A Quick Reference Table
This table provides a side-by-side comparison of the three Microsoft 365 SMTP sending methods, highlighting their key characteristics and helping you make an informed decision about your office365 smtp settings.
Need to validate your email list before sending?
Bulko offers free email validation, MX checking, and deliverability tools — no signup required.
| Feature | SMTP AUTH Client Submission | Direct Send (Client Submission) | Microsoft 365 SMTP Relay (Server Relay) |
|---|---|---|---|
| Primary Use Case | Send as a specific user from apps/devices. | Send internal-only emails from unauthenticated devices. | Send internal/external emails from on-premises servers/apps, higher volume. |
| Authentication | Username/Password (Basic Auth - deprecating, or OAuth 2.0). | None (IP-based authorization). | None (IP-based authorization via Connector). |
| Required Setup | Licensed mailbox, SMTP AUTH enabled. | Static public IP, SPF record update. | Static public IP or certificate, Exchange Online Connector. |
| Ports | 587 (STARTTLS, preferred), 25 (STARTTLS). | 25. | 25. |
| Recipient Scope | Internal & External. | Internal Only (reliably). | Internal & External. |
| Sending Limits (per day) | ~10,000 recipients per mailbox. | ~10,000 recipients per tenant. | ~10,000 messages per tenant (higher than others, but not for bulk). |
| Messages per Minute | ~30 messages per mailbox. | ~30 messages per tenant. | Higher (tenant-dependent, not explicit per-minute limit like AUTH). |
| Security | User credentials, Basic Auth deprecation (move to OAuth 2.0). | IP-based, relies on SPF. | IP-based via Connector, risk of open relay if misconfigured. |
| Complexity | Low to Medium (enabling SMTP AUTH, managing credentials). | Medium (static IP, SPF record update). | High (Exchange Online connector configuration, IP management). |
| Bulko.io Page | Outlook 365 SMTP Settings | ||
When Native Microsoft 365 SMTP Settings Fall Short: Considering an External SMTP Relay
While Microsoft 365 provides robust options, its native SMTP capabilities are primarily designed for transactional email sending within the context of office productivity. They are not optimized for high-volume marketing campaigns, cold outreach, or scenarios requiring granular control over sender reputation and dedicated IP addresses. When your needs exceed Microsoft 365's sending limits, or you require more advanced features, an external SMTP relay service becomes a highly effective alternative.
For instance, if you're sending thousands of marketing emails daily, Microsoft 365's 10,000 recipient limit per mailbox (or tenant for Direct Send/SMTP Relay) can quickly become a bottleneck. Furthermore, the deliverability of bulk emails can be negatively impacted if sent from an IP shared with other Microsoft 365 users, some of whom might have poor sending practices. This is where a specialized SMTP service like Bulko.io shines.
Bulko.io offers a dedicated SMTP relay service built for marketers and sales professionals, designed to handle higher volumes with superior deliverability and control:
- Host:
smtp.bulko.io - Ports:
587(STARTTLS),465(SSL/TLS),2525(STARTTLS) – offering flexibility and modern encryption. - TLS Required: Yes, ensuring secure transmission of your emails.
- Authentication: Username/password for straightforward and secure access.
- Pricing: A flexible, prepaid model with no subscriptions, meaning you only pay for what you send:
- $5 for 5,000 emails
- $15 for 20,000 emails
- $30 for 50,000 emails
- $60 for 150,000 emails
- No Expiry: Unused emails do not expire, providing excellent value for irregular sending needs.
- Free Emails: Get 500 free emails on signup to test the service.
- Domain Verification: Customers can verify their own sending domain with DKIM (selector record) and an optional bnc CNAME for Return-Path, significantly enhancing deliverability and sender reputation.
Using an external SMTP relay like Bulko.io allows you to offload the heavy lifting of bulk email sending to a service optimized for it, freeing up your Microsoft 365 tenant for its primary purpose of business communication. This separation can also help protect your primary domain's reputation from the potential risks associated with high-volume or cold outreach campaigns.
Choosing the Right Microsoft 365 SMTP Settings: A Decision Tree
To simplify your decision-making process for your m365 smtp settings, consider the following recommendations:
- For Applications or Devices Sending as a Specific User (with Authentication):
- Choose SMTP AUTH Client Submission.
- Ensure the user's mailbox has SMTP AUTH enabled.
- Prioritize applications that support OAuth 2.0 for enhanced security, as Basic Auth is being deprecated.
- This is suitable for CRM notifications, website alerts, or scanner-to-email functions where the "from" address needs to be a specific user.
- For Devices Sending Only to Internal Recipients (without Authentication):
- Choose Direct Send.
- Requires a static public IP address for your device.
- Critically, update your domain's SPF record to include this IP address.
- Ideal for simple notifications from printers, IoT devices, or legacy systems that only communicate within your organization.
- For On-Premises Servers or Applications Sending to Internal & External Recipients (potentially higher volume):
- Choose Microsoft 365 SMTP Relay (Server Relay).
- Requires configuring a Receive Connector in Exchange Online based on your sending server's static public IP or certificate.
- This method offers more flexibility for sending to external domains and handles higher volumes than Direct Send, though it's still not a dedicated bulk sender.
- Carefully configure the connector to prevent open relay vulnerabilities.
- When Microsoft 365 Limits are Too Restrictive or for High-Volume Marketing/Cold Outreach:
- Consider an External SMTP Relay Service like Bulko.io.
- This provides dedicated infrastructure for bulk sending, better deliverability for marketing campaigns, and more predictable performance without impacting your Microsoft 365 tenant's reputation.
- Essential for email marketing platforms, cold outreach tools, or any scenario where you exceed Microsoft's daily or per-minute sending limits.
Key Takeaways
The optimal microsoft 365 smtp settings depend entirely on your specific requirements for authentication, recipient scope, and sending volume. While Microsoft 365 offers robust solutions for transactional and internal email, consider an external SMTP relay service like Bulko.io for high-volume marketing or cold outreach to ensure superior deliverability and avoid native platform limitations.
Ready to launch your email campaign?
Start with 500 free emails. AI-powered personalization, SMTP rotation, and real-time analytics.


