本文介绍了创建Android的反馈表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我创造我的应用程序反馈表。
I am creating a feedback form in my app.
这是我想要的:
当用户填写反馈表,然后点击提交按钮,用户信息被发送给我的电子邮件地址,而不要求用户登录到他/她的账户,即用户可以将反馈发送没有我们的邮件凭证。这可能吗?
When the user fills the feedback form and then clicks on Submit button, the user information is then sent to my email address without asking the user to log into his/her account i.e. user can send feedback without our email credentials. Is it possible?
如果是的话,请给一些暗示。
If yes then please give some hint.
推荐答案
我打了一个类似的问题,结束了使用的
I hit a similar problem and ended up sending emails to myself using AWS SES
public static void sendEmail(String receiver,String title,String message){
AWSCredentials credentials = getCreds();
AmazonSimpleEmailServiceClient sesClient = new AmazonSimpleEmailServiceClient( credentials );
Content subjectContent = new Content(title);
Body messageBody = new Body(new Content(message));
Message feedbackMessage = new Message(subjectContent,messageBody);
Destination destination = new Destination().withToAddresses(receiver);
SendEmailRequest request = new SendEmailRequest(receiver,destination,feedbackMessage);
SendEmailResult result = sesClient.sendEmail(request);
}
这篇关于创建Android的反馈表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!