发送电子邮件没有密码 [英] Send Email Without Password

查看:152
本文介绍了发送电子邮件没有密码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个Android应用程序。在我的Android应用程序中,我正在反馈表单。我将用户的电子邮件ID作为输入。我想要用户点击电子邮件应该发送的提交按钮。
我不想让该用户添加他/她的密码。



我已经通过 Intent 和第二种方法在下面的链接..



第二种方法

解决方案

如果您希望从应用程序用户的帐户发送电子邮件,则需要进行适当的身份验证。



因此,你可以发送一个电子邮件应用程序的意图(如你所提到的),或者你可以自己做(如你所提到的第二种方法)。



但是第二种方法显然需要密码,因为您代表用户发送电子邮件(从他们的帐户)。 Gmail(或任何邮件服务提供商的事实)将不会允许没有密码。



所以回答你的问题,简而言之,不。你不能没有密码。



相反,你可以使用一些工作。您可以从单个邮件ID(由您创建的所有密码)发送通过您的应用发送的所有电子邮件。现在在电子邮件的内容中,您可以存储您要求反馈的用户的电子邮件ID。



这样,您只需要邮件ID(无密码),如果您想联系他们,您也可以联系他们。



希望这有帮助。

祝你好运。


I am developing an android app. In my android app I am having feed back form. and I take a email id from user as input. and i want when a user clicks on submit button the email should send. I dont want that user should add his/her password for that.

I have checked the default method by Intent and the second method in the below link ..

Second Method

解决方案

If you want the email to be sent from the account of the user of the app, a proper authentication would be required.

As a result, either you could send an intent to email app (as you mentioned) or you could do it yourself (as in second method mentioned by you).

But the second method obviously requires password since you are sending an email on behalf of the user (from their account). Gmail (or any mail service provider as a matter of fact) won't allow that without a password.

So to answer your question in a nutshell, no. You can not do it without a password.

In stead, you could use a work around. You can send all emails sent through your apps from a single mail id (which is created by you so you know the password). Now in the content of the email, you can store the email id of the user from whom you are asking for the feedback.

This way, you just have to ask for the mail id (no password) and you also get their contact information if you want to contact them back.

Hope this helps.
Good luck.

这篇关于发送电子邮件没有密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆