Odoo Help


Install openerp 7 with demo error smtp mail demo

on 4/11/13, 8:35 AM 6,011 views

Why always error mail configuration when installing module anything ? (with check load demonstration data)

error :

2013-04-11 10:24:11,236 8243 ERROR oerp7_demo openerp.addons.base.ir.ir_mail_server: Mail delivery failed via SMTP server 'localhost'. SMTPServerDisconnected: Connection unexpectedly closed Traceback (most recent call last):
File "/home/i-white/OpenERP/openerp7/openerp7/openerp/addons/base/ir/ir_mail_server.py", line 459, in send_email smtp = self.connect(smtp_server, smtp_port, smtp_user, smtp_password, smtp_encryption or False, smtp_debug) File "/home/i-white/OpenERP/openerp7/openerp7/openerp/addons/base/ir/ir_mail_server.py", line 244, in connect connection = smtplib.SMTP(host, port) File "/usr/lib/python2.7/smtplib.py", line 249, in __init__ (code, msg) = self.connect(host, port) File "/usr/lib/python2.7/smtplib.py", line 310, in connect (code, msg) = self.getreply() File "/usr/lib/python2.7/smtplib.py", line 361, in getreply raise SMTPServerDisconnected("Connection unexpectedly closed") SMTPServerDisconnected: Connection unexpectedly closed 2013-04-11 10:24:11,238 8243 ERROR oerp7_demo openerp.addons.mail.mail_mail: failed sending mail.mail 1 Traceback (most recent call last): File "/home/i-white/OpenERP/openerp7/openerp7/openerp/addons/mail/mail_mail.py", line 293, in send mail_server_id=mail.mail_server_id.id, context=context) File "/home/i-white/OpenERP/openerp7/openerp7/openerp/addons/base/ir/ir_mail_server.py", line 473, in send_email raise MailDeliveryException(_("Mail delivery failed"), msg) MailDeliveryException: (u'Mail delivery failed', u"Mail delivery failed via SMTP server 'localhost'.\nSMTPServerDisconnected: Connection unexpectedly closed")

Do I understand you correctly . . . the SMTP error appears no matter what module you try to install?

on 4/11/13, 3:01 PM

yeah exactly, but its solve now cause i configure the smtp mail in technical menu > mail before that you must check technical view in user menu.

on 4/12/13, 9:02 AM



| 5 6 8
Cornwall, Canada

Analysing, designing, coding and mentoring since 1975. Kilobytes to terabytes. Punch cards to punchy sites. My OpenERP video series: http://www.youtube.com/playlist?list=PLq7op4J183lX44ZlXPiHxUpRvmmRDtxye My Google Speadsheets --> OpenERP Data Pump project: http://martinhbramwell.github.io/GData_OpenERP_Data_Pump My email (with spaces removed) : mhb . warehouseman @ gmail . com

On 4/12/13, 9:15 AM


I'm quite sure you can get around that problem by setting up SMTP.

I just made a video that shows how to do it:


I created it to help with a different problem (How can I offer Google OAuth login to existing UID/PWD users?), but hopefully it'll help you too.

Oh jeez. I see I'm 10 mins too late. Heh! Sorry.

on 4/12/13, 9:16 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 4/11/13, 8:35 AM
Seen: 6011 times
Last updated: 3/16/15, 8:10 AM