Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Food & Hospitality
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brewery
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Trades
    • Bricoleur
    • Matériel informatique et support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Browse all Industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenez partenaire
    • Services for Partners
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

Odoo 13, Connection lost every time when i try to send email

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
emailconnection
2 Réponses
7210 Vues
Avatar
Ivar

Connection lost every time when i try to send email and about few second the Connection restored but the email never send out.


i tried Settings >Outgoing Mail Servers 

use the "Test Connection" then it show 


"Connection Test Succeeded!

Everything seems properly set up!"


which setting i should change to fix  the email problem?



Here are the error log:


2020-06-18 04:11:53,017 9646 INFO ? odoo: Odoo version 13.0

2020-06-18 04:11:53,017 9646 INFO ? odoo: addons paths: ['/opt/odoo/odoo/odoo/addons', '/home/simonlee/.local/share/Odoo/addons/13.0', '/opt/odoo/odoo/addons']

2020-06-18 04:11:53,018 9646 INFO ? odoo: database: default@default:default

2020-06-18 04:11:53,241 9646 INFO ? odoo.addons.base.models.ir_actions_report: Will use the Wkhtmltopdf binary at /usr/bin/wkhtmltopdf

2020-06-18 04:11:53,429 9646 INFO ? odoo.service.server: HTTP service (werkzeug) running on vultr.guest:8069

2020-06-18 04:12:02,184 9646 INFO ? odoo.http: HTTP Configuring static files

2020-06-18 04:12:02,241 9646 INFO master_db odoo.modules.loading: loading 1 modules...

2020-06-18 04:12:02,252 9646 INFO master_db odoo.modules.loading: 1 modules loaded in 0.01s, 0 queries

2020-06-18 04:12:02,273 9646 INFO master_db odoo.modules.loading: loading 57 modules...

2020-06-18 04:12:03,236 9646 INFO master_db odoo.modules.loading: 57 modules loaded in 0.96s, 0 queries

2020-06-18 04:12:03,954 9646 INFO master_db odoo.modules.loading: Modules loaded.

2020-06-18 04:12:03,965 9646 INFO master_db odoo.addons.base.models.ir_http: Generating routing map for key 1

2020-06-18 04:12:04,120 9646 INFO master_db werkzeug: 101.78.142.90 - - [18/Jun/2020 04:12:04] "POST /web/dataset/call_kw/mail.compose.message/write HTTP/1.1" 200 - 26 0.025 1.866

2020-06-18 04:12:04,295 9646 INFO master_db werkzeug: 101.78.142.90 - - [18/Jun/2020 04:12:04] "POST /web/dataset/call_kw/mail.compose.message/read HTTP/1.1" 200 - 17 0.013 0.013

2020-06-18 04:12:04,506 9646 INFO master_db werkzeug: 101.78.142.90 - - [18/Jun/2020 04:12:04] "POST /web/dataset/call_kw/res.partner/read HTTP/1.1" 200 - 2 0.007 0.009

2020-06-18 04:12:04,507 9646 INFO master_db werkzeug: 101.78.142.90 - - [18/Jun/2020 04:12:04] "POST /web/dataset/call_kw/ir.attachment/read HTTP/1.1" 200 - 16 0.016 0.011

2020-06-18 04:12:06,319 9646 INFO master_db odoo.addons.base.models.ir_mail_server: Mail delivery failed via SMTP server 'None'.

SMTPDataError: 553

Relaying disallowed as hagoinc@yahoo.com

2020-06-18 04:12:06,320 9646 ERROR master_db odoo.addons.mail.models.mail_mail: failed sending mail (id: 322) due to Mail Delivery Failed

Mail delivery failed via SMTP server 'None'.

SMTPDataError: 553

Relaying disallowed as hagoinc@yahoo.com

Traceback (most recent call last):

  File "/opt/odoo/odoo/odoo/addons/base/models/ir_mail_server.py", line 526, in send_email

    smtp.sendmail(smtp_from, smtp_to_list, message.as_string())

  File "/usr/lib/python3.7/smtplib.py", line 888, in sendmail

    raise SMTPDataError(code, resp)

smtplib.SMTPDataError: (553, b'Relaying disallowed as hagoinc@yahoo.com')


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

  File "/opt/odoo/odoo/addons/mail/models/mail_mail.py", line 363, in _send

    msg, mail_server_id=mail.mail_server_id.id, smtp_session=smtp_session)

  File "/opt/odoo/odoo/odoo/addons/base/models/ir_mail_server.py", line 536, in send_email

    raise MailDeliveryException(_("Mail Delivery Failed"), msg)

odoo.addons.base.models.ir_mail_server.MailDeliveryException: ('Mail Delivery Failed', "Mail delivery failed via SMTP server 'None'.\nSMTPDataError: 553\nRelaying disallowed as hagoinc@yahoo.com")

2020-06-18 04:12:06,344 9646 ERROR master_db odoo.addons.mail.models.mail_mail: Exception while processing mail with ID 323 and Msg-Id '<653931045186226.1592453524.709261655807495-openerp-14-purchase.order@vultr.guest>'.

Traceback (most recent call last):

  File "/opt/odoo/odoo/addons/mail/models/mail_mail.py", line 363, in _send

    msg, mail_server_id=mail.mail_server_id.id, smtp_session=smtp_session)

  File "/opt/odoo/odoo/odoo/addons/base/models/ir_mail_server.py", line 526, in send_email

    smtp.sendmail(smtp_from, smtp_to_list, message.as_string())

  File "/usr/lib/python3.7/smtplib.py", line 861, in sendmail

    (code, resp) = self.mail(from_addr, esmtp_opts)

  File "/usr/lib/python3.7/smtplib.py", line 534, in mail

    self.putcmd("mail", "FROM:%s%s" % (quoteaddr(sender), optionlist))

  File "/usr/lib/python3.7/smtplib.py", line 367, in putcmd

    self.send(str)

  File "/usr/lib/python3.7/smtplib.py", line 359, in send

    raise SMTPServerDisconnected('please run connect() first')

smtplib.SMTPServerDisconnected: please run connect() first

2020-06-18 04:12:06,347 9646 INFO master_db werkzeug: 101.78.142.90 - - [18/Jun/2020 04:12:06] "POST /web/dataset/call_button HTTP/1.1" 500 - 160 0.077 1.608

2020-06-18 04:12:06,353 9646 ERROR master_db werkzeug: Error on request:

Traceback (most recent call last):

  File "/opt/odoo/odoo/addons/mail/models/mail_mail.py", line 256, in send

    smtp_session=smtp_session)

  File "/opt/odoo/odoo/addons/mail/models/mail_mail.py", line 363, in _send

    msg, mail_server_id=mail.mail_server_id.id, smtp_session=smtp_session)

  File "/opt/odoo/odoo/odoo/addons/base/models/ir_mail_server.py", line 526, in send_email

    smtp.sendmail(smtp_from, smtp_to_list, message.as_string())

  File "/usr/lib/python3.7/smtplib.py", line 861, in sendmail

    (code, resp) = self.mail(from_addr, esmtp_opts)

  File "/usr/lib/python3.7/smtplib.py", line 534, in mail

    self.putcmd("mail", "FROM:%s%s" % (quoteaddr(sender), optionlist))

  File "/usr/lib/python3.7/smtplib.py", line 367, in putcmd

    self.send(str)

  File "/usr/lib/python3.7/smtplib.py", line 359, in send

    raise SMTPServerDisconnected('please run connect() first')

smtplib.SMTPServerDisconnected: please run connect() first


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

  File "/home/simonlee/.local/lib/python3.7/site-packages/werkzeug/serving.py", line 304, in run_wsgi

    execute(self.server.app)

  File "/home/simonlee/.local/lib/python3.7/site-packages/werkzeug/serving.py", line 292, in execute

    application_iter = app(environ, start_response)

  File "/opt/odoo/odoo/odoo/service/server.py", line 414, in app

    return self.app(e, s)

  File "/opt/odoo/odoo/odoo/service/wsgi_server.py", line 142, in application

    return application_unproxied(environ, start_response)

  File "/opt/odoo/odoo/odoo/service/wsgi_server.py", line 117, in application_unproxied

    result = odoo.http.root(environ, start_response)

  File "/opt/odoo/odoo/odoo/http.py", line 1281, in __call__

    return self.dispatch(environ, start_response)

  File "/opt/odoo/odoo/odoo/http.py", line 1251, in __call__

    return self.app(environ, start_wrapped)

  File "/home/simonlee/.local/lib/python3.7/site-packages/werkzeug/middleware/shared_data.py", line 220, in __call__

    return self.app(environ, start_response)

  File "/opt/odoo/odoo/odoo/http.py", line 1454, in dispatch

    response = self.get_response(httprequest, result, explicit_session)

  File "/opt/odoo/odoo/odoo/http.py", line 280, in __exit__

    self._cr.commit()

  File "/opt/odoo/odoo/odoo/sql_db.py", line 163, in wrapper

    return f(self, *args, **kwargs)

  File "/opt/odoo/odoo/odoo/sql_db.py", line 391, in commit

    func()

  File "/opt/odoo/odoo/addons/mail/models/mail_thread.py", line 2310, in send_notifications

    env['mail.mail'].browse(email_ids).send()

  File "/opt/odoo/odoo/addons/mail/models/mail_mail.py", line 262, in send

    smtp_session.quit()

  File "/usr/lib/python3.7/smtplib.py", line 984, in quit

    res = self.docmd("quit")

  File "/usr/lib/python3.7/smtplib.py", line 420, in docmd

    self.putcmd(cmd, args)

  File "/usr/lib/python3.7/smtplib.py", line 367, in putcmd

    self.send(str)

  File "/usr/lib/python3.7/smtplib.py", line 359, in send

    raise SMTPServerDisconnected('please run connect() first')

smtplib.SMTPServerDisconnected: please run connect() first - - -

2020-06-18 04:12:08,861 9646 INFO master_db werkzeug: 101.78.142.90 - - [18/Jun/2020 04:12:08] "POST /web/webclient/version_info HTTP/1.1" 200 - 1 0.000 0.005

2020-06-18 04:12:15,394 9646 INFO ? odoo.addons.bus.models.bus: Bus.loop listen imbus on db postgres

2020-06-18 04:13:05,398 9646 INFO master_db werkzeug: 101.78.142.90 - - [18/Jun/2020 04:13:05] "POST /longpolling/poll HTTP/1.1" 200 - 22 0.027 50.024

2020-06-18 04:13:10,713 9646 INFO master_db werkzeug: 42.200.118.6 - - [18/Jun/2020 04:13:10] "POST /longpolling/poll HTTP/1.1" 200 - 20 0.010 50.015

1
Avatar
Ignorer
Avatar
Juan Jose Carballo Samayoa
Meilleure réponse

https://github.com/odoo/odoo/issues/8134 check this post 

0
Avatar
Ignorer
Avatar
David Bacter
Meilleure réponse

Has anyone solved this issue?

I am inclined to believe that the issue has something to do with the email address of the sender but I am not sure.

I have the same issue. I have multiple users and those that have the domain in their email address same as the company (ex: @example.com) can send emails with no problem however when a user with an address with a different domain (ex: user@gmail.com) sends an email he gets a Connection lost... pop-up.

I am using the odoo.sh servers for mail.

Can anyone provide any useful insight?

0
Avatar
Ignorer
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
Email set correctly but email is not being delivered? Résolu
email connection
Avatar
Avatar
Avatar
Avatar
Avatar
10
juil. 23
58388
emails not in emails list Résolu
email connection send
Avatar
1
mars 15
6077
need more felixiblity and inovation on email marketing tools
email
Avatar
0
nov. 25
202
After editing the Sales Order Confirmation email template, Odoo isn't using it.
email
Avatar
Avatar
1
juil. 25
2006
How to remove "Powered by Odoo" in email in the Enterprise version Résolu
email
Avatar
Avatar
Avatar
Avatar
Avatar
5
nov. 25
19961
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenez partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now