Zoho smtp(SSL) not sending email after installation

Hi there,

Using official installation method, however having an issue with mail not being received after installation.

On my vps I tested

echo Hello world > /tmp/mail.txt
curl -v  smtps://smtppro.zoho.com:465  \
  --mail-from $email \
  --mail-rcpt $(echo $email | cut -d ',' -f 1) \
  --user $email:"$pass" \
  --upload-file /tmp/mail.txt

I get email from my vps using curl approach, so my server is sending email.

Here’s my app.yml config

  DISCOURSE_SMTP_ADDRESS: smtppro.zoho.com
  DISCOURSE_SMTP_PORT: 465
  DISCOURSE_SMTP_USER_NAME: $username
  DISCOURSE_SMTP_PASSWORD: $pass
  DISCOURSE_SMTP_ENABLE_START_TLS: false           # (optional, default true)
  DISCOURSE_SMTP_ENABLE_SSL: true
  DISCOURSE_SMTP_DOMAIN: domain    # (required by some providers)

I even tested my credentials on smtp test tools and it worked.

Here is the log for discourse :

tail shared/standalone/log/rails/production.log
Job exception: end of file reached

fail
start
done
start
  Rendered layouts/email_template.html.erb (Duration: 0.1ms | Allocations: 36)
Job exception: end of file reached

fail

Any hint?

Tia,
Azamat

Okay after trying discourse-doctor multiple times found out password needs to be enclosed with “” and used 587 port and it worked. Zoho indeed works with discourse.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.