Use Exchange Online for sending smtp e-mail from on premises devices like printers

Posted on 2015-02-12
Medium Priority
Last Modified: 2015-02-13
I migrated to Exchange Online. There is no on premises e-mail server anymore. I would like to use Exchange Online to send e-mail log messages from devices on premises.

I'm looking for options, advice and tips to get configurated, up and running, using Exchange Online.
Question by:NicoNL
  • 2

Accepted Solution

Damien Kay earned 2000 total points
ID: 40606902
First, you can view the documentation here:  https://technet.microsoft.com/en-us/library/dn554323.aspx

If all the recipients in the local application are Office 365 users, and you have a static external IP at your Client's  location, then you do not need to use any authentication to use the Relay Options.  Simply choose the options in the first column in the article mentioned above in the first answer.  

Follow the instructions to find the "FQDN of SMTP Endpoint" or "string" for your domain.  It is the same as your MX record, and it should look something like "domain-com.mail.protection.outlook.com." It responds on Port 25, without any authentication, as long as the email recipients are using Office 365, and as long as you do not have a dynamic external IP address.

I usually create a CNAME in DNS that points the name "smtp.domain.com" to the longer name above, as that makes it easier to remember and to use on applications and even "scan to email" devices inside an organization.

If you need to send email via SMTP to users OUTSIDE the O365 organization, then you will need to follow the instructions in the second column, which require a licensed account.

Author Comment

ID: 40607567
Hi Damien,

I was reading this article yesterday, but the problem with the SMTP Relay option is that a dynamic IP address isn’t supported or allowed. We have 2 static public IP addresses (NLB redundancy) for internet access, depending on the firewall the user is connected to for NAT access to the internet. I can't enter 2 IP addresses into the connector.

When using the client SMTP Connection option, then valid Office 365 user credentials must be passed. Not all devices have the option to enter the user credentials for authentication and support only port 25, even no TLS.

So that leaves me with option Direct Send. I'm testing this option with a SMTP server, but haven't been able yet to get Direct Send to send e-mails.

Author Comment

ID: 40607625
I got SMTP Relay working. The missing link were smtp server mail.o365info.com and smarthost pod51014.outlook.com.

And of course "The option of installing IIS server as a mail relay on a Windows 2003 server is not supported because the Windows 2003 server cannot support encryption of 256 bit"

Thanks :-)

Featured Post

Free tool for managing users' photos in Office 365

Easily upload multiple users’ photos to Office 365. Manage them with an intuitive GUI and use handy built-in cropping and resizing options. Link photos with users based on Azure AD attributes. Free tool!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

There’s hardly a doubt that Business Communication is indispensable for both enterprises and small businesses, and if there is an email system outage owing to Exchange server failure, it definitely results in loss of productivity.
Disk errors can be the source of sundry problems for the Exchange server, the most common one being that the database fails to mount.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Planning to migrate your EDB file(s) to a new or an existing Outlook PST file? This video will guide you how to convert EDB file(s) to PST. Besides this, it also describes, how one can easily search any item(s) from multiple folders or mailboxes…

597 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question