我对把电子邮件变成螳螂有问题。我怎样才能解决这个问题?
日志:
2016-06-19 10:38 CEST mail message #165 queued
2016-06-19 10:38 CEST mail Password reset for user @U11 sent to mail@mail.com
2016-06-19 10:38 CEST mail Processing e-mail queue (1 messages)
2016-06-19 10:38 CEST mail Sending message #165 queued on 2016-06-19 10:38 CEST
2016-06-19 10:38 CEST mail ERROR: Message could not be sent - SMTP Error: The following recipients failed: mail@mail.com<p>SMTP server error: 5.7.1 <mail@mail.com>: Recipient address rejected: You cannot send email using FROM address different than your login. 773d.576659f9.52d4c.0
配置:
$g_allow_signup = ON;
$g_enable_email_notification = ON;
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_smtp_host = 'xx.pl';
$g_smtp_username = 'xx@xx.pl';
$g_smtp_password = 'yy';
$g_smtp_connection_mode = 'tls';
$g_smtp_port = 587;
$g_from_email = 'xx@xx.pl';
$g_from_name = 'Xx';
$g_max_lost_password_in_progress_count = 100;
$g_email_send_using_cronjob = OFF;
$g_log_level = LOG_EMAIL | LOG_EMAIL_RECIPIENT | LOG_FILTERING | LOG_AJAX;
$g_log_destination = 'file:/mantis.log';
发布于 2016-06-20 06:22:11
我刚将$g_return_path_email添加到配置文件中,现在它可以工作了。
发布于 2016-06-19 10:26:09
就像上面写的--它不允许使用与登录不同的from地址发送。这取决于您的ISP,但请注意,这并不少见- gmail也是这样做的,尽管它确实允许您将别名预先定义为地址的替代。
https://stackoverflow.com/questions/37905426
复制相似问题