33< head >
44< meta http-equiv ="Content-Type " content ="text/html; charset=utf-8 " />
55< meta name ="generator " content ="Docutils: https://docutils.sourceforge.io/ " />
6- < title > Mail configuration with server_environment for Google Gmail </ title >
6+ < title > README.rst </ title >
77< style type ="text/css ">
88
99/*
360360</ style >
361361</ head >
362362< body >
363- < div class ="document " id ="mail-configuration-with-server-environment-for-google-gmail ">
364- < h1 class ="title "> Mail configuration with server_environment for Google Gmail</ h1 >
363+ < div class ="document ">
365364
365+
366+ < a class ="reference external image-reference " href ="https://odoo-community.org/get-involved?utm_source=readme ">
367+ < img alt ="Odoo Community Association " src ="https://odoo-community.org/readme-banner-image " />
368+ </ a >
369+ < div class ="section " id ="mail-configuration-with-server-environment-for-google-gmail ">
370+ < h1 > Mail configuration with server_environment for Google Gmail</ h1 >
366371<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
367372!! This file is generated by oca-gen-addon-readme !!
368373!! changes will be overwritten. !!
369374!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370- !! source digest: sha256:1afdf6a75ab850d6e8e117f7ddfd2834abba154c008f377cd2e00a0a2a96a133
375+ !! source digest: sha256:55658f8bb3f58ca5d9dc048c833a475931decfa1f0a1aafd45f9ca99a49b084b
371376!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
372- < p > < a class ="reference external image-reference " href ="https://odoo-community.org/page/development-status "> < img alt ="Beta " src ="https://img.shields.io/badge/maturity-Beta-yellow.png " /> </ a > < a class ="reference external image-reference " href ="http://www.gnu.org/licenses/agpl-3.0-standalone.html "> < img alt ="License: AGPL-3 " src ="https://img.shields.io/badge/licence-AGPL--3-blue.png " /> </ a > < a class ="reference external image-reference " href ="https://github.com/OCA/server-env/tree/16.0/mail_environment_google_gmail "> < img alt ="OCA/server-env " src ="https://img.shields.io/badge/github-OCA%2Fserver--env-lightgray.png?logo=github " /> </ a > < a class ="reference external image-reference " href ="https://translation.odoo-community.org/projects/server-env-16-0/server-env-16-0-mail_environment_google_gmail "> < img alt ="Translate me on Weblate " src ="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png " /> </ a > < a class ="reference external image-reference " href ="https://runboat.odoo-community.org/builds?repo=OCA/server-env&target_branch=16.0 "> < img alt ="Try me on Runboat " src ="https://img.shields.io/badge/runboat-Try%20me-875A7B.png " /> </ a > </ p >
373- < p > This module allows to configure Gmail outgoing servers with server-env.</ p >
377+ < p > < a class ="reference external image-reference " href ="https://odoo-community.org/page/development-status "> < img alt ="Beta " src ="https://img.shields.io/badge/maturity-Beta-yellow.png " /> </ a > < a class ="reference external image-reference " href ="http://www.gnu.org/licenses/agpl-3.0-standalone.html "> < img alt ="License: AGPL-3 " src ="https://img.shields.io/badge/license-AGPL--3-blue.png " /> </ a > < a class ="reference external image-reference " href ="https://github.com/OCA/server-env/tree/16.0/mail_environment_google_gmail "> < img alt ="OCA/server-env " src ="https://img.shields.io/badge/github-OCA%2Fserver--env-lightgray.png?logo=github " /> </ a > < a class ="reference external image-reference " href ="https://translation.odoo-community.org/projects/server-env-16-0/server-env-16-0-mail_environment_google_gmail "> < img alt ="Translate me on Weblate " src ="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png " /> </ a > < a class ="reference external image-reference " href ="https://runboat.odoo-community.org/builds?repo=OCA/server-env&target_branch=16.0 "> < img alt ="Try me on Runboat " src ="https://img.shields.io/badge/runboat-Try%20me-875A7B.png " /> </ a > </ p >
378+ < p > This module allows to configure Gmail Authentication for email servers with server-env.</ p >
374379< p > < strong > Table of contents</ strong > </ p >
375380< div class ="contents local topic " id ="contents ">
376381< ul class ="simple ">
@@ -385,7 +390,7 @@ <h1 class="title">Mail configuration with server_environment for Google Gmail</h
385390</ ul >
386391</ div >
387392< div class ="section " id ="configuration ">
388- < h1 > < a class ="toc-backref " href ="#toc-entry-1 "> Configuration</ a > </ h1 >
393+ < h2 > < a class ="toc-backref " href ="#toc-entry-1 "> Configuration</ a > </ h2 >
389394< p > Example of config file</ p >
390395< pre class ="literal-block ">
391396[ir.config_parameter]
@@ -397,7 +402,16 @@ <h1><a class="toc-backref" href="#toc-entry-1">Configuration</a></h1>
397402smtp_port = 587
398403smtp_user = example@gmail.com
399404smtp_encryption = starttls
400- use_google_gmail_service = True
405+ smtp_authentication = gmail
406+ google_gmail_authorization_code = YOUR_ACCOUNT_AUTH_CODE
407+ google_gmail_refresh_token = YOUR_REFRESH_TOKEN
408+
409+ [incoming_mail.gmail_imap_server]
410+ server_type = gmail
411+ smtp_host = imap.gmail.com
412+ smtp_port = 993
413+ user = example@gmail.com
414+ is_ssl = 1
401415google_gmail_authorization_code = YOUR_ACCOUNT_AUTH_CODE
402416google_gmail_refresh_token = YOUR_REFRESH_TOKEN
403417</ pre >
@@ -415,23 +429,23 @@ <h1><a class="toc-backref" href="#toc-entry-1">Configuration</a></h1>
415429</ ul >
416430</ div >
417431< div class ="section " id ="bug-tracker ">
418- < h1 > < a class ="toc-backref " href ="#toc-entry-2 "> Bug Tracker</ a > </ h1 >
432+ < h2 > < a class ="toc-backref " href ="#toc-entry-2 "> Bug Tracker</ a > </ h2 >
419433< p > Bugs are tracked on < a class ="reference external " href ="https://github.com/OCA/server-env/issues "> GitHub Issues</ a > .
420434In case of trouble, please check there if your issue has already been reported.
421435If you spotted it first, help us to smash it by providing a detailed and welcomed
422436< a class ="reference external " href ="https://github.com/OCA/server-env/issues/new?body=module:%20mail_environment_google_gmail%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior** "> feedback</ a > .</ p >
423437< p > Do not contact contributors directly about support or help with technical issues.</ p >
424438</ div >
425439< div class ="section " id ="credits ">
426- < h1 > < a class ="toc-backref " href ="#toc-entry-3 "> Credits</ a > </ h1 >
440+ < h2 > < a class ="toc-backref " href ="#toc-entry-3 "> Credits</ a > </ h2 >
427441< div class ="section " id ="authors ">
428- < h2 > < a class ="toc-backref " href ="#toc-entry-4 "> Authors</ a > </ h2 >
442+ < h3 > < a class ="toc-backref " href ="#toc-entry-4 "> Authors</ a > </ h3 >
429443< ul class ="simple ">
430444< li > Camptocamp</ li >
431445</ ul >
432446</ div >
433447< div class ="section " id ="contributors ">
434- < h2 > < a class ="toc-backref " href ="#toc-entry-5 "> Contributors</ a > </ h2 >
448+ < h3 > < a class ="toc-backref " href ="#toc-entry-5 "> Contributors</ a > </ h3 >
435449< ul >
436450< li > < p class ="first "> < a class ="reference external " href ="https://www.camptocamp.com "> Camptocamp</ a > </ p >
437451< blockquote >
@@ -443,7 +457,7 @@ <h2><a class="toc-backref" href="#toc-entry-5">Contributors</a></h2>
443457</ ul >
444458</ div >
445459< div class ="section " id ="maintainers ">
446- < h2 > < a class ="toc-backref " href ="#toc-entry-6 "> Maintainers</ a > </ h2 >
460+ < h3 > < a class ="toc-backref " href ="#toc-entry-6 "> Maintainers</ a > </ h3 >
447461< p > This module is maintained by the OCA.</ p >
448462< a class ="reference external image-reference " href ="https://odoo-community.org ">
449463< img alt ="Odoo Community Association " src ="https://odoo-community.org/logo.png " />
@@ -458,5 +472,6 @@ <h2><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h2>
458472</ div >
459473</ div >
460474</ div >
475+ </ div >
461476</ body >
462477</ html >
0 commit comments