This question has been flagged
7 Replies
31428 Views

Hi,

I am very new to the OpenERP 7 and liking it a lot. However, I only send emails from gmail SMTP servers, configured as outgoing server.

However any other SMTP servers dont work !!

for instance, one.com :- the SMTP settings are send.one.com with SSL/2525 port settings.

If I configure these settings within OpenERP 7 I get the following error


Connection test failed!

Here is what we got instead: 1 _ssl.c:480: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol


If I select any other security protocol like TLS or non it says connection succeeded. However no emails are sent.

Please help

Many thanks

Joshua

Avatar
Discard
Author

Hi Karim,

When I change the port from 2525 to 25 and select SSL/TLS, I get the following error:

Connection test failed!

Here is what we got instead: 10060 A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

Ok

I would really appreciate some help..

Many thanks

Joshua

Why the mails are not sended? some info on logs?

Best Answer

Hi, 

You can follow the following link for gmail SMTP outgoing mail server in Odoo:

https://youtu.be/bx8JXli-Y6A

Thanks

Avatar
Discard
Best Answer

i faced the same problem and solved it by doing the following: Changing the alias domain in General Settings to be as my domain name smtp port be 2525 connection security be (TLS/STARTTLS) finally, the priority be less than localhost or other outgoing mail

Thank you

Amr Essam

Avatar
Discard
Best Answer

Try to install -

sudo apt-get install python-jinja2

if still not working then check your parameters of outgoing email server,

  • SMTP Server : smtp.gmail.com
  • SMTP Port : 587
  • Connection Security - TLS
  • Username : youremailaddresss@gmail.com
  • Password : yourpassword

If still same problem, then try as per discribe in following link to send emails.

Send eMail template through code the

Hope it work for you.

Avatar
Discard
Best Answer

hi.

i have the same problem. my smtp is send.one.com. one.com have no smtp.one.com. thats bad because i can`t send email with openerp/odoo. but my second domain (by an aother hoseter who have smtp.mydomain.de) i can send emails by odoo. I think that my problem is the send.one.com. i don`t find how to fix the problem.

i have openerp7 on windows7 64 bit. perhaps is here someone who can help me please?

thanks

Avatar
Discard
Best Answer

Try keeping the same port number 465 that OpenERP suggested or port 25 and select SSL/TLS From the Connection Security drop down list.

Avatar
Discard
Author

Hi Karim,

When I change the port from 2525 to 25 and select SSL/TLS, I get the following error:

Connection test failed!

Here is what we got instead: 10060 A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

Ok

I would really appreciate some help..

Many thanks

Joshua

Did you try port 465?

Author

Hi Yes Karim, I did...same result !!

Just go with TLS ( Use port 2525 ) because that works for you, after that try to compose an email ( top right corner ) and send it to an email of yours.

Author

Hi Karim, I did that many times... no emails sent !

Go to Configuration->Email->Outgoing Mail Servers and check if you have one configuration line only

Author

did that...only 1 line !!

Author Best Answer

Hi Karim,

When I change the port from 2525 to 25 and select SSL/TLS, I get the following error:


Connection test failed!

Here is what we got instead: 10060 A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

Ok


I would really appreciate some help..

Many thanks

Joshua

Avatar
Discard
Best Answer

I also had the same issue with OpenERP 7.0 Scenario When the OpenERP7.0 & Mail Server is installed on the same Machine - has a challenge to configure the outgoing mail with SMTP Port 25.
While testing the SMTP Connection you get error 10061 server refused connection.
Also you cannot specify the other SMTP email server address with Port 25.

I have solved this issue by 1.Changing the Default SMTP port at the email server from 25 to 2525 and 2.In OpenERP Configuring the outgoing mails using the port 2525.

Avatar
Discard