How to route select e-mails from Office 365 to another SMTP Server

emailmicrosoft-office-365sapsmtp

I have set up an SAP system to act as an SMTP server on port 25000.

The company uses Office 365 as its email provider.

Is it possible to route/forward e-mails that are delivered to a specific e-mail account from the Office 365 server to the SAP SMTP server?

e.g.

  • andrew@mycompany.com -> Office 365 e-mail system
  • brian@mycompany.com -> Office 365 e-mail system
  • charlie@mycompany.com -> Office 365 e-mail system
  • sapuser@mycompany.com -> Office 365 e-mail system -> SAP SMTP server
  • david@mycompany.com -> Office 365 e-mail system
  • edward@mycompany.com -> Office 365 e-mail system

Best Answer

It is not possible to route select e-mails from Office 365 to another SMTP Server, at least not an SAP SMTP server.

I ended up forwarding e-mails from one domain to another - using the second domain as an 'SAP e-mail only domain', which would be routed to the SAP e-mail server:

sapuser@mycompany.com -> sapuser@sapmycompany.com -> SAP SMTP server

This way, people are able to send e-mails to the company, using the companies proper domain. The e-mails then get routed to another domain (which people don't see) and the e-mail gets received by the SAP system.

Related Topic