来自应用程序的电子邮件,但不使用弹出控制器,仅使用文本框中的文本

发布于 2024-08-28 08:11:13 字数 319 浏览 2 评论 0原文

有什么方法可以将文本视图中的内容(我正在尝试提出建议框)发送到我的电子邮件地址?

示例

用户在框中输入“我认为您应该添加 Twitter 支持” 然后在后台发送到我的电子邮件地址[电子邮件受保护] 然后屏幕上会弹出一条消息,上面写着“已发送建议”,这

只是我的意思的一个例子,

任何想法、教程链接将不胜感激,

谢谢

is there any way to send whats in a text view (im trying to make a suggestion box) to my email address?

example

user types in the box " I think you should add twitter support"
then that is sent in the background to my email address [email protected]
then a message is popped up on the screen saying "suggestion sent"

just an example of what i mean

Any ideas, tutorial links would be greatly appreciated guys

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

梦在深巷 2024-09-04 08:11:13

您可以使用 php、asp 或许多其他服务器端编程语言来完成此操作。取决于你的服务器支持什么?

您的表单操作将是一个 php 文件,然后它将处理表单中发送的信息。

http://php.net/manual/en/function.mail.php

You can do this in php, asp or many another server side programming language. Depends what your server supports?

Your form action would be a php file that would then process the info sent in the form.

http://php.net/manual/en/function.mail.php

九命猫 2024-09-04 08:11:13

如果您不想使用内置的邮件编辑器,您可以随时推出自己的 SMTP 客户端代码。但这样的解决方案并不完美——你必须有一个 SMTP 服务器(或者使用开放中继,哎呀)并且设备必须在线,或者你必须编写一些网络队列。至于 SMTP 客户端库,快速搜索会返回 skpsmtpmessage (不知道它是否有效)。

PS 你坚持通过电子邮件发送建议吗?听起来像一个简单的 HTTP POST 到数据库就可以了。

You can always roll out your own SMTP client code if you don’t want to use the built-in mail composer. But such a solution is not perfect – you have to have an SMTP server (or use an open relay, yuck) and the device has to be online or you have to write some network queue. As for the SMTP client library, quick search returns skpsmtpmessage (no idea if it works at all).

P.S. Do you insist on sending the suggestion by e-mail? Sounds like a simple HTTP POST into a database would do just fine.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文