Issues Configuring Respond by Email

AI-generated summary

Issues Configuring Respond by Email

Timelord is experiencing issues setting up the respond via email functionality, despite following the official guide. The error message /logs displays is Email can not be processed: Email::Receiver::NoBodyDetectedError. The issue seems to be that Discourse is connecting to the mailbox (Gmail) but failing to pull messages.

itsbhanusharma suggests that the error might be due to the mail not containing anything in the body, implying that this could be the reason for the NoBodyDetectedError.

Hey gang. I am finally getting around to setting up the respond via email functionality. I have followed the official guide, however I am seeing the following in the /logs

`Email can not be processed: Email::Receiver::NoBodyDetectedError`

`/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/logster-2.1.2/lib/logster/logger.rb:110:in `report_to_store' /var/www/discourse/vendor/bundle/ruby/2.5.0/gems/logster-2.1.2/lib/logster/logger.rb:101:in `add_with_opts' /var/www/discourse/vendor/bundle/ruby/2.5.0/gems/logster-2.1.2/lib/logster/logger.rb:52:in `add' /usr/local/lib/ruby/2.5.0/logger.rb:536:in `warn' /var/www/discourse/lib/email/processor.rb:133:in `log_email_process_failure' /var/www/discourse/lib/email/processor.rb:24:in `rescue in process!' /var/www/discourse/lib/email/processor.rb:15:in `process!' /var/www/discourse/lib/email/processor.rb:12:in `process!' /var/www/discourse/app/jobs/scheduled/poll_mailbox.rb:25:in `process_popmail' /var/www/discourse/app/jobs/scheduled/poll_mailbox.rb:43:in `block (2 levels) in poll_pop3' /usr/local/lib/ruby/2.5.0/net/pop.rb:666:in `each' /usr/local/lib/ruby/2.5.0/net/pop.rb:666:in `each_mail' /var/www/discourse/app/jobs/scheduled/poll_mailbox.rb:42:in `block in poll_pop3' /usr/local/lib/ruby/2.5.0/net/pop.rb:532:in `start' /var/www/discourse/app/jobs/scheduled/poll_mailbox.rb:41:in `poll_pop3' /var/www/discourse/app/jobs/scheduled/poll_mailbox.rb:16:in `execute' /var/www/discourse/app/jobs/base.rb:214:in `block (2 levels) in perform' /var/www/discourse/vendor/bundle/ruby/2.5.0/gems/rails_multisite-2.0.6/lib/rails_multisite/connection_management.rb:63:in `with_connection' /var/www/discourse/app/jobs/base.rb:203:in `block in perform' /var/www/discourse/app/jobs/base.rb:199:in `each' /var/www/discourse/app/jobs/base.rb:199:in `perform' /var/www/discourse/app/jobs/base.rb:261:in `perform' /var/www/discourse/vendor/bundle/ruby/2.5.0/gems/mini_scheduler-0.9.1/lib/mini_scheduler/manager.rb:82:in `process_queue' /var/www/discourse/vendor/bundle/ruby/2.5.0/gems/mini_scheduler-0.9.1/lib/mini_scheduler/manager.rb:30:in `block in initialize'`

Any thoughts as to what could be going on here? It sure looks like Discourse is hitting the mailbox (gmail), but not pulling the messages.

Does the mail actually contain Anything in the body?