答案 0 :(得分:0)
检查你的exception.log到底。主要是关于sendmail或smtp-relay的配置错误。
您可以尝试使用您在联系表单中输入的相同数据运行测试脚本,并使用magento进行配置
<?php
ini_set( 'display_errors', 1 );
error_reporting( E_ALL );
$from = "from@YOURDOMAIN";
$to = "to@YOURDOMAIN";
$subject = "subject";
$message = "message";
$headers = "From:" . $from;
mail($to,$subject,$message, $headers);
echo "email has been sent";
?>
还要检查这个以进行测试 https://framework.zend.com/manual/1.10/en/zend.mail.introduction.html