Fix Grandstream Voicemail to Email Not Working with Microsoft 365
Question details
The user needs to configure a Grandstream PBX to successfully route voicemail-to-email notifications to internal Microsoft 365 mailboxes.

- Product
- Microsoft 365 Exchange Online
- Device & OS
- not provided
- Scenario
- Setting up SMTP on a Grandstream 6204 telecom device to send voicemail audio files to users' corporate emails.
- Observed behavior
- Test emails deliver successfully to external Hotmail accounts but fail to reach internal Microsoft 365 domain mailboxes when using smtp.office365.com with SMTP authentication.
Ensure you have Exchange Administrator credentials for your Microsoft 365 tenant and know the static public-facing IP address of the router connected to your Grandstream device.
Create an Exchange Admin Center Connection Rule
Whitelisting your network's public IP address in Microsoft 365 ensures that SMTP traffic from your Grandstream device is not blocked by Exchange Online's strict inbound spam filters.
Microsoft 365 often blocks automated emails from on-premises hardware devices even if SMTP authentication is provided. Creating an inbound connector explicitly allows mail flow from your location.
Navigate to the Microsoft 365 admin portal and open the Exchange Admin Center using your administrator credentials.
Go to the 'Mail flow' section in the left-hand navigation menu and select 'Connectors'.
Click the plus icon to add a new connector. Set the mail flow scenario from your organization's email server (or on-premises environment) to Office 365.
Configure the connector to identify your sending device by choosing the IP address option. Enter the public-facing IP address of the router connected to your Grandstream device and save the rule.

Verify Microsoft 365 External Receiving Capability
Confirm that your Microsoft 365 domain is properly configured to receive any external emails before assuming the Grandstream hardware is at fault.
Looking for a Lightweight Microsoft Office Alternative?
While troubleshooting complex Microsoft 365 server configurations like Exchange routing can be frustrating, your daily office productivity doesn't have to be. WPS Office provides a free, lightweight suite that requires no complicated backend management.
- 1. Download the Installer: Visit the official WPS Office website and click the free download button.
- 2. Install the Suite: Run the lightweight installer and follow the on-screen prompts to set up the software.
- 3. Open and Work: Launch WPS Office and immediately start viewing and editing your existing Microsoft Office documents.

Frequently Asked Questions
Why do Grandstream emails successfully deliver to Hotmail but not Microsoft 365?
Microsoft 365 implements significantly stricter inbound security and spam filtering rules for enterprise environments compared to consumer email services like Hotmail. Emails sent via SMTP from internal hardware IP addresses often get dropped unless the sending IP is explicitly whitelisted via a connector rule.
What port should I use for smtp.office365.com on my Grandstream device?
When configuring SMTP client submission for Microsoft 365 on your Grandstream PBX, you should use port 587 and ensure that TLS or STARTTLS encryption is enabled in the settings.
How do I find the public IP address of my router to whitelist in Exchange?
Connect a computer to the same local network as your Grandstream device, open a web browser, and search 'What is my IP' on any major search engine. The IP address displayed is your public-facing IP that needs to be entered into the Exchange Admin Center connector rule.




