Odoo SMTPServerDisconnected
top of page
  • Writer's pictureTek Siong, Hock

Odoo SMTPServerDisconnected

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



27 views0 comments

Recent Posts

See All

Odoo Element Cannot be Located in Parent View

Sometimes, after you've added a new field to the existing view, by inheriting the view, you may encountered the following error, when upgrading the module. Element 'XXXXX' cannot be located in parent

bottom of page