<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial><FONT size=2><SPAN 
class=916253714-14112006><FONT color=#0000ff>((If someone would fix the forums 
registration, I'll gladly start posting these issues on the forums if this is 
not the correct venue.&nbsp; Until then, I assume reporting in some way is 
better than not reporting at all.))</FONT></SPAN></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff size=2><SPAN 
class=916253714-14112006></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT size=2><SPAN 
class=916253714-14112006><FONT color=#0000ff>modules/Emails/Emails.ph<SPAN 
class=916253714-14112006>p seems to be lacking some key class-level 
fields.&nbsp; Namely, these:</SPAN></FONT></SPAN></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT size=2><SPAN 
class=916253714-14112006><FONT color=#0000ff><SPAN 
class=916253714-14112006></SPAN></FONT></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT size=2><SPAN 
class=916253714-14112006><FONT color=#0000ff><SPAN class=916253714-14112006>var 
$rel_users_table = "vtiger_salesmanactivityrel";<BR>var $rel_contacts_table = 
"vtiger_cntactivityrel";<BR>var $rel_serel_table = 
"vtiger_seactivityrel";<BR></SPAN></FONT></SPAN><SPAN 
class=779001314-14112006></SPAN></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT><SPAN class=779001314-14112006><SPAN 
class=916253714-14112006><FONT face=Arial color=#0000ff size=2>It makes use of 
these fields in its code, as in the function 
set_emails_contact_invitee_relationship(), but they are not set anywhere in the 
class.</FONT></SPAN></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT><SPAN class=779001314-14112006><SPAN 
class=916253714-14112006><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=779001314-14112006><SPAN class=916253714-14112006>This problem comes to 
light when you attempt to use the Outlook plugin to link emails to a vtiger 
contact.&nbsp; You get the typical <FONT color=#000000>"Invalid return value 
from vtigerCRM" error message.</FONT></SPAN></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=779001314-14112006><SPAN 
class=916253714-14112006></SPAN></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT><SPAN class=779001314-14112006><SPAN 
class=916253714-14112006><FONT face=Arial color=#0000ff size=2>I inserted the 
lines mentioned above at line 38 in Emails.php and Outlook email linking started 
to work.</FONT></SPAN></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=779001314-14112006><SPAN 
class=916253714-14112006></SPAN></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=779001314-14112006><SPAN class=916253714-14112006>Most of the Outlook 
interaction with vtiger in&nbsp;v502&nbsp;seems to be sadly broken out of the 
box.</SPAN></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=779001314-14112006><SPAN 
class=916253714-14112006></SPAN></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT><SPAN class=779001314-14112006><SPAN 
class=916253714-14112006><FONT face=Arial color=#0000ff size=2>By the way, 
anyone thought of improving the Outlook plugin to do something other than 
stupidly report that vtiger returned an invalid response?&nbsp; Having to use 
Fiddler or some other HTTP inspection utility to just to find the PHP error 
message from vtiger is time-consuming.</FONT></SPAN></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT><SPAN class=779001314-14112006><SPAN 
class=916253714-14112006><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT><SPAN class=779001314-14112006><SPAN 
class=916253714-14112006><FONT face=Arial color=#0000ff 
size=2>jpt</FONT></SPAN></DIV></SPAN></FONT></BODY></HTML>