编辑mail配置,如下图所示
如果sever开启了SSL,则端口改成465
在Contant Us页面留言,发送成功则配置完成
Error: RCPT TO not accepted from server”,该问题一般是因为邮件服务器不支持自己发邮件到自己邮箱,解决方法,程序里自定义设置目标邮箱地址
1.联系我们contact
catalog/controller/information/contact.php
//$mail->protocol = $this->config->get('config_mail_protocol');
$mail->protocol = 'mail';
2.checkout
catalog/module/checkout/order.php 查看