对于表单邮件脚本,我可以使用什么来代替 TFMail?

发布于 2024-09-14 17:50:05 字数 398 浏览 2 评论 0原文

TFMail 曾经是一种流行的 PERL CGI 表单邮件脚本。到目前为止,它已经达到了我们的目的。设置和配置非常容易。

不幸的是,它只有基本功能。当您希望用户填写表单并将结果通过电子邮件发送到指定的电子邮件地址时,它非常有效。

有人可以推荐一个我可以用来替换 TFMail 的脚本(也许是 PHP 脚本)吗?

以下是我喜欢 TFMail 中的功能:

设置 HTML 表单并将操作指向脚本 表单

  • 的结果通过电子邮件发送
  • 指定电子邮件的收件人
  • 为发送给收件人的电子邮件创建模板
  • 创建模板电子邮件发送至 提交者
  • 创建一个模板 日志文件
  • 允许文件附件
  • 重定向到感谢/确认页面

TFMail was a popular PERL CGI Form Mail script at one time. So far it has served our purposes. It is very easy to set up and configure.

Unfortunately, it only has basic functionality. It works well when you want users to fill in a form and have the result emailed to a specified email address.

Can someone recommend a script ( maybe a PHP script ) that I can use to replace TFMail?

Here's the functionality that I like in TFMail:

Set up an HTML form and point the action at the script

  • The result of the form gets sent via email
  • Specify the recipient of the email
  • Create a template for the email sent to the recipient
  • Create a emplate for the email sent to the
    submitter
  • Create a template for the
    log file
  • Allow file attachments
  • Redirect to a thank-you/confirmation page

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

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

发布评论

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

评论(1

温柔嚣张 2024-09-21 17:50:05

有很多。如果你使用一个框架,它很可能会有一些东西。如果没有,还有 HTML::MIME、Zend_Mail(可以与 Zend 一起使用或不与 Zend 一起使用)等等,只需通过 google 搜索即可找到。在 90 年代末,似乎每个开始使用 Perl 或 PHP 之类的东西的人都会编写邮件程序作为通行权或其他东西,所以这样的人有上百万。

http://htmlmimemail.tuxfamily.org/
http://www.electrictoolbox.com/sending-email-zend-mail/

等等...

(我认为创建我们自己的框架是新的通行权。)

There are tons. If you use a framework, it will have something, most likely. If not, there is HTML::MIME, Zend_Mail (can be used with or w/o Zend), and many more just a google search away. In the late 90's, it seemed that everyone starting out in something like Perl or PHP would write a mailer as a right-of-passage or something so there are a million of them out there.

http://htmlmimemail.tuxfamily.org/
http://www.electrictoolbox.com/sending-email-zend-mail/

etc...

(Creating our own frameworks is the new right-of-passage, I think.)

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