Skip to content

关于邮箱配置的问题? #249

Answered by ghost
ghost asked this question in Q&A
Nov 2, 2021 · 3 comments · 4 replies
Discussion options

You must be logged in to vote

经测试,outlook.com 邮箱配置如下,可以正常收发评论的邮件:

SMTP_SERVICE: "outlook.com"
SMTP_HOST: "smtp-mail.outlook.com"
SMTP_PORT: "587"
SMTP_SECURE: "STARTTLS"

如果收不到邮件,基本是 Vercel 服务 超时 导致。当评论操作出现 并发状态 时,Vercel 服务也会超时:

Vercel 服务 log:

[POST] /
请求方法: POST_SUBMIT
请求参数: {
  event: 'POST_SUBMIT',
  comment: {
	// ........ ...........
  }
}
垃圾评论检测结果: false
没有配置 server 酱,放弃微信通知
没有配置 pushplus,放弃通知
未配置 WECOM_API_URL,跳过企业微信推送
没有配置 qmsg 酱,放弃QQ通知
SMTP 邮箱配置正常
2021-11-05T12:09:20.147Z b9ee61cf-a804-4e33-943e-a0540ff8a931 Task timed out after 10.01 seconds

2021-11-05T12:04:20.509Z fd132f10-be82-43cf-b25e-50fc3eb058e7 Task timed out after 10.00 seconds

大家可以验证一下。

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@ghost
Comment options

@imaegoo
Comment options

Comment options

You must be logged in to vote
2 replies
@ghost
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by imaegoo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant