簡體   English   中英

無法在畫布lms中傳遞郵件? 我缺少什么配置設置?

[英]Not able to deliver the mail in canvas lms? What configuration setting i am missing?

這是我的outgoing_mail.yml文件。如果單擊“忘記密碼”鏈接,則顯示在delay_job.log中。我的電子郵件傳遞卡住了,請幫助我。

production: 
    address: "smtp.gmail.com" 
    port: "587" 
    user_name: "xxxxxx@gmail.com" 
    password: "password" 
    authentication: "plain" # plain, login, or cram_md5 
    domain: "domain_name.com" 
    outgoing_address: "xxxxxx@gmail.com" 
    default_name: "Instructure Canvas"

config/environments/production.rb

  config.action_mailer.delivery_method = :smtp
  config.action_mailer.default_url_options = { host:'your host', port: 'xxx' }
  config.action_mailer.perform_deliveries = true
  config.action_mailer.raise_delivery_errors = true
  config.action_mailer.default :charset => "utf-8"
  config.action_mailer.smtp_settings = {
      :address => "smtp.gmail.com",
      :port => 587,
      :domain => 'abc.com',
      :user_name => "xxxx@mail.com",
      :password => "xxxx",
      :authentication => :plain,
      :enable_starttls_auto => true
  } 

我的SMTP設置是正確的,但是站點管理員設置中有功能選項部分,還有一個選項“使用遠程服務進行通知”為否。如果您使用郵件服務等遠程服務,此選項將關閉。 而且工作正常。

功能選項設置

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM