cancel
Showing results for 
Search instead for 
Did you mean: 

How to send email from sap hana xs server using javascript

Former Member
0 Kudos

Hi All,

Is there any way to send emails from sp hana (like javaMail in java) using javascript?

Thanks

Varathan A

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Varathan,

I tried this in HANA SPS08 (XSJS via consuming HTTPS REST mail provider):

How to send mail from a productive HANA XS application

It works perfect for sending emails !

But you have to setup HTTPS first:

Outbound httpS with HANA XS (part 1) - set up your HANA box to use SSL/TLS

Best regards

Benjamin

Answers (1)

Answers (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

This feature is planned for SPS09.  We will SMTP apis to XSJS.

sreehari_vpillai
Active Contributor
0 Kudos

super cool

Former Member
0 Kudos

Hi Thomas,

Is there any best way to implement email functionality using sapui and sap river?

Thanks

Varathan A

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

Not sure I understand the question.  XSJS is planned to have this functionality in SPS09. Are you wanting to know how to send an email from the client side in the UI.  The UI can use the mailto functionality, but this is just going to open the default email client on the users desktop.  Generally this isn't what people want in the enterprise. They want to control the email content and send it automatically and therefore issue this from the server side.

Former Member
0 Kudos

Thanks for the information.

Former Member
0 Kudos

XSJS service can use Http destination to send requests to Email server supporting HTTP Chanel  - Sengrid for instance.

FlorianVogt
Advisor
Advisor
0 Kudos

Hi,

are there some news regarding the mail service without using mailgun?

Best Regards

Former Member
0 Kudos

You can find it here: