php邮件功能不起作用?为什么? [英] php mail function not working? why?

查看:78
本文介绍了php邮件功能不起作用?为什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我的联系方式。

this is my contact form.html

展开 | 选择 | Wrap | 行号

推荐答案

你可以说@是错误的,因为它阻止你收到mail()可能遇到的任何错误。你也不要检查mail()的返回值以查看调用是否成功。
you could say the @ is wrong, as it prevents you to receive any errors mail() may encounter. you also don?t check mail()?s return value to see if the call was successful.


ya。我用脚本测试,当我点击提交时,它会转到感谢页面,没有任何错误。但我没有收到任何邮件...
ya. i tested with the script, when i click submit it goes to the thank you page without any error. but i am not recieving any mails...


你不会得到任何错误,因为你压制它们。
you cannont get any errors, because you suppress them.


这篇关于php邮件功能不起作用?为什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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