top of page

Odoo SMTPServerDisconnected

  • Writer: Tek Siong, Hock
    Tek Siong, Hock
  • Jan 10, 2022
  • 1 min read

This Odoo technical development blog is my way to contribute back to the Odoo Community, for all the selfless and great sharing by the community members.


Recently, when Odoo user sending email with attachment larger than 7MB, which takes more than 60 second, there will be a SMTPServerDisconnected error.


First, i thought it was the nginx issue, and had added the following to the nginx config file, but the problem persisted.

proxy_read_timeout 900s;

proxy_connect_timeout 900s;

proxy_send_timeout 900s;


Finally, i've able to find the culprit which is in the <odoo installation folder>/odoo/addons/base/models, and change it to

SMTP_TIMEOUT = 300



 
 
 

Recent Posts

See All
Odoo Performance Profile for debugging

Odoo Performance Profile for debugging, If you are on Odoo 16 and below, and need a good tool for debugging the performance of your Odoo system, this will be the right content for you.

 
 
 

Comments


Subscribe Form

  • facebook
  • linkedin

©2019 by Excelroot Technology Sdn Bhd.

bottom of page