我已经在本地安装了Canvas LMS,但我一直在寻找 SMTP 设置。你能帮我如何前进吗?我没有找到用于配置设置的 UI 屏幕。
问问题
1602 次
1 回答
0
在config
目录中的应用程序中,您将找到一个outgoing_mail.yml
必须提供的文件,如下面的 SMTP 设置配置:
development:
address: smtp.gmail.com
enable_starttls_auto: true
port: "587"
user_name: support@example.com
password: ************
authentication: "login"
domain: gmail.com
outgoing_address: support@example.com
default_name: Canvas
test:
delivery_method: "test"
production:
address: smtp.gmail.com
enable_starttls_auto: true
port: "587"
user_name: support@example.com
password: ************
authentication: "login"
domain: gmail.com
outgoing_address: support@example.com
default_name: Canvas
# If receiving mail from multiple inboxes (see incoming_mail.yml.example),
# you'll want to include those addresses in a reply_to_addresses array so
# Canvas will select the Reply-To field of outgoing messages from all of the
# incoming mailboxes.
multiple_inboxes:
address: smtp.gmail.com
enable_starttls_auto: true
port: "587"
user_name: support@example.com
password: ************
authentication: "login"
domain: gmail.com
outgoing_address: support@example.com
default_name: Canvas
reply_to_addresses:
- "canvas1@example.com"
- "canvas2@example.com"
- "canvas3@example.com"
- "canvas4@example.com"
于 2019-07-12T13:15:30.087 回答