Как настроить SMTP в Canvas LMS? - PullRequest
       63

Как настроить SMTP в Canvas LMS?

0 голосов
/ 28 декабря 2018

Я установил Canvas LMS локально, но застрял в поиске настроек SMTP.Не могли бы вы помочь мне, как двигаться вперед?Я не нашел экран интерфейса пользователя для настройки параметров.

1 Ответ

0 голосов
/ 12 июля 2019

В вашем приложении в каталоге 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"
...