OJS SMTPMailer:无法通过AWS SES进行OJS 2.4.8.1身份验证

我正在使用OJS 2.4.8.1,因此,我想使用 AWS SES SMTP服务,因此,我已经配置了配置文件 config.inc.php 如下:

; Use SMTP for sending mail instead of mail()
smtp = On

; SMTP server settings
smtp_server = email-smtp.us-east-1.amazonaws.com
smtp_port = 587

; Force the default envelope sender (if present)
; force_default_envelope_sender = On

; Enable SMTP authentication
; Supported mechanisms: PLAIN,LOGIN,CRAM-MD5,and DIGEST-MD5
smtp_auth = PLAIN
smtp_username = XXXXXXXXXX
smtp_password = XXXXXXXXXX/XXXXXXXXX

; Allow envelope sender to be specified
; allow_envelope_sender = On

发送测试后,我可以在 error_log 中查看以下内容:

OJS SMTPMailer: Could not authenticate

注释:用户名和密码正确,我尝试添加带/不带引号的参数,尝试使用25、465或587端口,但无济于事。

任何帮助都受到好评。

ff136158 回答:OJS SMTPMailer:无法通过AWS SES进行OJS 2.4.8.1身份验证

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/3071867.html

大家都在问