Hi,
we have followed this tutorial (https://ventor.tech/guides/how-to-configure-emails-to-work-with-office-365-and-odoo/) for conecting to our office 365 STMP. But after all these configuration I get this error when I press the test connection button:
Error:
Odoo Server Error
Traceback (most recent call last):
File "/opt/bitnami/apps/odoo/lib/odoo-14.0.post20210130-py3.7.egg/odoo/addons/base/models/ir_http.py", line 237, in _dispatch
result = request.dispatch()
File "/opt/bitnami/apps/odoo/lib/odoo-14.0.post20210130-py3.7.egg/odoo/http.py", line 683, in dispatch
result = self._call_function(**self.params)
File "/opt/bitnami/apps/odoo/lib/odoo-14.0.post20210130-py3.7.egg/odoo/http.py", line 359, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/opt/bitnami/apps/odoo/lib/odoo-14.0.post20210130-py3.7.egg/odoo/service/model.py", line 94, in wrapper
return f(dbname, *args, **kwargs)
File "/opt/bitnami/apps/odoo/lib/odoo-14.0.post20210130-py3.7.egg/odoo/http.py", line 347, in checked_call
result = self.endpoint(*a, **kw)
File "/opt/bitnami/apps/odoo/lib/odoo-14.0.post20210130-py3.7.egg/odoo/http.py", line 912, in __call__
return self.method(*args, **kw)
File "/opt/bitnami/apps/odoo/lib/odoo-14.0.post20210130-py3.7.egg/odoo/http.py", line 531, in response_wrap
response = f(*args, **kw)
File "/opt/bitnami/apps/odoo/lib/odoo-14.0.post20210130-py3.7.egg/odoo/addons/web/controllers/main.py", line 1381, in call_button
action = self._call_kw(model, method, args, kwargs)
File "/opt/bitnami/apps/odoo/lib/odoo-14.0.post20210130-py3.7.egg/odoo/addons/web/controllers/main.py", line 1369, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/opt/bitnami/apps/odoo/lib/odoo-14.0.post20210130-py3.7.egg/odoo/api.py", line 396, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "/opt/bitnami/apps/odoo/lib/odoo-14.0.post20210130-py3.7.egg/odoo/api.py", line 383, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "/opt/bitnami/apps/odoo/lib/odoo-14.0.post20210130-py3.7.egg/odoo/addons/base/models/ir_mail_server.py", line 144, in test_smtp_connection
raise UserError(_("An SMTP exception occurred. Check port number and connection security type.\n %s", ustr(e.smtp_error)))
Exception
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/opt/bitnami/apps/odoo/lib/odoo-14.0.post20210130-py3.7.egg/odoo/http.py", line 639, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/bitnami/apps/odoo/lib/odoo-14.0.post20210130-py3.7.egg/odoo/http.py", line 315, in _handle_exception
raise exception.with_traceback(None) from new_cause
AttributeError: 'SMTPNotSupportedError' object has no attribute 'smtp_error'
I'd like to get more information about the communication between the STMP server and Oddo but after raising log level to DEBUG no more usefull information seems to presented about the problem. How can i trace the communication between Odoo and SMTP server? I succed telnet server 25 so it not a conectivity issue.
Thanks!
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
1925
Views
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
2
Sep 24
|
629 | ||
|
1
Dec 22
|
2142 | ||
|
0
Oct 21
|
2031 | ||
|
2
Nov 24
|
1320 | ||
|
2
Sep 24
|
219 |