Email Operation Questions

Asked by Alan Lord

I am investigating Open ERP 5 and like what I see but I am however getting a little confused by the outbound (smtp) email system.

1. I am unable to get Open ERP to send email at all. I have three alternative smtp servers (localhost [exim4], my company's [exim4] and gmail) and *none* work. The common error is the "ERROR:root:SMTP AUTH extension not supported by server.", or the other is "ERROR:root:object of type 'bool' has no len()"

I notice some bug reports around this, but am not a python guru so would like to know if there is a quick "hack" I can do to get outbound email working?

2. I do not understand the nomenclature for the Responsible User and the Reply To fields in the Case section and how this is supposed to work.

I want to automatically generate an email using a rule, such that when a new leads is opened by an incoming email, the originator receives a confirmation with the case id, and the Responsible User also gets notified. But the email address of the Responsible User in the Case Section is not the same as the actual user's address so I do not understand if the Responsible User will get an email, or if it will go to the "sales@mycompany" address in the "Reply To" field?

TIA

Alan

Of course, if I could get outbound email to work I might be able to figure out #2 for myself... ;-)

Question information

Language:
English Edit question
Status:
Answered
For:
OpenERP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Alan Lord (theopensourcerer) said :
#1

Update:

I have managed to get emails being sent. Finally.

I have set my configuration file as follows:

smtp = localhost
email_from = False
smtp_port = 25
smtp_ssl = False
smtp_user = False
smtp_password = False

and now the system is sending mails as expected. I'm still not sure I fully understand the way the email usernames are working, but at least I can now do my own investigations.

Revision history for this message
Mantavya Gajjar (Open ERP) (mga) said :
#2

Hello,

Alternatively you can use the smtpclient module from the trunk extra addons branch located @
which will allow you to send the email easily through all above described method, and you will get lot mant new things related to the email operations

Revision history for this message
Mantavya Gajjar (Open ERP) (mga) said :
#3
Revision history for this message
Sharoon Thomas http://openlabs.co.in (sharoonthomas) said :
#4

You can also use poweremail for Open ERP. Also available is a users manual for the module ..

Download from : https://launchpad.net/poweremail/+download

Can you help with this problem?

Provide an answer of your own, or ask Alan Lord for more information if necessary.

To post a message you must log in.