0

I have always wanted to be able to have my users send feedback to my email address. Not a problem when using 'createChooser()' with ACTION_SEND type within an Intent. This may lead to a few very rare errors where there is not an application on the user's device to handle that Intent.

My question is: Is it possible to send an anonymous "from" to my developer email account so the User's email will not be required? I know basic HTML, and am wondering if this is possible with a 'form' in a 'WebView' (preferably less complicated) I Do not have a web server or access to one, and am only an individual developer, so that may throw that out of question.

Any insight is greatly appreciated, thank you for reading.

4

1 回答 1

2

我不认为有一个相当简单的方法可以用Intents 做到这一点。我能看到的最好的方法是有几个EditTexts 作为消息,可能还有一个标题,然后Button在底部发送一个发送,然后使用 java 类以编程方式发送。

有关如何执行实际发送部分的信息,请参阅此链接:http: //www.developerfusion.com/code/1975/sending-email-using-smtp-and-java/

这很简单。

于 2014-11-26T01:43:53.807 回答