Skip to content

Commit 540a444

Browse files
committed
acrolinx fixes
1 parent 20c3f51 commit 540a444

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

articles/sap/workloads/exchange-online-integration-sap-email-outbound.md

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ ms.author: mapankra
1111
---
1212
# Exchange Online Integration for Email-Outbound from SAP NetWeaver
1313

14-
Sending emails from your SAP backend is a standard feature widely distributed for use cases such as alerting for batch jobs, SAP workflow state changes or invoice distribution. Many customers established the setup using [Exchange Server on-premises](/exchange/exchange-server). With a shift to [Microsoft 365](https://www.microsoft.com/microsoft-365) and [Exchange Online](/exchange/exchange-online) comes a set of cloud-native approaches impacting that setup.
14+
Sending emails from your SAP backend is a standard feature widely distributed for use cases such as alerting for batch jobs, SAP workflow state changes, or invoice distribution. Many customers established the setup using [Exchange Server on-premises](/exchange/exchange-server). With a shift to [Microsoft 365](https://www.microsoft.com/microsoft-365) and [Exchange Online](/exchange/exchange-online) comes a set of cloud-native approaches impacting that setup.
1515

1616
This article describes the setup for **outbound** email-communication from NetWeaver-based SAP systems to Exchange Online. That applies to SAP ECC, S/4HANA, SAP RISE managed, and any other NetWeaver based system.
1717

1818
## Overview
1919

20-
Existing implementations relied on SMTP Auth and elevated trust relationship because the legacy Exchange Server on-premises could live close to the SAP system itself and was governed by customers themselves. With Exchange Online there's a shift in responsibilities and connectivity paradigm. Microsoft supplies Exchange Online as a Software-as-a-Service offering built to be consumed securely and as effectively as possible from anywhere in the world over the public Internet.
20+
Existing implementations relied on SMTP Auth and elevated trust relationship because the legacy Exchange Server on-premises could live close to the SAP system itself governed by customers themselves. With Exchange Online there's a shift in responsibilities and connectivity paradigm. Microsoft supplies Exchange Online as a Software-as-a-Service offering built to be consumed securely and as effectively as possible from anywhere in the world over the public Internet.
2121

2222
Follow our standard [guide](/exchange/mail-flow-best-practices/how-to-set-up-a-multifunction-device-or-application-to-send-email-using-microsoft-365-or-office-365) to understand the general configuration of a "device" that wants to send email via Microsoft 365.
2323

@@ -29,13 +29,13 @@ Follow our standard [guide](/exchange/mail-flow-best-practices/how-to-set-up-a-m
2929
Currently, there are four different options supported by SAP NetWeaver that we want to describe. The first three correlate with the scenarios described in the [Exchange Online documentation](/exchange/mail-flow-best-practices/how-to-set-up-a-multifunction-device-or-application-to-send-email-using-microsoft-365-or-office-365).
3030

3131
1. [SMTP Authentication Client Submission](#option-1-smtp-authentication-client-submission-retiring-soon) (**retiring soon!**)
32-
1. [SMTP Direct Send](#option-2-smtp-direct-send)
33-
1. [Using Exchange Online SMTP relay connector](#option-3-using-microsoft-365-smtp-relay-connector-recommended) (**recommended**)
34-
1. [Using SMTP relay server as intermediary to Exchange Online](#option-4-using-smtp-relay-server-as-intermediary-to-exchange-online)
32+
2. [SMTP Direct Send](#option-2-smtp-direct-send)
33+
3. [Using Exchange Online SMTP relay connector](#option-3-using-microsoft-365-smtp-relay-connector-recommended) (**recommended**)
34+
4. [Using SMTP relay server as intermediary to Exchange Online](#option-4-using-smtp-relay-server-as-intermediary-to-exchange-online)
3535

36-
For brevity we'll refer to the [**SAP Connect administration tool**](https://wiki.scn.sap.com/wiki/display/SI/SCOT+-+SAPconnect+Administration) used for the mail server setup only by its transaction code SCOT.
36+
For brevity we refer to the [**SAP Connect administration tool**](https://wiki.scn.sap.com/wiki/display/SI/SCOT+-+SAPconnect+Administration) used for the mail server setup only by its transaction code SCOT.
3737

38-
We will update this guide when additional SAP-supported options become available.
38+
We update this guide when more SAP-supported options become available.
3939

4040
## Option 1: SMTP Authentication Client Submission (retiring soon!)
4141

@@ -46,12 +46,12 @@ Choose this option when you want to send mail to **people inside and outside** y
4646

4747
Connect SAP applications directly to Microsoft 365 using SMTP Auth endpoint **smtp.office365.com** in SCOT.
4848

49-
A valid email address will be required to authenticate with Microsoft 365. The email address of the account that's used to authenticate with Microsoft 365 will appear as the sender of messages from the SAP application.
49+
A valid email address is required to authenticate with Microsoft 365. The email address of the account that's used to authenticate with Microsoft 365 appears as the sender of messages from the SAP application.
5050

5151
### Requirements for SMTP AUTH
5252

5353
- **SMTP AUTH**: Needs to be enabled for the mailbox being used. SMTP AUTH is disabled for organizations created after January 2020 but can be enabled per-mailbox. For more information, see [Enable or disable authenticated client SMTP submission (SMTP AUTH) in Exchange Online](/exchange/clients-and-mobile-in-exchange-online/authenticated-client-smtp-submission).
54-
- **Authentication**: Use Basic Authentication (which is simply a username and password) to send email from SAP application. If SMTP AUTH is intentionally disabled for the organization, you must use Option 2, 3 or 4 below.
54+
- **Authentication**: Use Basic Authentication (which is simply a username and password) to send email from SAP application. If SMTP AUTH is intentionally disabled for the organization, you must use Option 2, 3, or 4.
5555
- **Mailbox**: You must have a licensed Microsoft 365 mailbox to send email from.
5656
- **Transport Layer Security (TLS)**: Your SAP Application must be able to use TLS version 1.2 and above.
5757
- **Port**: Port 587 (recommended) or port 25 is required and must be unblocked on your network. Some network firewalls or Internet Service Providers block ports, especially port 25, because that\'s the port that email servers use to send mail.
@@ -67,7 +67,7 @@ There are two ways to enable SMTP AUTH in Exchange online:
6767
> [!NOTE]
6868
> if your authentication policy disables basic authentication for SMTP, clients cannot use the SMTP AUTH protocol even if you enable the settings outlined in this article.
6969
70-
The per-mailbox setting to enable SMTP AUTH is available in the [Microsoft 365 Admin Center](https://admin.microsoft.com/) or via [Exchange Online PowerShell](/powershell/exchange/connect-to-exchange-online-powershell).
70+
The per-mailbox setting to enable SMTP AUTH is available in the [Microsoft 365 Admin Center](https://admin.microsoft.com/), or via [Exchange Online PowerShell](/powershell/exchange/connect-to-exchange-online-powershell).
7171

7272
1. Open the [Microsoft 365 admin center](https://admin.microsoft.com/) and go to **Users** -> **Active users**.
7373

@@ -85,15 +85,15 @@ The per-mailbox setting to enable SMTP AUTH is available in the [Microsoft 365 A
8585

8686
5. **Save changes**.
8787

88-
This will enable SMTP AUTH for that individual user in Exchange Online that you require for SCOT.
88+
This enables SMTP AUTH for that individual user in Exchange Online that you require for SCOT.
8989

9090
### Configure SMTP Auth with SCOT
9191

9292
1. Ping or telnet **smtp.office365.com** on port **587** from your SAP application server to make sure ports are open and accessible.
9393

9494
:::image type="content" source="media/exchange-online-integration/telnet-scot-sec-1-1.png" alt-text="Screenshot of ping":::
9595

96-
2. Make sure SAP Internet Communication Manager (ICM) parameter is set in your instance profile. See below an example:
96+
2. Make sure SAP Internet Communication Manager (ICM) parameter is set in your instance profile. See this example:
9797

9898
| parameter | value |
9999
|---|---|
@@ -115,13 +115,13 @@ This will enable SMTP AUTH for that individual user in Exchange Online that you
115115

116116
:::image type="content" source="media/exchange-online-integration/scot-smtp-sec-1-5-1.png" alt-text="SMTP config continued":::
117117

118-
Click on the "Settings" button (next to the Security field) to add TLS settings and basic authentication details as mentioned in point 2 if required. Make sure your ICM parameter is set accordingly.
118+
Click on the "Settings" button (next to the Security field) to add TLS settings and basic authentication details as mentioned in point 2 if necessary. Make sure your ICM parameter is set accordingly.
119119

120-
Make sure to use a valid Microsoft 365 email ID and password. In addition to that it needs to be the same user that you've enabled for SMTP Auth at the beginning. This email ID will show up as the sender.
120+
Make sure to use a valid Microsoft 365 email ID and password. In addition to that it needs to be the same user that you've enabled for SMTP Auth at the beginning. This email ID shows up as the sender.
121121

122122
:::image type="content" source="media/exchange-online-integration/scot-smtp-security-serttings-sec-1-5.png" alt-text="SMTP security config":::
123123

124-
Coming back to the previous screen: Click on "Set" button and check "Internet" under "Supported Address Types". Using the wildcard "\*" option will allow you to send emails to all domains without restriction.
124+
Coming back to the previous screen: Click on "Set" button and check "Internet" under "Supported Address Types". Using the wildcard "\*" option allows you to send emails to all domains without restriction.
125125

126126
:::image type="content" source="media/exchange-online-integration/scot-smtp-address-type-sec-1-5.png" alt-text="SMTP address type":::
127127

@@ -150,7 +150,7 @@ This will enable SMTP AUTH for that individual user in Exchange Online that you
150150

151151
## Option 2: SMTP Direct Send
152152

153-
Microsoft 365 offers the ability to configure [direct send](/exchange/mail-flow-best-practices/how-to-set-up-a-multifunction-device-or-application-to-send-email-using-microsoft-365-or-office-365#option-2-send-mail-directly-from-your-printer-or-application-to-microsoft-365-or-office-365-direct-send) from the SAP application server. This option is limited in that it only permits mail to be routed to addresses in your own Microsoft 365 organization with a valid e-mail address therefore cannot be used for external recipients (e.g., vendors or customers).
153+
Microsoft 365 offers the ability to configure [direct send](/exchange/mail-flow-best-practices/how-to-set-up-a-multifunction-device-or-application-to-send-email-using-microsoft-365-or-office-365#option-2-send-mail-directly-from-your-printer-or-application-to-microsoft-365-or-office-365-direct-send) from the SAP application server. This option is limited. It only permits mails to addresses in your own Microsoft 365 organization with a valid e-mail address. It cannot be used for external recipients (for example vendors or customers).
154154

155155
## Option 3: Using Microsoft 365 SMTP Relay Connector (recommended)
156156

@@ -160,20 +160,20 @@ Only choose this option when:
160160
- SMTP client submission (Option 1) isn't compatible with your business needs or with your SAP Application.
161161
- You can't use direct send (Option 2) because you must send email to external recipients.
162162

163-
SMTP relay lets Microsoft 365 relay emails on your behalf by using a connector that's configured with your public IP address or a TLS certificate. Compared to the other options, the connector setup increases complexity.
163+
SMTP relay lets Microsoft 365 relay emails on your behalf by using a connector configured with your public IP address or a TLS certificate. Compared to the other options, the connector setup increases complexity.
164164

165165
### Requirements for SMTP Relay
166166

167167
- **SAP Parameter**: SAP instance parameter configured and SMTP service are activated as explained in option 1, follow steps 2 to 4 from "Configure SMTP Auth with SCOT" section.
168168
- **Email Address**: Any email address in one of your Microsoft 365 verified domains. This email address doesn't need a mailbox. For example, `noreply@*yourdomain*.com`.
169169
- **Transport Layer Security (TLS)**: SAP application must be able to use TLS version 1.2 and above.
170170
- **Port**: port 25 is required and must be unblocked on your network. Some network firewalls or ISPs block ports, especially port 25 due to the risk of misuse for spamming.
171-
- **MX record**: your Mail Exchanger (MX) endpoint, for e.g., yourdomain.mail.protection.outlook.com. Find more information on the next section.
172-
- **Relay Access**: A Public IP address or SSL certificate is required to authenticate against the relay connector. To avoid configuring direct access it's recommended to use Source Network Translation (SNAT) as described in this article. [Use Source Network Address Translation (SNAT) for outbound connections](../../load-balancer/load-balancer-outbound-connections.md).
171+
- **MX record**: your Mail Exchanger (MX) endpoint, for example yourdomain.mail.protection.outlook.com. Find more information on the next section.
172+
- **Relay Access**: A Public IP address or SSL certificate is required to authenticate against the relay connector. To avoid configuring direct access, it's recommended to use Source Network Translation (SNAT) as described in this article. [Use Source Network Address Translation (SNAT) for outbound connections](../../load-balancer/load-balancer-outbound-connections.md).
173173

174174
### Step-by-step configuration instructions for SMTP relay in Microsoft 365
175175

176-
1. Obtain the public (static) IP address of the endpoint which will be sending the mail using one of the methods listed in the [article](../../load-balancer/load-balancer-outbound-connections.md) above. A dynamic IP address isn\'t supported or allowed. You can share your static IP address with other devices and users, but don't share the IP address with anyone outside of your company. Make a note of this IP address for later.
176+
1. Obtain the public (static) IP address of the endpoint that sends the mail using one of the methods listed in the [article](../../load-balancer/load-balancer-outbound-connections.md) above. A dynamic IP address isn\'t supported or allowed. You can share your static IP address with other devices and users, but don't share the IP address with anyone outside of your company. Make a note of this IP address for later.
177177

178178
:::image type="content" source="media/exchange-online-integration/azure-portal-pip-sec-3-1.png" alt-text="Where to retrieve the public ip on the Azure Portal":::
179179

@@ -196,7 +196,7 @@ SMTP relay lets Microsoft 365 relay emails on your behalf by using a connector t
196196

197197
:::image type="content" source="media/exchange-online-integration/m365-admin-center-exchange-sec-3-5.png" alt-text="Microsoft 365 Admin Center":::
198198

199-
6. New Exchange Admin Center (EAC) portal will open.
199+
6. New Exchange Admin Center (EAC) portal opens.
200200

201201
:::image type="content" source="media/exchange-online-integration/exchange-admin-center-sec-3-6.png" alt-text="Microsoft 365 Admin Center mailbox":::
202202

@@ -234,7 +234,7 @@ SMTP relay lets Microsoft 365 relay emails on your behalf by using a connector t
234234

235235
1. Make sure SAP ICM Parameter and SMTP service is activated as explained in Option 1 (steps 2-4)
236236
2. Go to SCOT transaction in SMTP node as shown in previous steps of Option 1.
237-
3. Add mail Host as Mail Exchanger (MX) record value noted in Step 4 (i.e. yourdomain.mail.protection.outlook.com).
237+
3. Add mail Host as Mail Exchanger (MX) record value noted in Step 4 (yourdomain.mail.protection.outlook.com).
238238

239239
:::image type="content" source="media/exchange-online-integration/scot-smtp-connection-relay-sec-3-3.png" alt-text="SMTP config in SCOT":::
240240

@@ -252,18 +252,18 @@ Port: 25
252252

253253
An intermediate relay server can be an alternative to a direct connection from the SAP application server to Microsoft 365. This server can be based on any mail server that will allow direct authentication and relay services.
254254

255-
The advantage of this solution is that it can be deployed in the hub of a hub-spoke virtual network within your Azure environment or within a DMZ to protect your SAP application hosts from direct access. It also allows for centralized outbound routing to immediately offload all mail traffic to a central relay when sending from multiple application servers.
255+
The advantage of this solution is that it can be deployed in the hub of a hub-spoke virtual network within your Azure environment. Or within a DMZ to protect your SAP application hosts from direct access. It also allows for centralized outbound routing to immediately offload all mail traffic to a central relay when sending from multiple application servers.
256256

257-
The configuration steps are the same as for the Microsoft 365 SMTP Relay Connector (Option 3) with the only differences being that the SCOT configuration should reference the mail host that will perform the relay rather than direct to Microsoft 365. Depending on the mail system that is being used for the relay it will also be configured directly to connect to Microsoft 365 using one of the supported methods and a valid user with password. It is recommended to send a test mail from the relay directly to ensure it can communicate successfully with Microsoft 365 before completing the SAP SCOT configuration and testing as normal.
257+
The configuration steps are the same as for the Microsoft 365 SMTP Relay Connector (Option 3). The only differences being that the SCOT configuration should reference the mail host that will perform the relay rather than direct to Microsoft 365. Depending on the mail system that is being used for the relay it will also be configured directly to connect to Microsoft 365 using one of the supported methods and a valid user with password. It's recommended to send a test mail from the relay directly to ensure it can communicate successfully with Microsoft 365 before completing the SAP SCOT configuration and testing as normal.
258258

259259
:::image type="content" source="media/exchange-online-integration/sap-outbound-mail-with-smtp-relay.png" alt-text="Relay Server Architecture":::
260260

261-
The example architecture shown illustrates multiple SAP application servers with a single mail relay host in the hub. Depending on the volume of mail to be sent it is recommended to follow a detailed sizing guide for the mail vendor to be used as the relay. This may require multiple mail relay hosts which operate with an Azure Load Balancer.
261+
The example architecture shown illustrates multiple SAP application servers with a single mail relay host in the hub. Depending on the volume of mail to be sent it's recommended to follow a detailed sizing guide for the mail vendor to be used as the relay. This may require multiple mail relay hosts which operate with an Azure Load Balancer.
262262

263263
## Next Steps
264264

265265
[Understand mass-mailing with Azure Twilio - SendGrid](https://docs.sendgrid.com/for-developers/partners/microsoft-azure-2021)
266266

267-
[Understand Exchange Online Service limitations (e.g., attachment size, message limits, throttling etc.)](/office365/servicedescriptions/exchange-online-service-description/exchange-online-limits)
267+
[Understand Exchange Online Service limitations (for example attachment size, message limits, throttling etc.)](/office365/servicedescriptions/exchange-online-service-description/exchange-online-limits)
268268

269269
[Verify your ABAP SDK for Azure configuration for Exchange Online integrations](https://github.com/microsoft/ABAP-SDK-for-Azure)

0 commit comments

Comments
 (0)