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
eInvoice Malaysia FAQ

For employee expenses claim, such as Petrol, fuel, travelling, etc, do you need to do self-billed. No. Employee expenses still can be claimed as usual, without the company name. If my company is buyin

 
 
 

Comments


Subscribe Form

  • facebook
  • linkedin

©2019 by Excelroot Technology Sdn Bhd.

bottom of page