1. 开启GMAIL的POP3 IMAP

点设置

Gmail imap 发送邮件


Gmail imap 发送邮件


2. 安全

Gmail imap 发送邮件

应用专用密码可以填入phpmail里.


==================================================

错误提示:

SMTP -> ERROR:Password not accepted from server. 
Code: 535 
Reply: 535-5.7.1 Please log in with your web browser and then try again.

SMTP -> ERROR: Password not accepted from server: 534-5.7.14 
Please log 534-5.7.14 in via your web browser and then try again. 534-5.7.14 Learn more at https://support.google.com/mail/bin/answer.py?answer=787 534 5.7.14 54 tr10sm54899095pbc.22 - gsmtp

https://accounts.google.com/b/0/DisplayUnlockCaptcha



gmail 问了防止别人**密码 即便密码正确 也会封, 比如服务器的ip变了。



==================================================

论坛发邮件提示错误:Couldn't get mail server response codes

解决办法:

修改Sources/Subs-Post.php里:

// EHLO could be understood to mean encrypted hello...
// if (server_parse('EHLO ' . $modSettings['smtp_host'], $socket, null) == '250')
if (server_parse('EHLO ' . 'localhost', $socket, null) == '250')


参考链接1   参考链接2





     本文转自hbyh 51CTO博客,原文链接:http://blog.51cto.com/norman20000/1274324,如需转载请自行联系原作者




相关文章:

  • 2021-06-12
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-21
  • 2020-01-19
  • 2022-02-02
猜你喜欢
  • 2021-11-16
  • 2021-08-05
  • 2021-09-30
  • 2021-12-13
  • 2021-12-16
  • 2021-08-15
  • 2021-12-28
相关资源
相似解决方案