How to send email - SAPUI5 -
i trying send sample email in sapui5. have used sap.m.urlhelper.triggeremail(["dummy@mail.com"], ["sample subject"], ["hi"]);
. not working. have tried using window.top.location = "mailto:" + email + "&subject=" + subject + "&body=" + message;
. no luck.
try this:
sap.m.urlhelper.triggeremail("dummy@mail.com", "sample subject", "hi");
it should without [ ] because parameters triggeremail expects of type string
Comments
Post a Comment