从Movilizer中发送电子邮件

时间:2015-05-22 06:35:24

标签: email movilizer

我尝试创建一个可由用户填写的文本项屏幕。按OK时,应存储输入的数据,并且 - 如果可能 - 通过电子邮件发送(可能作为txt文件附件 - 但电子邮件文本也应该适用)。

是否有可能从Movilizer中打开设备的电子邮件浏览器并将用户输入传输给它?

2 个答案:

答案 0 :(得分:1)

Unfortunately there is no out of the box way to fulfill your requirement and the workaround will not work on all platforms.

  • the textItemScreens email feature does only provide the possibility to open the native browser and to pass the email address.

  • webViewScreen: you can dynamically create and write a local html file and use the mailto: feature. This way you will be able to pass a subject and a body parameter, which can be filled with your data. If this is a feasible workaround depends on the used platform and the embedded browser. On Android and Windows he does not support the mailto call, but on iOS the subject and the body parameter are working. Btw, there was an attachment parameter in earlier days, but this one is no longer supported.

    http://www.tutorialspark.com/html5/HTML5_email_mailto.php

  • and last bot not least the html5 screen. Here it should work, but I have to do some further tests.

The behavior of the Android and Desktop client has to be discussed with the developers, maybe they are able to enable this feature. I will keep you updated.

Best regards

答案 1 :(得分:-1)

请考虑以下方法:

如果您的Movelet源自集成方案,例如在SAP Netweaver中,您可以考虑通过回复或数据容器将用户输入发送到后端系统。

在后端系统中,您可以使用所有权力来应用格式,邮件模板,丰富或转换内容(PDF报告),然后使用内置函数最终将内容分发给收件人。此外,后端可以存储邮件会话的引用,以跟踪交换。

在SAP ABAP中有一些机制,我认为这同样适用于所有其他复杂的编程语言。

希望这有帮助, 汤姆!

附录: 在SAP中,您可以评估CL_BCS类(业务通信服务),但还有更多选项。