Skip to content

自定义邮件回复模板设置问题 #329

Answered by scenery
dlzmoe asked this question in Q&A
Discussion options

You must be logged in to vote

应该是没有读取到模版文件,你图中写的相对路径,可能是文件地址错了

docker compose exec artalk bash

使用上面的命令进容器看看模版文件的路径对不对

如果 docker compose 用的文档中的默认模版,调整下目录结构:

- /data
  - /mail_tpl
    - user.html
  - artalk-go.yml
docker-compose.yml

然后配置文件中的路径改为:

mail_tpl: "/data/mail_tpl/user.html"

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

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