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

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


person Simant    schedule 28.12.2018    source источник


Ответы (1)


В вашем приложении в каталоге config вы найдете файл outgoing_mail.yml, который вы должны указать, например, в следующей конфигурации для настройки SMTP:

development:
  address: smtp.gmail.com
  enable_starttls_auto: true
  port: "587"
  user_name: [email protected]
  password: ************
  authentication: "login" 
  domain: gmail.com
  outgoing_address: [email protected]
  default_name: Canvas


test:
  delivery_method: "test"

production:
  address: smtp.gmail.com
  enable_starttls_auto: true
  port: "587"
  user_name: [email protected]
  password: ************
  authentication: "login" 
  domain: gmail.com
  outgoing_address: [email protected]
  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: [email protected]
  password: ************
  authentication: "login" 
  domain: gmail.com
  outgoing_address: [email protected]
  default_name: Canvas
  reply_to_addresses:
  - "[email protected]"
  - "[email protected]"
  - "[email protected]"
  - "[email protected]"
person Cryptex Technologies    schedule 12.07.2019
comment
ПУТЬ для файла outgoing_mail.yml -> $CANVAS_ROOT/htdocs/config - person Mehdi; 20.12.2020