我已经在本地安装了 Canvas LMS ,但是我一直在寻找SMTP设置。您能帮我前进吗?我没有找到用于配置设置的UI屏幕。
答案 0 :(得分: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"