从托管在GitHub页面上的静态页面发送电子邮件 [英] Send email from static page hosted on GitHub Pages
问题描述
我使用GitHub Pages托管了一个静态HTML页面。我需要添加一个发送反馈功能到我的静态页面,用户可以输入他的姓名,电子邮件和评论,然后点击提交按钮。这将发送一封电子邮件,内容到我的电子邮件地址。这可以以某种方式在GitHub上的静态HTML页面中工作吗? GitHub Pages是否支持这种邮件功能?
我也想知道GitHub Pages服务器支持哪些功能/插件等,它基于它使用的底层web服务器?
这不能在GitHub页面上本地完成。您需要使用一些 种类 的 表单提交工具。
GitHub的页面文档描述你可以做什么,不能做什么主机,以及它支持的插件。
I have hosted a single static HTML page using GitHub Pages. I need to add a "Send Feedback" feature to my static page where a user can type in his name, email, comments and click the SUBMIT button. This will send an email with the contents to my email address. Can this somehow work in a static HTML page on GitHub? Does GitHub Pages support this mailing feature?
I also want to know what features/plugins etc can GitHub Pages server support based on the underlying web server it uses?
This cannot be done natively on GitHub pages. You will need to use some kind of form submission tool.
GitHub's pages documentation describes what you can and cannot do with the hosting, and what plugins it supports.
这篇关于从托管在GitHub页面上的静态页面发送电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!