我已经成功安装并运行了SocioBoard但是当我注册为新用户时,我没有收到验证电子邮件我尝试将Gmail作为SMTP使用,这是我的Laravel .env代码
AIL_DRIVER= smtp
MAIL_HOST= smtp.googlemail.com
MAIL_PORT=465
[email protected]
MAIL_PASSWORD=mygmailpassword
MAIL_ENCRYPTION=ssl
这是节点API的配置文件代码
"mailService": {
"defaultMailOption": "gmail",
"sendgrid": {
"username": "<<sendgrid username>>",
"password": "<<sendgrid password>>",
"frommail": "<<sendgrid frommail>>",
"ccmail": "<<sendgrid ccmail>>",
"apiKey": "<<sendgrid apiKey>>"
},
"gmailServices": {
"email": "[email protected]",
"password": "mygmailpassword"
}
},
我做错什么了吗?
此“节点API的配置文件代码”应位于Notification-> config->默认文件中并且如果您手动使用它,您应该是管理员。