cancel
Showing results for 
Search instead for 
Did you mean: 

Email destination config. required for sap domain email ids java app deployed in HCP

former_member487103
Discoverer
0 Kudos

I am currently using the below destination setting for an application which is not working for me and giving "Couldn't connect to host, port: mail.sap.corp, 25; timeout -1" error statement.

My current setting is

Mail.user: tool.itspmdm@sap.com

Mail.password: ****************

Mail.transport.protocol: smtp

mail.smtp.auth: true

mail.smtp.port: 25

mail.smtp.host: mail.sap.corp

Could you please share me the correct setting that I can connect with mail host and able to send email with my java application which is hosted on HC

Please go through the link below for documentation which we have used to set the configuration https://help.sap.com/viewer/cca91383641e40ffbe03bdc78f00f681/Cloud/en-US/a191df7fa8f84be18578b3da3dd...

Please note in the documentation example is given for gmail and when we are configuring the application with gmail it is working fine. But when we are trying to connect with sap domain email ids this setting is not working for the cloud. When we are running in local system the current configuration is working fine. The current configuration is in below.

Mail.user: tool.itspmdm@sap.com

Mail.password: ****************

Mail.transport.protocol: smtp

mail.smtp.auth: true

mail.smtp.port: 25

mail.smtp.host: mail.sap.corp

I guess the configuration is not working in cloud because the could is in different zone hence I am suspecting a different host and port name. Though I am not very sure about the same. I have raised a ticket to email team. They have suggested the below url

https://internet.sap.corp/services/smtp/workflow/smtp-auth-req/

Still I am not able to figure the appropriate configuration. Please suggest.

Accepted Solutions (0)

Answers (1)

Answers (1)

Ivan-Mirisola
Product and Topic Expert
Product and Topic Expert
0 Kudos

Vidushi,

SCP infrastructure runs outside of SAP's corporate network. This means that no addresses from sap.corp will work right away under your SCP account.

Therefore, the only way you can relay emails through SAPp's corporate SMTP server is by connecting your cloud account with SAP Cloud Connector. This way you would've allowed connections from SCP to flow through SCC into SAP's corporate network.

Regards,
Ivan