Odoo Help

Welcome!

This community 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.

0

Install openerp 7 with demo error smtp mail demo

By
army
on 4/11/13, 8:35 AM 4,687 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?

Martin
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.

army
on 4/12/13, 9:02 AM
0

Martin

--Martin--
1978
| 5 6 8
Cornwall, Canada
--Martin--

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

Martin
On 4/12/13, 9:15 AM

Hi,

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:

http://www.youtube.com/watch?v=qCRCJgAiJmU&list=PLq7op4J183lX44ZlXPiHxUpRvmmRDtxye&index=1

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.

Martin
on 4/12/13, 9:16 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

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