从托管在 GitHub 页面上的静态页面发送电子邮件 [英] Send email from static page hosted on GitHub Pages

查看:35
本文介绍了从托管在 GitHub 页面上的静态页面发送电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 GitHub Pages 托管了一个静态 HTML 页面.我需要向我的静态页面添加发送反馈"功能,用户可以在其中输入他的姓名、电子邮件、评论并单击提交"按钮.这将向我的电子邮件地址发送一封包含内容的电子邮件.这可以在 GitHub 上的静态 HTML 页面中以某种方式工作吗?GitHub Pages 是否支持此邮寄功能?

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?

我还想知道 GitHub Pages 服务器可以根据其使用的底层 Web 服务器支持哪些功能/插件等?

I also want to know what features/plugins etc can GitHub Pages server support based on the underlying web server it uses?

推荐答案

这不能在 GitHub 页面上本地完成.您将需要使用 some kind of 表单提交工具.

This cannot be done natively on GitHub pages. You will need to use some kind of form submission tool.

GitHub 的 页面文档 描述了您可以使用托管做什么和不可以做什么,以及它支持的插件.

GitHub's pages documentation describes what you can and cannot do with the hosting, and what plugins it supports.

这篇关于从托管在 GitHub 页面上的静态页面发送电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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