Search 1.9 billion lines of Odoo code on GitHub

mail_sendgrid

Author: Compassion CH, Odoo Community Association (OCA)
License: AGPL-3
Branch: 10.0
Repository: aaltinisik/social
Dependencies: mail, and mail_tracking
Languages: Python (808, 74.6%), SVG (10, 0.9%), XML (184, 17.0%), and reStructuredText (81, 7.5%)
Other repositories: 2FM/social, ACCOMODATA-BVBA/social, AITIC/social, AdriaGForgeFlow/social, Alfa-90/social, BADEP/social, BT-fgarbely/social, BT-scchmid-test/social, BeopenMX/social, Bubbles-IT/social, CB-Gran-Canaria/social, Callino/social, CompassionCH/social, Digital5-Odoo/social, Dobtor-OCA/social, DucTruongKomit/social, ERPLibre/social, ForgeFlow/social, Gabinete-Digital/social, Glue-Software-Engineering-AG/social, HeerPhilippe/compassion-modules, ITISAG-OCA/social, Ingeos/social, Jarsa/social, JazziMc/social, Judystudy/social, KomarovAlea/social, MathBenTech/social, MediaJockey/social, MickSandoz/compassion-modules, NL66278/social, NeatNerdPrime/social, NextERP-Romania/social, Nooka10/social, OCA-MUK/social, OCA/social, OpencloudPro/social, QubiQ/social, RLeeOSI/social, Rad0van/social, SDIsl/social, SanteLibre/social, SequarSrl/social, SimoRubi/social, SolutionSeekers/social, Studio73/social, Syci-Consulting/social, TDu/social, TRESCLOUD/social, Tecnativa/social, Tonow-c2c/social, Vauxoo/social, VisiionSolucionesTecnologicas/social, YogeshMahera-SerpentCS/social, acsone/social, agenterpgmbh/social, agrista/odoo-social, ajaniszewska-dev/social, anhvu-sg/social, ansinaesmejor/social, aurestic/social, avoinsystems/social, bealdav/social, bishalgit/social, bitroniq/social, brain-tec/social, brainbeanapps/social, camptocamp/social, cedvict/social, coopiteasy/social, crnd-inc/social, cunguito/social, dajuayen/social, daramousk/social, denislour/social, diegobgl/social, dndoanh/social, dozymoe/social, druidoo-dev/social, eLBati/social, eezee-it/social, emagdalenaC2i/social, emgirardin/compassion-modules, ermannognan/social, ernestotejeda/social, eslammohamed13/social, eugentaga/social, exosoftware/oca-social, extrememicro/social, focusate/oca-social, gab-net/social, gfcapalbo/social, git-service-it-ar/social, grindtildeath/social, gurneyalex/social, hbrunn/social, hibou-io/oca-social, hinfo506/social, i-vyshnevska/social, igallart/social, iledarn/social, imranissufo/social, inforconseil/social, inspiredbusiness/social, jacky82669513/social, jerrodmartin/social, jobiols/oca-social, legalsylvain/social, leonidasthe300/social, manuelcalerosolis/social, marcozink/social, masiunas/social, mavs2011bs/social, maxime-beck/compassion-modules, mechsoftdigital/social, mgielissen/social, modoolar/social, moltisinc/social, myceliandre/social, nilshamerlinck/social, niulinlnc/social, noorealam96/social, odoogap/social, odoonz/social, osiell/social, p-tombez/social, pegonzalezspesol/social, popama/social, pscloud/social, redblow/social, redcor/social, rlizana/social, rubensben/social, ruuter/social, sadeqamin/social, sanube/social, semamca35/social, sergiocorato/social, sewisoft/social, shiram/social, simahawk/social, skeller1/social, solarprocurement/social, sschmid-test-org/social, steingabelgaard/social, sunflowerit/social, sygel-technology/social, takinobori/oca-social, takobi-online/social, tbaden/social, tegin/social, tfossoul/social, thinkwelltwd/social, thomaspot/social, tirma-sa/social, tosink/social, tschanzt/social, ursais/social, valmarnet/social, versada/social, x0rzkov/odoo-social, xavidj/social, xcgd/social, xduran/social, y2gsmith/social, yusniermatos/social, and zestsoftware/social

<img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.svg"> <a name="sendgrid-mail-sending-and-tracking"></a> <h2>SendGrid Mail Sending and Tracking</h2> <p>This module integrates <a class="reference external" href="https://sendgrid.com/">SendGrid</a> with Odoo. It can send transactional emails through SendGrid, using templates defined on the <a class="reference external" href="https://sendgrid.com/templates">SendGrid web interface</a>. It also supports substitution of placeholder variables in these templates. The list of available templates can be fetched automatically. E-mails sent through SendGrid will be tracked using Sendgrid Webhook Events.</p> <a name="installation"></a> <h3>Installation</h3> <p>You need to install python-sendgrid v3 API in order to install the module.</p> <p>If you're using a multi-database installation (with or without dbfilter option) where /web/databse/selector returns a list of more than one database, then you need to add <code>mail_sendgrid</code> addon to wide load addons list (by default, only <code>web</code> addon), setting <code>--load</code> option. For example, <code>--load=web,mail_tracking,mail_sendgrid</code></p> <a name="configuration"></a> <h3>Configuration</h3> <p>You can add the following system parameters to configure the usage of SendGrid:</p> <ul class="simple"> <li><code>mail_sendgrid.substitution_prefix</code> Any symbol or character used as a prefix for <a class="reference external" href="https://sendgrid.com/docs/API_Reference/SMTP_API/substitution_tags.html">SendGrid Substitution Tags</a>. <code>{</code> is used by default.</li> <li><code>mail_sendgrid.substitution_suffix</code> Any symbol or character used as a suffix for SendGrid Substitution Tags. <code>}</code> is used by default.</li> <li><code>mail_sendgrid.send_method</code> Use value 'sendgrid' to override the traditional SMTP server used to send e-mails with sendgrid. By default, SendGrid will co-exist with traditional system (two buttons for sending either normally or with SendGrid).</li> </ul> <p>In order to use this module, the following variables have to be defined in the server command-line options (or in a configuration file):</p> <ul class="simple"> <li><code>sendgrid_api_key</code> A valid API key obtained from the SendGrid web interface &lt;<a class="reference external" href="https://app.sendgrid.com/settings/api_keys">https://app.sendgrid.com/settings/api_keys</a>&gt; with full access for the <code>Mail Send</code> permission and read access for the <code>Template Engine</code> permission.</li> </ul> <p>Optionally, the following configuration variables can be set as well:</p> <ul class="simple"> <li><code>sendgrid_test_address</code> Destination email address for testing purposes. You can use <code>odoo&#64;sink.sendgrid.net</code>, which is an address that will simply receive and discard all incoming email.</li> </ul> <p>For tracking events to work, make sure you configure your Sendgrid Account with the correct Event Notification Url. You can do it under 'Settings -&gt; Mail Settings -&gt; Event Notification '. Set the URL to <code>https://&lt;your_domain&gt;/mail/tracking/sendgrid/&lt;your_database&gt;</code></p> <p>Replace '&lt;your_domain&gt;' with your Odoo install domain name and '&lt;your_database&gt;' with your database name.</p> <a name="usage"></a> <h3>Usage</h3> <dl class="docutils"> <dt>If you designed templates in Sendgrid that you wan't to use with Odoo:</dt> <dd><ul class="first last simple"> <li>Go to 'Settings -&gt; Email -&gt; SendGrid Templates'</li> <li>Create a new Template</li> <li>Click the &quot;Update&quot; button : this will automatically import all your templates</li> </ul> </dd> </dl> <p>In e-mail templates 'Settings -&gt; Email -&gt; Templates', you can attach a SendGrid template for any language. You can substitute Sendgrid keywords with placeholders or static text like in the body of the e-mail. The preview wizard now renders your e-mail with the SendGrid template applied.</p> <p>From e-mails, use the &quot;Send (SendGrid)&quot; button to send the e-mail using Sendgrid.</p> <a class="reference external image-reference" href="https://runbot.odoo-community.org/runbot/205/10.0"><img alt="Try me on Runbot" src="https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas" /></a> <a name="known-issues-roadmap"></a> <h3>Known issues / Roadmap</h3> <ul class="simple"> <li>Extend the features from SendGrid</li> </ul> <a name="bug-tracker"></a> <h3>Bug Tracker</h3> <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/social/issues">GitHub Issues</a>. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.</p> <a name="credits"></a> <h3>Credits</h3> <a name="images"></a> <h4>Images</h4> <ul class="simple"> <li>Sengrid logo: <a class="reference external" href="http://seeklogo.com/vector-logo/289294/sendgrid">SVG Icon</a>.</li> </ul> <a name="contributors"></a> <h4>Contributors</h4> <ul class="simple"> <li>Emanuel Cino &lt;<a class="reference external" href="mailto:ecino&#64;compassion.ch">ecino&#64;compassion.ch</a>&gt;</li> <li>Roman Zoller &lt;<a class="reference external" href="mailto:rzcomp&#64;gmail.com">rzcomp&#64;gmail.com</a>&gt;</li> <li>Isaac Gallart &lt;<a class="reference external" href="mailto:igallart&#64;puntsistemes.es">igallart&#64;puntsistemes.es</a>&gt;</li> </ul> <a name="maintainer"></a> <h4>Maintainer</h4> <a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a> <p>This module is maintained by the OCA.</p> <p>OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.</p> <p>To contribute to this module, please visit <a class="reference external" href="http://odoo-community.org">http://odoo-community.org</a>.</p>