Skip to Content
Menu
This question has been flagged
5 Replies
22356 Views

Hello,

I want to receive message from Gmail in OpenERP, is it possible ?

 

Thanks !

Avatar
Discard
Best Answer

Hi All,

Hope you are doing well.

In Odoo, we have an option to send and fetch email from our G-mail account. It is a built-in option. So no need to do any customization on the same. So please follow the following procedure to activate this feature.

For to send email from Odoo we need to configure an Outgoing mail server. 

  1. Activate developer mode

  2. Go to Settings -> Technical -> EMail -> Outgoing Mail Servers

  3. Create a new record with following info

    1. Give a Description (It is your choice) 

    2. In SMTP server field you can enter "smtp.gmail.com"

    3. SMTP port -> 465

    4. Connection security -> SSL/TLS

    5. Give your G-mail username and password

    6. Click on the button named 'Test Connection'

    If everything is fine then it will show, "Connection Test Succeeded! Everything seems properly set up!" .Else please make sure your outgoing email server configuration once again.


  4. To receive an email from your g-mail account you should setup incoming mail server.

    1. Activate developer mode

    2. Go to Settings -> Technical -> EMail -> Incoming Mail Servers

    3. Create a new record with following info

      1. Give a Name (It is your choice) 

      2. Server type -> POP server

      3. Server name -> pop.gmail.com

      4. SMTP port -> 110 (normal), if SSL/TLS is enabled then it will be 995

      5. If you need  SSL/TLS security then you can enable the option 'SSL/TLS'.

      6. Give your G-mail username and password

      7. Click on the button named 'Test & Confirm'

  5. If everything is fine then it will go to 'Confirmed' state. Else please make sure your incoming email server configuration once again.


  6. You can also refer the following link.

  7. https://www.cybrosys.com/blog/email-configuration-in-odoo


Avatar
Discard
Best Answer

Go to Settings->Technical->Email->Out going mail server->add Connection Information and Security and Authentication for Gmail.Also no of blogs are available for Gmail configuration

Avatar
Discard
Best Answer

This configuration works excelent and and I use it, in my enviroments

Incoming server :
Server type : POP Server
Server name: pop.gmail.com
SSL/TLS : checkmark on
Username : your google user ( jhondoe@gmail.com)
Password : your google password


Outgoing server:

SMTP Server : smtp.gmail.com

SMTP port : 465
Connection Security :SSL/TLS

debugging : chek mark on
and same user name and password as incoming email

Avatar
Discard
Best Answer

Receiving message from Gmail in OpenERP - Needs IMAP configurations (Incoming Email setup)



For advanced Email requirement, like ability to configure each odoo users email individually you can refer this app - https://apps.odoo.com/apps/modules/16.0/advanced_email_configurator/

Avatar
Discard
Best Answer

In addition to the 2 answers above, you will also have to make sure you have enabled either POP3 or IMAP in your gmail account. in Gmail, settings-> forwarding and POP/IMAP -> enable imap

enable pop3

Avatar
Discard