I am not able to add Gmail smtp server for outgoing emails.
Please find the configuration and logs below
address: "smtp.gmail.com"
enable_starttls_auto: true
port: "587"
domain: "my domain"
authentication: "plain"
user_name: "XX...@gmail.com"
password: "XXXXXXXXX"
outgoing_address: "XX...@gmail.com"
Logs:
/var/canvas/script/delayed_job:5:in `<main>''', NULL, 'Delayed Notification processing failed', NULL, NULL, '2014-06-12 08:06:40.909663', '2014-06-12 08:06:40.909663', 'unknown-54...@instructure.example.com', 'f', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '---
exception_message: undefined method `account'' for nil:NilClass
', 'default') RETURNING "id" [0m
[ip-172-31-9-253:5796 454] [4;35;1mSQL (28.2ms) [0m [0mCOMMIT [0m
[ip-172-31-9-253:5796 454] Created ErrorReport ID 17
[ip-172-31-9-253:5796 454] delayed notification processing failed: undefined method `account' for nil:NilClass
(erubis:2:in `parse!'
/var/canvas/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/evaluator.rb:65:in `eval'
/var/canvas/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/evaluator.rb:65:in `result'
/var/canvas/app/models/message.rb:370:in `populate_body'
/var/canvas/app/models/message.rb:425:in `parse!'
/var/canvas/lib/notification_message_creator.rb:150:in `each'
/var/canvas/lib/notification_message_creator.rb:150:in `build_immediate_messages_for'
/var/canvas/lib/notification_message_creator.rb:78:in `block (3 levels) in create_message'
/var/canvas/lib/notification_message_creator.rb:71:in `each'
/var/canvas/lib/notification_message_creator.rb:71:in `block (2 levels) in create_message'
/var/canvas/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.8/lib/i18n.rb:256:in `with_locale'
/var/canvas/lib/notification_message_creator.rb:70:in `block in create_message'
/var/canvas/lib/notification_message_creator.rb:66:in `each'
/var/canvas/lib/notification_message_creator.rb:66:in `create_message'
/var/canvas/app/models/notification.rb:110:in `create_message'
/var/canvas/vendor/bundle/ruby/1.9.1/bundler/gems/rails-e86daf8ff727/activerecord/lib/active_record/associations/association_proxy.rb:215:in `method_missing'
/var/canvas/app/models/delayed_notification.rb:52:in `process'
Note : Where is it getting 'unknown-54-255-136-93@instructure.example.com' from in the first line of the logs?Thanks,Dharam
--
---
You received this message because you are subscribed to the Google Groups "Canvas LMS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to canvas-lms-use...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Note : Where is it getting 'unknown-54-255-136-93@instructure.example.com' from in the first line of the logs?Thanks,Dharam
psql canvas_queue_production -c "select last_error from delayed_jobs order by updated_at desc limit 1;"psql canvas_production -c "select message, backtrace from error_reports order by id desc limit 1;"
Note : Where is it getting 'unknown-54-255-136-93@instructure.example.com' from in the first line of the logs?Thanks,Dharam