更改服务器电子邮件地址

您好,在与主机服务商咨询后,我确认无法创建带有子域名的电子邮件地址。因此,我想请教如何将邮件(例如论坛注册时发出的邮件)中的发件人地址从 noreply@forum.rlv.link 更改为 noreply@rlv.link

您的 app.yml 文件最底部有一行:
discourse_docker/samples/standalone.yml at 333b879a0889db082741a1ae431612a9fa74cb91 · discourse/discourse_docker · GitHub

#- exec: rails r “SiteSetting.notification_email=‘info@unconfigured.discourse.org’”

去掉 #,然后将电子邮件地址更改为您要使用的地址。

重新构建以使更改生效。

或者,如果您已经安装了 Discourse,可以进入站点设置,搜索 notification_email 并在那里编辑电子邮件地址。

2 个赞

我认为 ./launcher rebuild app

1 个赞

是的,这就是您需要的命令。

谢谢,一切终于正常运行了!

1 个赞

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.