0

I have docker installation of discourse from this article. Discourse is working fine but I am unable to send mails.

I have tried this article for troubleshooting with no lucks.

my settings are.

## TODO: The mailserver this Discourse instance will use
  DISCOURSE_SMTP_ADDRESS: smtp.zoho.com    # (mandatory)
  DISCOURSE_SMTP_PORT: 587                        # (optional)
  DISCOURSE_SMTP_USER_NAME: xxxxx@xxxxxx.in     # (optional)
  DISCOURSE_SMTP_PASSWORD: xxxxxxxxx            # (optional)
 ##

when I check production logs it shows Unprocessable entry.

Started POST "/admin/email/test" for 106.51.227.84 at 2016-10-09 10:36:28 +0000
Processing by Admin::EmailController#test as */*
  Parameters: {"email_address"=>"geekceeaim@gmail.com"}

Sent mail to geekceeaim@gmail.com (1430.7ms)
Completed 422 Unprocessable Entity in 1871ms (Views: 0.7ms | ActiveRecord: 1.1ms)

Please help me out.

Thanks in advance.

C M
  • 684
  • 9
  • 22
  • This doesn’t really feel on topic on Stack Overflow I’m afraid. – Pekka Oct 09 '16 at 09:59
  • Did you really do everything mentioned in that article - check logs, etc.? Is there anything in the logs? – Pekka Oct 09 '16 at 10:00
  • Yes I did... the logs are following Started POST "/admin/email/test" for 106.51.227.84 at 2016-10-09 10:36:28 +0000 Processing by Admin::EmailController#test as */* Parameters: {"email_address"=>"geekceeaim@gmail.com"} Sent mail to geekceeaim@gmail.com (1430.7ms) Completed 422 Unprocessable Entity in 1871ms (Views: 0.7ms | ActiveRecord: 1.1ms) – C M Oct 09 '16 at 10:37
  • Not sure about the 422 error, but do you have mail server logs, too? Those may be more relevant to what’s going on with the message – Pekka Oct 09 '16 at 10:58

0 Answers0