To set up an Office 365 SMTP relay using a connector, you primarily configure an inbound connector in the Exchange admin center, specifying either a static public IP address or a sending certificate for authentication, and direct your devices to your Microsoft 365 MX endpoint on port 25; a third-party relay becomes the preferred option when applications cannot meet these specific authentication requirements, or when higher sending volumes and advanced deliverability features are needed.
Email is fundamental to modern business operations, and while Microsoft 365 (formerly Office 365) provides robust email services, many organizations encounter scenarios where applications, devices, or legacy systems need to send emails without a dedicated mailbox. This is where an SMTP relay Office 365 setup becomes essential. It allows non-mailbox entities to send email through your Microsoft 365 environment, ensuring messages are delivered reliably and appear to originate from your domain.
What is Office 365 SMTP Relay and Why Do You Need It?
An Office 365 SMTP relay allows devices and applications that cannot log in to an individual Microsoft 365 mailbox to send email. Instead of authenticating with a username and password, these systems send mail directly to Microsoft 365's mail servers, which then relay the messages to their recipients.
Common use cases for an O365 SMTP relay include:
- Multi-function printers (MFPs) or scanners sending scanned documents via email.
- Line-of-business applications sending automated notifications, reports, or alerts.
- Legacy systems that only support basic SMTP configurations.
- Network devices sending log alerts or status updates.
Without a proper relay setup, these devices would either be unable to send email, or their emails might be flagged as spam due to improper authentication and origin.
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.
Understanding the Three Main Methods for SMTP Relay in Microsoft 365
Microsoft 365 offers three primary methods for sending email from devices and applications. While this article focuses on the "SMTP relay via connector" method, it's crucial to understand the alternatives to choose the best approach for your specific needs.
- SMTP AUTH Client Submission:
- How it works: Devices authenticate with a licensed Microsoft 365 mailbox's username and password (or OAuth token) to send email via
smtp.office365.comon port 587 (STARTTLS). - Pros: Simple setup for individual devices, supports sending to both internal and external recipients.
- Cons: Requires a licensed mailbox for each sending entity, susceptible to account lockout if credentials are wrong, and Microsoft is deprecating Basic Authentication for SMTP AUTH, requiring more complex OAuth implementations for modern security.
- How it works: Devices authenticate with a licensed Microsoft 365 mailbox's username and password (or OAuth token) to send email via
- Direct Send:
- How it works: Devices send email directly to your Microsoft 365 MX endpoint (e.g.,
yourdomain-com.mail.protection.outlook.com) on port 25 without authentication. - Pros: No authentication required, easy to set up.
- Cons: Can only send to external recipients; cannot send to internal recipients within your Microsoft 365 organization. Messages are more susceptible to spam filtering, and it relies heavily on the sending IP's reputation.
- How it works: Devices send email directly to your Microsoft 365 MX endpoint (e.g.,
- SMTP Relay via Connector (The focus of this guide):
- How it works: Devices send email to your Microsoft 365 MX endpoint on port 25. Microsoft 365 identifies and authenticates the sending device based on its static public IP address or a digital certificate, allowing it to relay messages to both internal and external recipients.
- Pros: Supports sending to internal and external recipients, does not require a licensed mailbox, provides a more controlled and secure relay environment than Direct Send.
- Cons: Requires a static public IP address or a valid digital certificate for authentication, which might not be available for all devices/applications.
Need to validate your email list before sending?
Bulko offers free email validation, MX checking, and deliverability tools — no signup required.
How to Configure SMTP Relay for Office 365 Using a Connector
Configuring an SMTP server relay to Office 365 via an inbound connector is the recommended method for most organizations needing to send internal and external emails from applications and devices without individual mailboxes. This method leverages your organization's existing Microsoft 365 infrastructure while maintaining security.
Prerequisites for Connector-Based Relay
- Static Public IP Address: For IP-based authentication, your sending device/application must have a static public IP address. This IP address will be registered in the Microsoft 365 connector.
- Digital Certificate (Optional): For certificate-based authentication, you'll need a valid X.509 certificate installed on your sending server, and its subject name or subject alternative name (SAN) will be used for authentication.
- Microsoft 365 Admin Access: You need Global Administrator or Exchange Administrator roles to configure connectors in the Exchange admin center (EAC).
- Your Microsoft 365 MX Endpoint: All devices/applications will send email to your specific Microsoft 365 MX endpoint, which typically follows the format
<your-domain-com>.mail.protection.outlook.com. You can check your MX records to confirm this.
Step-by-Step: Configure SMTP Relay for Office 365 (IP Address Based)
This is the most common method for setting up a Microsoft 365 SMTP relay.
- Sign in to the Exchange admin center (EAC):
- Go to admin.exchange.microsoft.com.
- Sign in with an account that has Exchange Administrator permissions.
- Navigate to Mail flow > Connectors:
- In the left-hand navigation pane, expand "Mail flow" and select "Connectors."
- Add a New Connector:
- Click "+ Add a connector" (or "Add a connector" if it's your first).
- In the "New connector" wizard:
- Connection from: Choose "Organization's email server."
- Connection to: Choose "Office 365."
- Click "Next."
- Name and Description:
- Provide a descriptive "Name" for your connector (e.g., "Office Printer SMTP Relay").
- Add an optional "Description."
- Ensure "Turn it on" is checked.
- Click "Next."
- Authenticating Sender:
- Select the option "By verifying that the IP address of the sending server matches one of the following IP addresses that belong to your organization."
- Click the "+" button to add your static public IP address. Enter the IP address (e.g.,
192.0.2.1/32for a single IP or a CIDR range) and click "Add." - Click "Next."
- Review and Create:
- Review your settings.
- Click "Create connector."
- Configure Your Device/Application:
- Set the SMTP server address in your device/application to your Microsoft 365 MX endpoint.
SMTP Server: <your-domain-com>.mail.protection.outlook.com Port: 25 Authentication: None (the connector handles authentication based on IP) Encryption: TLS (if supported by the device, though not strictly required for the connector to function) - Ensure your device/application is configured to send from the static public IP address you specified in the connector.
- Set the SMTP server address in your device/application to your Microsoft 365 MX endpoint.
Step-by-Step: Configure SMTP Relay for Office 365 (Certificate Based)
This method is less common but suitable for environments where static IPs are not feasible or a higher level of security is desired.
- Follow steps 1-4 from the IP-based setup above.
- Authenticating Sender:
- Select the option "By verifying that the subject name on the sending server's certificate matches this text string."
- Enter the exact subject name (or Subject Alternative Name) from the certificate that your sending server will present.
- Click "Next."
- Review and Create:
- Review your settings.
- Click "Create connector."
- Configure Your Device/Application:
- Install the specified certificate on your sending server.
- Configure the SMTP server address in your device/application to your Microsoft 365 MX endpoint.
SMTP Server: <your-domain-com>.mail.protection.outlook.com Port: 25 Authentication: None (the connector handles authentication based on certificate) Encryption: TLS (required for certificate validation) - Ensure your device/application is configured to use the certificate for sending.
Common Limitations and Errors with O365 SMTP Relay
While configuring an O365 SMTP relay connector is effective, it comes with specific limitations and potential issues you should be aware of.
Sending Limits
Microsoft 365 imposes certain sending limits to maintain service quality and prevent abuse. For relaying via a connector:
- Recipient Limit: An individual sending IP address can send to a maximum of 10,000 recipients per day. This limit applies across all emails sent from that IP.
- Message Rate: While not explicitly documented, Microsoft's anti-spam mechanisms can temporarily throttle or reject messages if a single IP sends a very high volume of emails in a short period.
These limits are generally suitable for internal applications and devices but can be restrictive for bulk email campaigns or high-volume transactional emails.
Common Error Codes
You might encounter specific non-delivery reports (NDRs) or error messages if your SMTP relay Office 365 setup isn't working correctly:
550 5.7.64 TenantAttribution; Relay Access Denied: This is a common SMTP error 550 indicating that the sending IP address is not authorized in your inbound connector. Double-check that the public IP of your sending device is correctly listed in the connector.550 5.7.606-649 SmtpClientAuthentication: While often associated with SMTP AUTH issues, this can sometimes appear if your connector isn't correctly identifying the sending source, or if Microsoft's security measures detect suspicious activity.451 4.4.62 Connection temporarily rejected: This SMTP error 421 usually indicates temporary throttling by Microsoft 365 due to high sending volume, suspicious activity, or a poor sender reputation. It suggests that your messages might be treated as spam.
Sender Reputation and Deliverability
Even with a correctly configured connector, deliverability can be an issue. Microsoft 365 uses shared IP pools for outbound mail. If another tenant on the same IP pool engages in spamming, it can negatively impact your email deliverability.
To improve deliverability, ensure your sending domain has proper SPF records and DKIM configured. While the connector handles the relay, these DNS records authenticate your domain, not just the sending server.
When is SMTP AUTH Client Submission a Better Choice?
While the connector-based relay is robust, SMTP AUTH client submission has its place, especially for individual applications or smaller-scale sending. This method uses `smtp.office365.com` on port 587 with STARTTLS encryption and requires authentication with a Microsoft 365 mailbox's credentials.
It's simpler to set up for a single application that can provide a username and password, as it doesn't require a static IP or certificate. For more details on this, you can refer to Outlook 365 SMTP settings.
However, a significant consideration is Microsoft's ongoing deprecation of SMTP AUTH Basic Authentication. While SMTP AUTH itself isn't being removed, the shift towards Modern Authentication (OAuth 2.0) makes implementing it more complex for many legacy devices and applications that only support basic username/password authentication. This deprecation makes the connector-based relay or a third-party service more appealing for applications that cannot be updated to support OAuth.
When to Use a Third-Party SMTP Relay Service (like Bulko.io)
Despite the capabilities of Microsoft 365 SMTP relay, there are scenarios where a dedicated third-party SMTP relay service offers significant advantages, particularly for businesses focused on marketing, sales, and high-volume transactional email.
Consider a third-party relay when:
- Microsoft 365 Sending Limits are Too Restrictive: If you need to send thousands or hundreds of thousands of emails daily (e.g., marketing newsletters, transactional alerts for a large user base), Microsoft 365's 10,000 recipient/day limit per IP is insufficient.
- Applications Cannot Meet Connector Requirements: Many legacy applications or cloud services may not have a static public IP address or the capability to use a digital certificate for authentication. They often require simple username/password authentication over standard SMTP ports (like 587).
- Enhanced Deliverability is Critical: Third-party services specialize in email deliverability. They manage IP reputation, offer dedicated IP addresses, implement advanced anti-spam measures, and provide feedback loops with major ISPs to ensure your emails reach the inbox.
- Detailed Analytics and Reporting are Needed: For marketing and sales teams, understanding email performance (opens, clicks, bounces, unsubscribes) is vital. Microsoft 365's native logging is basic compared to the detailed analytics offered by dedicated SMTP providers.
- Need for Robust Bounce Handling and Suppression: Third-party services automatically manage email bounces and maintain suppression lists, protecting your sender reputation and ensuring you don't repeatedly send to invalid addresses.
- Simplified Domain Authentication: Services like Bulko.io provide straightforward processes for verifying your sending domain with DKIM and Return-Path CNAME records, which are crucial for optimal deliverability.
Bulko.io SMTP Relay: A Powerful Alternative
Bulko.io offers a flexible and scalable SMTP relay service designed for businesses needing reliable, high-volume email sending. It provides a robust alternative when native Microsoft 365 options fall short.
Bulko.io SMTP Relay Fact Sheet:
- Host:
smtp.bulko.io - Ports:
587(STARTTLS),465(SSL/TLS),2525(STARTTLS) - Security: TLS encryption required for all connections.
- Authentication: Username and password.
- Pricing Model: Prepaid, no subscription required. Unused emails do not expire.
- $5 for 5,000 emails
- $15 for 20,000 emails
- $30 for 50,000 emails
- $60 for 150,000 emails
- Free Emails: 500 free emails on signup.
- Domain Verification: Customers can verify their own sending domain with DKIM (selector record) and an optional
bncCNAME for Return-Path, significantly enhancing deliverability and sender reputation.
For applications that require simple username/password authentication and high deliverability, a service like Bulko.io can integrate seamlessly. You can explore more about Bulko's offering on our SMTP Relay page or review general SMTP settings.
Comparison: Office 365 SMTP Relay vs. Third-Party SMTP Services
Understanding the differences helps in choosing the right solution for your email sending needs.
| Feature | Office 365 SMTP Relay (Connector) | Third-Party SMTP Service (e.g., Bulko.io) |
|---|---|---|
| Primary Use Case | Internal apps, devices, low-volume operational emails (e.g., scanners, internal alerts) | High-volume transactional emails, marketing campaigns, automated communications, critical deliverability |
| Authentication Method | Static Public IP Address or Digital Certificate | Username/Password (API keys also common for advanced integrations) |
| Host/Ports | <tenant>.mail.protection.outlook.com: 25 |
smtp.bulko.io: 587 (STARTTLS), 465 (SSL/TLS), 2525 (STARTTLS) |
| Sending Limits | Approx. 10,000 recipients per day per sending IP (shared IP pools) | Much higher, often millions per month; dedicated IPs available for high-volume senders |
| Deliverability Management | Basic, relies on Microsoft's shared IP reputation; some control via SPF/DKIM | Advanced, active IP reputation management, feedback loops, dedicated IPs, DMARC support |
| Reporting/Analytics | Limited mail flow logs in EAC; no detailed engagement metrics | Detailed send logs, bounce tracking, open/click rates, unsubscribes, delivery events |
| Pricing Model | Included with Microsoft 365 license | Prepaid or subscription-based (e.g., Bulko.io: $5/5K, $15/20K, etc.) |
| Setup Complexity | Moderate (EAC connector configuration, static IP/certificate management) | Simple (SMTP credentials, domain verification for DKIM/Return-Path) |
| Ideal For | Small office devices, specific legacy applications with static IPs, internal notifications | Bulk email, transactional email, critical business communications, applications needing flexibility |
Key Takeaways
Setting up an Office 365 SMTP relay via an inbound connector is a robust solution for internal devices and applications that can provide a static public IP or certificate and operate within Microsoft's sending limits. However, for high-volume email sending, advanced deliverability needs, or applications that struggle with Microsoft's specific authentication requirements or the deprecation of SMTP AUTH Basic, a specialized third-party SMTP relay service like Bulko.io offers superior flexibility, scalability, and enhanced deliverability features.
Ready to launch your email campaign?
Start with 500 free emails. AI-powered personalization, SMTP rotation, and real-time analytics.


