Hi Clem,<br><br>Thanks for your interest in vtigerCRM.<br><br>When clicking on the Qualify button &quot;modules/Webmails/Save.php&quot; file will be called to create a new Contact and to relate the Qualified Email to this Contact. You have to modify the code in this file to check whether the contact is already present, if exist then you have to relate the Email to that particular contact.<br>
<br>Please get back to us for more information.<br><br>Thanks &amp; Regards,<br>Srini<br><br><div><span class="gmail_quote">On 3/12/08, <b class="gmail_sendername">clement chazarra</b> &lt;<a href="mailto:chazarra.clement@gmail.com">chazarra.clement@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello everybody,<br><br>First a big huge &quot;THANK YOU&quot; to the vTiger team, this release is a big step forward, so many improvments.. I am now playing with it and I really enjoy!<br><br>I would like to talk about qualifying emails, when I do so, it creates a new contact which contains the corresponding email. The problem is if I receive again an email from the same contact, if I qualify again the email, it will create again the contact as new.<br>

Instead of this behaviour I would like to look up if the email already exists in contact details and if it is the case, just add the email to the contact.<br><br>I had a look in the log and could trace the bahaviour till &quot;insertIntoEntityTable Contacts vtiger_table name vtiger_contactdetails&quot; (method located in crmentity) but so far I cannot find the code between this method and the button &quot;qualify&quot; on the webmail menu.<br>

<br>My question:<br>Does anybody could tell me where to find the code executed when I press &quot;Qualify&quot; button? I can find &quot;add_to_vtiger&quot; method (in webmail.js) but cannot figure out where to go from there.<br>

<br>A little help would be really appreciated.<br><br>Thanks guys and long life to vTiger!<br>Clem<br>
<br>_______________________________________________<br>
Reach hundreds of potential candidates - <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://jobs.vtiger.com" target="_blank">http://jobs.vtiger.com</a> <br></blockquote></div><br>