Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这是我发送电子邮件的 php 代码,但它没有向我的电子邮件发送任何内容
PHP
<?php mail("nishil.shah17@gmail.com","PHP Mail Works!","Awesome","Hello"); ?>
语法错误你忘记输入@正确的语法是
@
<?php @mail("nishil.shah17@gmail.com","PHP Mail Works!","Awesome","Hello"); ?>
如果您在localhost上使用它,还有一件事可能无法正常工作,因此您必须在远程服务器上检查它