LMS Not sending email (TLS)

MandarDeshpande
Community Novice

Hi,

I have installed LMS from Bitnami on AWS EC2 instance. Everything is working just fine. But when I am trying to add new user LMS does not send notification email to users. I ensured that outgoing_mail.yml is corrected. It has something to do with TLS. 

Below are config file content.

address: "smtp.gmail.com"
port: "587" 
enable_starttls_auto: true
user_name: "gmail_user"
password: "password"
authentication: "login" # plain, login, or cram_md5
domain: "smtp.gmail.com"
outgoing_address: "gmail_user@gmail.com"
default_name: "KBR Canvas LMS"

Below are job log and error. 

530 5.7.0 Must issue a STARTTLS command first. g24-20020ac870d8000000b002f39b99f690sm7328461qtp.42 - gsmtp

/opt/bitnami/ruby/lib/ruby/2.7.0/net/smtp.rb:975:in `check_auth_response'
/opt/bitnami/ruby/lib/ruby/2.7.0/net/smtp.rb:736:in `auth_plain'
/opt/bitnami/ruby/lib/ruby/2.7.0/net/smtp.rb:728:in `authenticate'
/opt/bitnami/ruby/lib/ruby/2.7.0/net/smtp.rb:565:in `do_start'
/opt/bitnami/ruby/lib/ruby/2.7.0/net/smtp.rb:518:in `start'

0 Likes
Users who also had this question