网站上的 php 联系表和回复电子邮件
我在使用 Rapidweaver 制作的 mediatemple 网格服务器上托管的网站上有一个 PHP 联系表单。它运行良好,只是它生成到我们的 [email protected] 的电子邮件是作为[电子邮件受保护]发送。我认为服务器只是使用垃圾/黑洞地址。有什么方法可以调整我的 php 或更好的服务器设置,以将邮件作为用户在联系表单本身填写的回复地址发送吗?
为什么?好吧,谷歌托管了这个域的电子邮件,我想使用他们的预设回复作为自动回复器。当然,问题是自动回复会转到 [email protected] 而不是用户在表单上填写的电子邮件地址。
谢谢您的帮助!
-猎人
I have a PHP Contact form on a site I am hosing on our mediatemple grid server that was made with Rapidweaver. It works well except that the email it generates to our [email protected] is sent as [email protected]. I think the server is just using the trash/blackhole address. Any way to adjust my php or better yet, the server settings, to send the mail as the reply-to address that the user fills out on the contact form itself?
Why? Well Google hosts the email for this domain and I wanted to use their canned responses as an auto-responder. The problem of course, is that the auto-response goes to [email protected] and not the user's email address that he filled in on the form.
Thank you for the help!
-Hunter
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以向邮件添加标头,
请参阅邮件 phpdoc
You can add headers to your mail
see mail phpdoc