<div dir="ltr">Hi Anup,<div><br></div><div>You can refer the <a href="http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/8000">trac</a> for immediate fix.</div><div><br></div><div>Regards,</div><div>Rishab </div><div>Vtiger team</div>
<div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 11, 2014 at 3:34 PM, Uma S <span dir="ltr"><<a href="mailto:uma.s@vtiger.com" target="_blank">uma.s@vtiger.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Anup,<div><br></div><div>I have raised a ticket for above issue <a href="http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/8000" target="_blank">here</a> in trac. we will look into this soon.</div>
</div><div class="gmail_extra">

<br><br><div class="gmail_quote"><div><div class="h5">On Thu, Apr 10, 2014 at 2:00 PM, anup <span dir="ltr"><<a href="mailto:anup.my001@gmail.com" target="_blank">anup.my001@gmail.com</a>></span> wrote:<br></div></div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">

<div dir="ltr"><div><div>Hello Team,<br><br></div>In workflow email tasks if we enter the email address into from email field the tasks are not getting queued <br>but if you select it from the picklist on right hand side the mails are getting in queue in com_vtiger_workflowtask_queue and mails are being sent.<br>




<br></div><div>Reason :<br><br></div><div>The event handler after save check for workflow event handler and in file modules/com_vtiger_workflow/VTWorkflowManager.inc <br><br></div><div>performTasks() function executes and in line 324 $hasContents = $task->hasContents($entityData); check for contents  <br>




</div><div><br></div><div>Next in File - modules/com_vtiger_workflow/tasks/VTEmailTask.inc, Line no 119<br><br></div><div>Actuall code<br><br>$fromEmailDetails = $et->render($entityCache, $entityId);<br>list($fromName, $fromEmail) = explode('&lt;', $fromEmailDetails);<br>




list($fromEmail, $rest) = explode('&gt;', $fromEmail);<br><br></div><div>But if we enter manually email address<br><br></div><div>in $fromEmailDetails there will be only email id, there wont be $fromName , < and >.<br>




<br></div><div>in the next line when you explode the email id moves to $fromName and $fromEmail will be null.<br><br></div><div>Finally in line 136 there is a condition to check $fromEmail is empty and this returns false and the queuing does not occur.<br>




<br></div><div>I have applied a small fix for temporary, Hope you will check and apply the right fix.<br></div><div><br></div><br clear="all"><div><div><div>Thanks<br>Anup.M.Y<br>
</div></div></div></div>
<br></div></div>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><span class="HOEnZb"><font color="#888888"><br></font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div>
<br></div>-- <br><div dir="ltr">With<br>Best Regards<br>Uma.S<br><div>Vtiger Team</div></div>
</font></span></div>
<br>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br></div>