Bookmark and Share Using SMTP Relay with Exchange Online - Microsoft Online Services Team Blog - Site Home - TechNet Blogs

Microsoft Online Services Team Blog

Technical discussions on the Microsoft Online Services and the various aspects of each of these services.

Using SMTP Relay with Exchange Online

Using SMTP Relay with Exchange Online

  • Comments 29

With the deployment of the August Service Update complete, SMTP clients can connect to Exchange Online SMTP servers and authenticate using Microsoft Online Services user credentials to send mail. The connection requires Transport Layer Security (TLS).

SMTP Relay capability allows organizations to use Exchange Online as an SMTP service for mail originating outside of the Exchange Online environment, for example SMTP-enabled applications such as fax servers.

To connect to the Microsoft Online Services SMTP server, open the SMTP client application and provide the following information:

·         The fully qualified domain name (FQDN) of the Microsoft Online Services SMTP server. The FQDN will be slightly different depending on which Microsoft Online Services Data Center your organization is connected to. The server FQDNs are:

o    North America Data Center:  Smtp.mail.microsoftonline.com

o    Europe Data Center:  Smtp.mail.emea.microsoftonline.com

o    Asia Pacific Data Center:  Smtp.mail.apac.microsoftonline.com

 

·         The user name and password of a Microsoft Online Services user account with an Exchange Online license.

o    On most client applications, this is under “My outgoing mail server (SMTP) requires authentication” – this should be configured “Yes”, and the corresponding Microsoft Online username and password supplied.

 

·         The SMTP port to use: 587.

o    On most client applications, this is under “Server Port Numbers for Outgoing Server (SMTP)” – this should be configured to use port 587

 

·         Make sure that Transport Layer Security (TLS) is enabled in your SMTP client.

o    On most client applications, this is under “My outgoing mail server (SMTP) requires an encrypted connection (SSL)” – this should be configured “Yes”

 

NOTE:  The FROM address must use a SMTP domain of type “Authoritative” – this can be confirmed in Microsoft Online Administration Center, under the Users - Domains tab.

 

Important: Remember to update the user Microsoft Online Services Account password regularly, before the password expires, or your SMTP-enable application will be unable to connect and send email. Microsoft Online Services passwords expire every 90 days.

Comments
  • I tried to set this up and can't seem to get it to work.  we are using coexistence mode, but it seems that the SSL and ports are not connecting or the online server is not really accepting relay.

  • Its all well and good that you can relay SMPT traffic to the cloud, but how are you supposed to leverage a complete fax solution that includes outgoing fax messeges?

  • Did anyone get this SMTP-relay to work. We have quite a few VB-Scripts that uses our local exchange, but I cannot get it to work with Exchange Online.

    Keep getting an error message :

    The transport failed to connect to the server.

  • What type of credentials are you using? You need to use credentials for an account assigned an Exchange Online license and granted Administrator permissions. If this doesn't work, please contact Support. They should be able to help you get this going quickly.

    JRG_MSFT

  • Trying to get a PHP script to work, get a connection refused error using fsockopen. Support said 3rd party scripts not supported.  Any one got any ideas?

  • Can't seem to get this working. For now, I was trying to setup IIS 6 Virtual SMTP, and send w/ CDO.Message VBScript.  Is there a "minimum" requirements?  Are there any clear places that actually tell you how to SMTP relay to BPOS with any specific technology?

  • When creating a new Internet connector for SMTP mail between On-line and On-premis do you need to create a new SMTP virtual server using Port 587

  • Guys,

    Is this working? I tried to setup for SAP and couldn't succed.

    if anyone give me some insights that would be really great.

    Reg, Venkat

  • Anyone have any luck getting this to work for SQL SERVER 2005 Database Mail?  

    Is there any other info on this specific to sql server using the Database Mail Configuration Wizards and the MicrosoftOnline Email System?

  • Can't seem to login.  Trying to use Gmail as source to send via SMTP.  Can't connect to Server.

  • Is Microsoft provide Transport Layer Security (TLS) for SharePoint for SMTP relay for outgoing mail settings?

  • I got this working and my solution may help someone.

    I created a DNS entry smtp.mydomain.com. In my asp application hosted on a remote site, I used this entry as the smtp server on port 25.

    In exchange 2003, I enabled TLS and put set outbound security to use a valid BPOS account. I then changed the smarthost on the exchange SMTP connector to use smtp.mail.emea.microsoftonline.com.

    Before I forget, I also changed the outbound SMTP port to 587.the smarthost setting used depends on the datacenter your BPOS account is hosted so check that.

    The same principle should work for printer/fax smtp based services.

  • SMTP and POP3 work with MSOnline but you must place a service request to MS Support Online to activate it. You'll also need to make your Domain authortative. This does not change any of your MXRecord setting in a Coexistance setup and eveything seems to work great.

  • Yes it works but the settings here are wrong. You only need mail.global.frontbridge.com and port 25 no authentication and the account credentials that you created as the relay account. So you will have to use one of your exchange license for a relay account. We are using it to relay some emails from Reporting Services via Database mail in Sql server 2005 after some trial and error it works.

  • Thanks Joseph for the correct settings!

Page 1 of 2 (29 items) 12
Leave a Comment
  • Please add 5 and 5 and type the answer here:
  • Post