Canvas LMS outgoing mail not work

47 views
Skip to first unread message

Robert Matias

unread,
Apr 3, 2024, 6:44:19 PMApr 3
to Canvas LMS Users
Hello dears. I would need if someone can help me configure canvas with sendgrid. I do not know what I'm doing wrong. I have created a sendgrid account, and I have added a sender to sendgrid using a personal email (and it is validated)
Captura de pantalla 2024-04-03 194103.png
this is my outgoing_mail.yml file:
#development:
# address: "smtp.example.com"
# port: "25"
# user_name: "user"
# password: "password"
# authentication: "plain" # plain, login, or cram_md5
# domain: "example.com"
# outgoing_address: "can...@example.com"
#default_name: "Instructure Canvas"

# or to use sendmail --
#
#development:
# delivery_method: "sendmail"

#test:
# delivery_method: "test"

production:
   address: smtp.sendgrid.net
   port: 587
   domain: <canvas.example.com>
   outgoing_address: <my_account>@hotmail.com
   default_name: Instructure Canvas
   user_name: apikey
   password: "<sendgrid_api_key>"
   authentication: plain
   enable_starttls_auto: true


where <canvas.example.com> is the domain where the canvas lms runs
  and <my_account>@hotmail.com would be my "sender" added and validated in sendgrid
and <sendgrid_api_key> the key that you generate in sendgrid for the use of the api.

With this configuration, canvas is not sending emails, for example when requesting to retrieve, or create a user; or send him a message directly.

I have also tried:
authentication: login

but not send mails too.

Any idea what I could be doing wrong?

lucifer

unread,
Apr 4, 2024, 1:44:04 AMApr 4
to Canvas LMS Users
Don't know about sendgrid mail configuration but pretty sure gmail works for you..... : ) 

production:
  delivery_method: "smtp"
  address: "smtp.gmail.com"
  enable_starttls_auto: true
  port: "587"
  user_name: "my_em...@gmail.com"
  password: "app_password"

  authentication: "plain" # plain, login, or cram_md5
  domain: "localhost"
  outgoing_address: "my_em...@gmail.com"
  default_name: "Your custom name for your domain"


* This is my outgoing_mail.yml file i have configured gmail for smtp 
* In password you need to enter the app password generated using your gmail account  for app password generation you need to turn on 2 step         verification and if you are confused google it


--> Try out these and clear your errors....  : )
Reply all
Reply to author
Forward
0 new messages