<?xml version="1.0"?>
<oembed><version>1.0</version><provider_name>My CMS</provider_name><provider_url>https://help.xodox.in/pt</provider_url><author_name>help-xodox</author_name><author_url>https://help.xodox.in/pt/author/help-xodox/</author_url><title>Leads email integration - My CMS</title><type>rich</type><width>600</width><height>338</height><html>&lt;blockquote class="wp-embedded-content" data-secret="MsgjMgFUO6"&gt;&lt;a href="https://help.xodox.in/pt/docs/leads-email-integration/"&gt;Leads email integration&lt;/a&gt;&lt;/blockquote&gt;&lt;iframe sandbox="allow-scripts" security="restricted" src="https://help.xodox.in/pt/docs/leads-email-integration/embed/#?secret=MsgjMgFUO6" width="600" height="338" title="&#x201C;Leads email integration&#x201D; &#x2014; My CMS" data-secret="MsgjMgFUO6" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" class="wp-embedded-content"&gt;&lt;/iframe&gt;&lt;script&gt;
/*! This file is auto-generated */
!function(d,l){"use strict";l.querySelector&amp;&amp;d.addEventListener&amp;&amp;"undefined"!=typeof URL&amp;&amp;(d.wp=d.wp||{},d.wp.receiveEmbedMessage||(d.wp.receiveEmbedMessage=function(e){var t=e.data;if((t||t.secret||t.message||t.value)&amp;&amp;!/[^a-zA-Z0-9]/.test(t.secret)){for(var s,r,n,a=l.querySelectorAll('iframe[data-secret="'+t.secret+'"]'),o=l.querySelectorAll('blockquote[data-secret="'+t.secret+'"]'),c=new RegExp("^https?:$","i"),i=0;i&lt;o.length;i++)o[i].style.display="none";for(i=0;i&lt;a.length;i++)s=a[i],e.source===s.contentWindow&amp;&amp;(s.removeAttribute("style"),"height"===t.message?(1e3&lt;(r=parseInt(t.value,10))?r=1e3:~~r&lt;200&amp;&amp;(r=200),s.height=r):"link"===t.message&amp;&amp;(r=new URL(s.getAttribute("src")),n=new URL(t.value),c.test(n.protocol))&amp;&amp;n.host===r.host&amp;&amp;l.activeElement===s&amp;&amp;(d.top.location.href=t.value))}},d.addEventListener("message",d.wp.receiveEmbedMessage,!1),l.addEventListener("DOMContentLoaded",function(){for(var e,t,s=l.querySelectorAll("iframe.wp-embedded-content"),r=0;r&lt;s.length;r++)(t=(e=s[r]).getAttribute("data-secret"))||(t=Math.random().toString(36).substring(2,12),e.src+="#?secret="+t,e.setAttribute("data-secret",t)),e.contentWindow.postMessage({message:"ready",secret:t},"*")},!1)))}(window,document);
&lt;/script&gt;</html><description>Leads email integration is powerful Xodox feature who allow you to integrate leads from your email address. You can set up email forwarder from any form you are using and you will get the leads into the CRM. Eq. You are using 4 forms on &#xA0;different websites, you set in your cPanel forwarders when you receive an email from&#xA0;any of these forms to forward to the leads email which you have set up in Setup -&gt; Leads -&gt; Email Integration This feature is very sensitive so make sure you read the explanation carefully. Its recommended to start with a new brand email for this feature which will be used only for leads integration forwarding. No replies, composing emails from this email account. Meanwhile, it&#x2019;s your responsibility for the unwanted results. Navigate to Setup-&gt; Leads -&gt; Email Integration. By default, this feature will be inactive. When you configure the email integration you can set to active so the cron can process emails if any found. IMAP Server &#x2013; Your leads email IMAP Server. Email address (Login) Password Encryption (SSL/TLS/No Encryption) Delete email after import &#x2013;&#xA0;If you check this option the mail will be deleted after a successful import. Auto mark as public &#x2013; Auto mark this lead as public, public leads are visible to all staff members. Folder &#x2013; Default is INBOX &#x2013; If you are using Gmail you cant change to&#xA0;ex. Social, forums, update leave it to INBOX Check Every (minutes) &#x2013; The cron will check for new emails every X minutes you set up here. Its recommended this field to be bigger than 10 minutes. Don&#x2019;t hard change in the database. Only check none opened emails &#x2013; By default the cron will check only none opened emails. After checking the email will set this&#xA0;email as opened so the next time won&#x2019;t be checked.&#xA0;This is used to prevent checking&#xA0;all the emails again and again in each cron run. Example if you have 40000 emails there the CRON will be very slow and you won&#x2019;t be satisfied with the results. In this case, if this field is checked everything will work fine. Default Source &#x2013; After lead importing add source. Ex. Email Integration Default Status &#x2013; The default status to be assigned after import Responsible for the new lead &#x2013; auto assigns responsibility for this lead. Notify when lead imported &#x2013; Do you want to be notified when new lead is imported from the email integration Notify if lead sends email multiple times &#x2013; This is used when a lead send email multiple times. Ex. the lead sends an email and is imported after that send another email but the lead already exists in the database so when viewing this lead on the right side you can view all emails from this lead send. If this option is checked and lead sends multiple emails you will be notified. &#xA0;If the lead is with status CLIENT nothing will happen and no email will be saved in the database. &nbsp; Notification &#x2013;&#xA0;Staff Members with a role or&#xA0;Specific Staff Members &#x2013; If you don&#x2019;t select any staff or roles no one will be notified no matter if the notification fields above is checked. Admins won&#x2019;t be notified when a lead is imported from email if they are not checked. &nbsp; After you set up, all the fields SAVE the email configuration and test the connection clicking on the TEST IMAP CONNECTION button on the right side Authentication failures If your authentication is failing, there are several likely causes: You have the wrong username or password Your connection is being diverted to a different server (as above) You have specified authentication without encryption Common issues with Gmail or G Suite &#x2013; Invalid username or password Invalid username or password when use Gmail or G-Suite can be a common error if you haven&#x2019;t turned Less Secure Apps to ON, however, it&#x2019;s recommended first to check if your password is correct. G-Suite Sign in to the Google Admin console. Click Security &gt; Basic settings. Under Less secure apps, select Go to settings for less secure apps. In the subwindow, select the Allow users to manage their access to less secure apps radio button. In case you are not receiving the emails and your SMTP configuration test email is showing that the configuration is working properly, take a look at the following articles: https://productforums.google.com/forum/#!topic/Apps/M7TiKQAWhq4 https://support.google.com/a/answer/55299?hl=en Gmail Regular Account Log in to your user account. Visit:&#xA0;https://www.google.com/settings/security/lesssecureapps Toggle on. 2 Factor Authentication Enabled If you are&#xA0;have enabled 2-factor authentication&#xA0;on your Google Account, you&#xA0;MUST&#xA0;generate an application password and add the password in the password field. Click&#xA0;here&#xA0;to read how to generate App Password. Notes After the lead is imported the email will be set to open. This feature does not auto-populate the leads fields, only the email and the name will be auto-populated. If the sender has setup NAME in the email client will be auto-populated in the lead name field otherwise the email will be taken as a name because the email clients add the email as a name if no name is specified. If you want additional fields to be populated you need to format your email HTML&#xA0;as explain here Set lead to junk if the imported lead is not accurate for you to prevent double importing. If you delete the lead and this lead send an email again will be imported again. Better to set it to junk. If you have unchecked&#xA0;Only check none opened emails &#x2013;&#xA0;all emails will be checked again and again meanwhile only will be checked non opened emails. If the email integration feature is set to active and the CRON cant connect to the IMAP server activity will be logged. To check the activity go to Utilities -&gt; Activity Log and find&#xA0;[CRON] Failed to connect to IMAP lead email integration If the lead exists in the Xodox CRM after checking the email and this lead is with status junk&#xA0;the email won&#x2019;t be saved into the database and no notifications will be received. If the</description></oembed>
