walinejs / waline

💬 A Simple, Safe Comment System
https://waline.js.org/en/
GNU General Public License v2.0
2.19k stars 380 forks source link

[Bug]: 邮件提醒通知无法提醒博主 || [Bug]: Email reminder notification cannot remind bloggers #2143

Open Akimio521 opened 10 months ago

Akimio521 commented 10 months ago

问题描述 | Describe the bug

如题,其他人在博客下留言,博主无法收到邮件通知,博主回复评论其他人正常。 已填写参数AUTHOR_EMAIL 登陆邮箱后台发现只给其他人发送了邮件,没给博主发邮件

问题网站 | Website URL

AUTHOR_EMAIL

服务部署在哪里? | Where your waline deploy?

Vercel (Default)

数据存储在哪里?| Where your comment data store?

MongoDB


Problem description | Describe the bug

Just like the title, if other people leave comments on the blog, the blogger cannot receive email notifications, but the blogger can reply to other people's comments normally. Parameter AUTHOR_EMAIL has been filled in When I logged in to my mailbox, I found that I had only sent emails to other people, but not to the blogger.

Question Website | Website URL

AUTHOR_EMAIL

Where is the service deployed? | Where your waline deploy?

Vercel (Default)

Where is the data stored? | Where your comment data store?

MongoDB

lizheming commented 10 months ago

提供下 Vercel 后台的日志吧


Please provide the Vercel background log

Akimio521 commented 10 months ago

image 后台日志好像也没什么特别的


image The background log seems to be nothing special

lizheming commented 10 months ago

博主通知有配置什么其他的通知方式吗?


Are there any other notification methods configured for blogger notification?

Akimio521 commented 10 months ago

没太懂你什么意思,环境变量填了下面这些:

SITE_NAME=
SITE_URL=
LEVELS=
MONGO_HOST=
MONGO_PORT=
MONGO_USER=
MONGO_PASSWORD=
MONGO_DB=
MONGO_OPT_SSL=
MONGO_AUTHSOURCE=
SMTP_HOST=
SMTP_PORT=
SMTP_USER=
SMTP_PASS=
SMTP_SECURE=
SENDER_NAME=
SENDER_EMAIL=
AUTHOR_EMAIL=
MAIL_SUBJECT=
MAIL_TEMPLATE=
MAIL_SUBJECT_ADMIN=
MAIL_TEMPLATE_ADMIN=
WEBHOOK=

顺便想问一下,WebHook是没办法传输评论人、具体评论这些信息吗


I don’t quite understand what you mean. The environment variables are filled with the following:

SITE_NAME=
SITE_URL=
LEVELS=
MONGO_HOST=
MONGO_PORT=
MONGO_USER=
MONGO_PASSWORD=
MONGO_DB=
MONGO_OPT_SSL=
MONGO_AUTHSOURCE=
SMTP_HOST=
SMTP_PORT=
SMTP_USER=
SMTP_PASS=
SMTP_SECURE=
SENDER_NAME=
SENDER_EMAIL=
AUTHOR_EMAIL=
MAIL_SUBJECT=
MAIL_TEMPLATE=
MAIL_SUBJECT_ADMIN=
MAIL_TEMPLATE_ADMIN=
WEBHOOK=

By the way, I would like to ask, is there no way for WebHook to transmit the information of the reviewer and specific comments?

moeyy01 commented 10 months ago

同样的问题, vercel部署


Same problem, vercel deployment

Guangsudalao commented 10 months ago

+1,在vercel上部署就有这个问题,评论时无法收到邮件,但是在deta.space上部署就可以收得到邮件


+1, I have this problem when deploying on vercel. I cannot receive emails when commenting, but I can receive emails when deploying on deta.space

Celetherin commented 10 months ago

我也遇到了同样的问题,vercel部署,博主收不到评论通知,但其他人可以收到邮件。


I also encountered the same problem with vercel deployment. The blogger could not receive comment notifications, but other people could receive emails.

ccbikai commented 9 months ago

同样的问题, vercel部署

Same problem, vercel deployment

发件人和收件人不要使用同一个域名试试


Same problem, vercel deployment

Same problem, vercel deployment

Don’t use the same domain name for the sender and recipient. Try

Moemu commented 2 months ago

+1,log上面写着Comment notify done!,可是无论是邮件还是Qmsg都没收到通知,后台查询邮箱没有登录记录、发信记录;发件邮箱的SMTP登录正常。 image

已配置环境变量: QQ_ID QMSG_KEY SMTP_SERVICE SMTP_USER SITE_URL SITE_NAME SMTP_PASS AUTHOR_EMAIL COMMENT_AUDIT LEAN_KEY LEAN_ID LEAN_MASTER_KEY


+1, the log says Comment notify done!, but neither email nor Qmsg has been notified. The background query mailbox has no login record or sending record; the SMTP login of the sending mailbox is normal. image

Configured environment variables: QQ_ID QMSG_KEY SMTP_SERVICE SMTP_USER SITE_URL SITE_NAME SMTP_PASS AUTHOR_EMAIL COMMENT_AUDIT LEAN_KEY LEAN_ID LEAN_MASTER_KEY

lizheming commented 2 months ago

只要显示 notify done 那就是 Waline 与发件服务商通信是成功的。至于为啥没真的发送,可能原因有非常多,有可能是发件方防火墙屏蔽,有可能收件方防火墙屏蔽,具体原因我这边也不太清楚。建议可以多换几个邮件服务商试试。


As long as notify done is displayed, it means that the communication between Waline and the sending service provider is successful. As for why it was not actually sent, there may be many reasons. It may be blocked by the sender's firewall, or it may be blocked by the recipient's firewall. I don't know the specific reasons. It is recommended that you try several more email service providers.