如何从网络表单发送电子邮件?
我正在为我的小办公室开发一个网站。
我想设计一个表单,用户可以输入他们的基本信息和他们需要帮助的问题类型,然后点击提交。
我希望此表格能够自动向我办公室的某人发送一封电子邮件,其中包含表格的内容。
我正要从头开始写这篇文章,但后来我意识到这一定是人们已经解决的问题。
您可以在此处查看我正在谈论的页面。
谢谢!
I'm working on a website for my small office.
I want to design a form that the user can type in their basic information and the sort of question they need help with, then hit submit.
I would like for this form to then automatically send an email to someone at my office with the contents of the form included.
I was about to start writing this from scratch, but then I realized this has to be a problem that people have already solved.
You can see the page I'm talking about here.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要使用服务器端语言,例如 php。
获取 表单数据
然后在内置函数中使用它,例如
mail()
[文档]You need to use a server side language such as php.
Get the form data
And then use its in built functions such as
mail()
[docs]