cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Sending email from UI5 application

former_member194533
Participant
0 Likes
9,217

Hi Experts ,

           I have a requirement to send an Email from Ui5 application (from front end itself not from back end).  I have used sap.m.URLHelper.triggerEmail . This is triggering only till composing the mail but not sending the mail . I want the mail also to be sent so that the user no need to click on send button in the mail composed. Can anyone suggest how to do that .

Thanks

Rizwan

Accepted Solutions (0)

Answers (3)

Answers (3)

SergioG_TX
SAP Champion
SAP Champion

here is a similar post

former_member194533
Participant
0 Likes

Hi All,

          Thanks for your replies . But sad to say none of them satisfy my requirement. .

I have already used URLHelper.triggerEmail. This is already opening the email with To, Subject and content but the user has to click the send button,then only the email will go . But my requirement is to send the email directly without user clicking the send button. Hope you understand my requirement.

Please reply if you need any clarifications.

Thanks

Rizwan

junwu
SAP Champion
SAP Champion
0 Likes

do at backend

SergioG_TX
SAP Champion
SAP Champion
0 Likes

you will need to involve a backend technology to be able to send the actual email. I do not think you can simply send it from the UI. you will need to have something like a SMTP server/service that you consume from your UI

former_member203031
Contributor
0 Likes

Hi Rizwan,

For triggering a mail:

        var a = "abc@some.com";

       "sap.m.URLHelper.triggerEmail(a, "SUBJECT");"

This will trigger the email after this we have click on send button,but as per your question this is not the solution.

Please refer the link below:


How to send the automatic emails in sapui5? | SCN

If you got any info please share the solution.

Thanks,

Deepak.

Pavan24
Explorer
0 Likes

Hai Experts,


 Is this Query got a Solution?Please share me the Solution if its satisfy's the actual requirement.

Thanks & Regards,
Pavan.