Вы находитесь на странице: 1из 11

+ Actions

SAPSMTPservicewithOffice365online

exchange

March29,2015 | 5,116Views |

exchange March29,2015 | 5,116Views | AshishKasat morebythisauthor NWASJavaAdministrator(NWA) 587

Follow

share 0
share 0
tweet
tweet
share 1
share 1

Nowadaysmorecompaniesarepreferringonlineexchangeserverswhich

savesinfrastructure&maintenancecostsandasaSAPNetweaver

AdministratorwehavetoconfigureitinSAPsystemforsendingemails.If

yourmailboxesareinOffice365,thenthereareafewoptionsavailabletosetupin

SAPandotherthirdpartapplications:SMTPrelay,orclientSMTPsubmission,or

DirectSend.

ForSAP,wecanusetwooptions–1.ClientSMTPsubmissionand2.SMTP

Relay.

LetsconfigureOffice365inSAPSMTPwith‘ClientSMTPsubmission‘option.

1.MakesurenetworkconnectionisopenfromyourSAPservertoOffice365

hostandyouareabletoping&telnetOffice365host.

2.SetICMparameterininstanceprofileicm/server_port_1:

PROT=SMTP,PORT=0,TIMEOUT=120,PROCTIMEOUT=120,TLS=1,here

PROTisprotocol,withPORToptionyoucanspecifyportforincoming

connection,ifitis0thennoinboundconnectionsforSMTPandTLShave

differentoptions,itdependsonwhatyouselectinSCOT­

0:ATLSpromptdoesnottakeplace.

1:TheserverpromptstheclienttoencryptusingTLS.Ifthisisnot

possible,theconnectionviaSMTPisacceptedwithoutTLS.

2:TheclienthastouseTLSforencryption;otherwise,theconnectionis

terminated.

terminated. 3 .From SMICM

3.FromSMICMtransaction,restartICMaftersettingupaboveparameter

andalsocheckICMservices,SMTPserviceshouldbeactive.

andalsocheckICMservices,SMTPserviceshouldbeactive. 4 .From SICF transaction,activateSAPconnectservice.

4.FromSICFtransaction,activateSAPconnectservice.

5 .In SCOT transaction,selectSMTPNodesasshownbelowandfrommenu chooseNodes­>Create.

5.InSCOTtransaction,selectSMTPNodesasshownbelowandfrommenu

chooseNodes­>Create.

transaction,selectSMTPNodesasshownbelowandfrommenu chooseNodes­>Create. YouwillgetnewwindowtofillupSMTPnodedetails–

YouwillgetnewwindowtofillupSMTPnodedetails–

FromOffice365youcanfindoutthemailhostandmailportdetails.

FromOffice365youcanfindoutthemailhostandmailportdetails.

Logintoyouroffice365account­>Settingbutton­>Options­>Mail­>

Accounts­>POPandIMAP ­>UnderSMTPSettingyouwillgetrequired details.

NowclickonSettingsbuttoninfrontofSecurityfield,hereselecttheTLS

optionasexplainedinpoint2,makesureyourICMparameterisset

accordingly.

UnderAuthentication,youneedtoprovidevalidoffice365accountemailID

andpassword,<xxxxxx@yourdomain.com>.YouhavetousesameemailID

forSAPuserwithwhichyouaregoingtosendemailsoutsideSAP.

OnfirstscreenunderSupportedAddressTypes­>ClickonInternet(ifyou

OnfirstscreenunderSupportedAddressTypes­>ClickonInternet(ifyou

wanttosetuponlyemail),inAddressareayoucanrestricttowhichdomain

youwanttosendemails,with*optionwillallowtosendemailstoalldomains

withoutrestriction.

youwanttosendemails,with*optionwillallowtosendemailstoalldomains withoutrestriction.

NowsetdomainforSMTP,onSCOTscreenchoosefrommenuSettings­>

DefaultDomain

DefaultDomain

6.Schedulingemailsendjob­FromScotscreendoubleclickonSendJobs.

ClickonScheduleJobbuttonandselectJobtobescheduled.

ClickonScheduleJobbuttonandselectJobtobescheduled.

ProvidedetailsasJobName,Period,UserandVariantifyouwanttochange

default,clickonContinueandsavethejob.

default,clickonContinueandsavethejob. Done.!! Nowtrysendingemailfrom SBWP andcheckstatusin SOST .

Done.!!

NowtrysendingemailfromSBWPandcheckstatusinSOST.

WitholderversionofSAP(lowerthan7.31SupportPackage6and7.21

kernel)whereTLSfunctionalityisnotavailable,wecanuseotheroptionof

‘SMTPRelay’.Inthatoption,wehavetosetupIISserviceasSMTPrelayon

localwindowsserverandthenusethisserverdetailsinSCOT.Linkis

providedinreferencesonhowtodoit.

References:

SAPNotes­

1747180–SMTPviaTLSandSMTPauthentication

1724704–SCOT:SettingsforTLSandSMTPAUTH

1702785–ErrordiagnosisSMTPviaTLSandSMTPauthentication

Otherlinks–

365

AlertModerator

12Comments

YoumustbeLoggedontocommentorreplytoapost.

CarlosLopez May14,2015at11:07am ExcelentpostAshishKasat!
CarlosLopez
May14,2015at11:07am
ExcelentpostAshishKasat!
Ihaveaquestion,whathappendifIneedtoconfigure2differentsmailswiththis
configuration?forexample:
Ihavedonotreply@domain.comtouser1andreply@domain.comtouser2.Iwantthe
receiverseereply@domain.comiftheuser2sendamail.

Isitposible?

Isitposible? AshishKasat Postauthor June2,2015at10:12am ThankyouCarlos. ItriedwithprovidedscenariobutIgetanerror

AshishKasat Postauthor

June2,2015at10:12am

ThankyouCarlos.

ItriedwithprovidedscenariobutIgetanerrorMessageNo.XS812

(Clientdoesnothavepermissionstosendasthissender)whilesending

emailthroughuser2withdifferentemailidforexample–

OnceIchangedemailidforuser2towhichwehaveprovidedinscot

setting,emailstartedflowinginsystem.

Thereshouldbesomeoptionavailableforthisscenario,willsearchonit.

CarlosLopez June2,2015at10:47am HiAshish,

June2,2015at10:47am

HiAshish, Ifoundasolutionthatisusingalocalsmtprelayserver.I

haven’ttestit,becauseIhaveport587closedbutmaybethis

istheway. IfollowedtheselinkstoconfigureSMTPserver. HowtoconfigureInternetInformationServer(IIS)forrelay

I’llcommentwhenItestit.

Regards!

ConfigureOffice365ConfigureOffice365 I’llcommentwhenItestit. Regards! AshishKasat Postauthor June2,2015at11:05am

AshishKasat Postauthor

June2,2015at11:05am

Yesthatalsoworks.!!Forthatyouneedtouse

port25inSCOTsetting,refertableprovidedin

ForusingOnlineexchangeserverinSolmanwe

havetousesamemethod.

ForusingOnlineexchangeserverinSolmanwe havetousesamemethod. FranciscoPavon February26,2016at12:30pm HiAsish,

February26,2016at12:30pm

HiAsish,

Ifyouwanttosendemailswithuser2youhavetograntthe

“Sendas”permissiontouser1(donotreplay@domain.com)in

theuser2’smailbox(reply@domain.com)

Kindregards.

)in theuser2’smailbox( reply@domain.com ) Kindregards. AshishKasat Postauthor July18,2016at10:49am

AshishKasat Postauthor

July18,2016at10:49am

Thankyou,Itriedthisitalsoworks.

HuiraLuisFernandesAlvesMonteiro June12,2015at6:44pm Ashish, doyouknowsomeaboutusingoffice365SMTP withTLSonNetweaverJava
HuiraLuisFernandesAlvesMonteiro
June12,2015at6:44pm
Ashish,
doyouknowsomeaboutusingoffice365SMTP withTLSonNetweaverJava
(>=7.31)?
Thanks
AshishKasat Postauthor July18,2016at11:39am Hello, Sorry,IdonothaveanyJavasystem>=NW7.3totestthis.Kindlycheck
AshishKasat Postauthor
July18,2016at11:39am
Hello,
Sorry,IdonothaveanyJavasystem>=NW7.3totestthis.Kindlycheck
belowhelp.sap
linkithasgoodinformationonsame.
ConfiguringMail,NotificationMessages,andFormsServices–
ConfiguringBusinessProcessManagement–SAPLibrary
Regards,
Ashish
ideSidenorAdministrador November23,2016at12:33pm Hello,
ideSidenorAdministrador
November23,2016at12:33pm
Hello,
Wewouldlikethatalltheemailsouruserssendhavetheirownemailaddressas
sender.
NowalltheemailswesendhavethesenderthatisspecifiedintheSMTPAUTH
insteadoftheuseraddressemail.Isitpossible?
Thanksandregards,
Anna.
ideSidenorAdministrador November23,2016at12:38pm Hello,
ideSidenorAdministrador
November23,2016at12:38pm
Hello,
AfterconfigurigSCOTtosendemailsusingoffice365,wehavefoundthatallthe
emailshavetheSMTPAUTHuserassender.
IsitpossibletosendemailswiththeindividualusersemailaddressandnottheSMPT
AUTHemailaddress?
Regards,
Anna.
AshishKasat Postauthor December9,2016at12:30pm HelloAnna, Itispossible,Ifyouwanttosendemailswithuser2youhavetograntthe
AshishKasat Postauthor
December9,2016at12:30pm
HelloAnna,
Itispossible,Ifyouwanttosendemailswithuser2youhavetograntthe
“Sendas”permissiontouser1(donotreplay@domain.com)intheuser2’s
office365mailbox(reply@domain.com).
Regards,
Ashish
PavelAstashonok November23,2016at6:15pm Hello,isitpossibletosetupsuchconfigurationusingOutlook.comserver?Theyare
PavelAstashonok
November23,2016at6:15pm
Hello,isitpossibletosetupsuchconfigurationusingOutlook.comserver?Theyare
resideonOffice365serversnow.

Share&Follow

resideonOffice365serversnow. Share&Follow Privacy TermsofUse LegalDisclosure Copyright