Email: 
# Email SMTP server host
mailSMTP: 'smtp.gmail.com'
# Email SMTP server port
mailPort: 465
# Email account which sends the mails
mailAccount: '[email protected]'
# Email account password
mailPassword: '******'
# Custom sender name, replacing the mailAccount name in the email
mailSenderName: '理想乡'
# Recovery password length
RecoveryPasswordLength: 8
# Mail Subject
mailSubject: '你的新密码'
# Like maxRegPerIP but with email
maxRegPerEmail: 1
# Recall players to add an email?
recallPlayers: true
# Delay in minute for the recall scheduler
delayRecall: 5
# Blacklist these domains for emails
emailBlacklisted:
- '10minutemail.com'
# Whitelist ONLY these domains for emails
emailWhitelisted: []
# Send the new password drawn in an image?
generateImage: false
# The OAuth2 token
emailOauth2Token: ''
然后找回密码后台提示
[22:06:01] [Craft Scheduler Thread - 3/WARN]: [AuthMe] Failed to send a mail to [[email protected]]: [EmailException]: Sending the email to the following server failed : smtp.gmail.com:465
怎么搞
# Email SMTP server host
mailSMTP: 'smtp.gmail.com'
# Email SMTP server port
mailPort: 465
# Email account which sends the mails
mailAccount: '[email protected]'
# Email account password
mailPassword: '******'
# Custom sender name, replacing the mailAccount name in the email
mailSenderName: '理想乡'
# Recovery password length
RecoveryPasswordLength: 8
# Mail Subject
mailSubject: '你的新密码'
# Like maxRegPerIP but with email
maxRegPerEmail: 1
# Recall players to add an email?
recallPlayers: true
# Delay in minute for the recall scheduler
delayRecall: 5
# Blacklist these domains for emails
emailBlacklisted:
- '10minutemail.com'
# Whitelist ONLY these domains for emails
emailWhitelisted: []
# Send the new password drawn in an image?
generateImage: false
# The OAuth2 token
emailOauth2Token: ''
然后找回密码后台提示
[22:06:01] [Craft Scheduler Thread - 3/WARN]: [AuthMe] Failed to send a mail to [[email protected]]: [EmailException]: Sending the email to the following server failed : smtp.gmail.com:465
怎么搞
修改下:
mailSMTP:smtp.qq.com
mailPassword: 这里填你邮箱的密码
貌似需要设置mysql数据库
mailSMTP:smtp.qq.com
mailPassword: 这里填你邮箱的密码
貌似需要设置mysql数据库
cc58c58 发表于 2016-8-17 11:46
修改下:
mailSMTP:smtp.qq.com
mailPassword: 这里填你邮箱的密码
格式记得windows转ansi