设为首页收藏本站

SAP Best Business Solution

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 562|回复: 0

SAP SMTP service with Office365 online exchange

[复制链接]

23

主题

23

帖子

192

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
192
发表于 2018-2-7 17:13:02 | 显示全部楼层 |阅读模式
SAP SMTP service with Office365 online exchange[size=0.75]March 29, 2015 [size=0.875]| [size=0.75]10,388 Views[size=0.875] |

[size=0.875]Ashish Kasat[size=0.875]more by this author


[color=rgb(102, 102, 102) !important][size=0.875]NW AS Java Administrator (NWA)

[size=0.75] [size=0.75]587[size=0.75]email[size=0.75]office365[size=0.75]online exchange[size=0.75]sap[size=0.75]scot[size=0.75]smtp



Follow




[size=0.875]
Nowadays more companies are preferring online exchange servers which saves infrastructure & maintenance costs and as a SAP Netweaver Administrator we have to configure it in SAP system for sending emails. If your mailboxes are in Office365, then there are a few options available to setup in SAP and other third part applications : SMTP relay,or client SMTP submission, or Direct Send.

For SAP, we can use two options – 1.Client SMTP submission and 2. SMTP Relay.

Lets configure Office365 in SAP SMTP with ‘Client SMTP submission‘ option.

1. Make sure network connection is open from your SAP server to Office365 host and you are able to ping & telnet Office365 host.

2. Set ICM parameter in instance profile icm/server_port_1 : PROT=SMTP,PORT=0,TIMEOUT=120,PROCTIMEOUT=120,TLS=1, here PROT is protocol, with PORT option you can specify port for incoming connection, if it is 0 then no inbound connections for SMTP and TLS have different options, it depends on what you select in SCOT-
     0: A TLS prompt does not take place.
     1: The server prompts the client to encrypt using TLS. If this is not possible, the connection via SMTP is accepted without TLS.
     2: The client has to use TLS for encryption; otherwise, the connection is terminated.
3. From SMICM transaction, restart ICM after setting up above parameter and also check ICM services, SMTP service should be active.

4. From SICF transaction, activate SAPconnect service.

5. In SCOT transaction, select SMTP Nodes as shown below and from menu choose Nodes -> Create .
You will get new window to fill up SMTP node details –
From Office365 you can find out the mail host and mail port details.
Login to your office365 account -> Setting button -> Options -> Mail -> Accounts -> POP and IMAP  -> Under SMTP Setting you will get required details.

Now click on Settings button in front of Security field, here select the TLS option as explained in point 2, make sure your ICM parameter is set accordingly.

Under Authentication, you need to provide valid office365 account email ID and password, <xxxxxx@yourdomain.com>. You have to use same email ID for SAP user with which you are going to send emails outside SAP.
On first screen under Supported Address Types -> Click on Internet (if you want to setup only email), in Address area you can restrict to which domain you want to send emails, with * option will allow to send emails to all domains without restriction.
Now set domain for SMTP, on SCOT screen choose from menu Settings -> Default Domain

6. Scheduling email send job- From Scot screen double click on Send Jobs. Click on Schedule Job button and select Job to be scheduled.
Provide details as Job Name, Period, User and Variant if you want to change default, click on Continue and save the job.

Done.!!

Now try sending email from SBWP and check status in SOST.

With older version of SAP(lower than 7.31 Support Package 6 and 7.21 kernel) where TLS functionality is not available, we can use other option of ‘SMTP Relay’. In that option, we have to setup IIS service as SMTP relay on local windows server and then use this server details in SCOT. Link is provided in references on how to do it.


References :

SAP Notes-
     1747180 – SMTP via TLS and SMTP authentication
     1724704 – SCOT: Settings for TLS and SMTP AUTH
     1702785 – Error diagnosis SMTP via TLS and SMTP authentication

Other links –




回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则



QQ|Archiver|手机版|小黑屋|www.sapbbs.com    

GMT+8, 2018-5-25 05:59 , Processed in 0.489667 second(s), 30 queries .

声明:本站严禁任何人以任何形式在本论坛发表与中华人民共和国法律相抵触的言论!

本站内容由网友原创或转载,如果侵犯了您的合法权益,请及时联系处理!© admin@sapbbs.com

快速回复 返回顶部 返回列表