[Vtigercrm-developers] Workflow Task from email issue

Rishab K rishab.k at vtiger.com
Tue Apr 22 10:48:29 GMT 2014


You're welcome.Do create a trac ticket if you come across any issues.

Regards,

Rishab
Vtiger Team


On Tue, Apr 22, 2014 at 4:09 PM, anup <anup.my001 at gmail.com> wrote:

> Thanks
>
>
> On Tue, Apr 22, 2014 at 3:40 PM, Rishab K <rishab.k at vtiger.com> wrote:
>
>>  [image: Boxbe] <https://www.boxbe.com/overview> This message is
>> eligible for Automatic Cleanup! (rishab.k at vtiger.com) Add cleanup rule<https://www.boxbe.com/popup?url=https%3A%2F%2Fwww.boxbe.com%2Fcleanup%3Ftoken%3DQ8J8marb%252F75%252B4Qax2P4aufgIBt31qoL8HTUHL2bdVC%252BHmo2SQdfZO1vsvdl1elX1qby4pK6akCEigR8Lm8b6XgAjf8xBB32cvkztbXkGi%252BpbYFzvf0odFTqVweN1lwY5HOEMTlZxkOI%253D%26key%3DDMXveWzqMMT4G2gBciMeNapkcKYPn0Zh%252FdrO2uX%252F5u8%253D&tc_serial=17004013276&tc_rand=1190826703&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001>| More
>> info<http://blog.boxbe.com/general/boxbe-automatic-cleanup?tc_serial=17004013276&tc_rand=1190826703&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001>
>>
>> Hi Anup,
>>
>> You can refer the trac<http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/8000>for immediate fix.
>>
>> Regards,
>> Rishab
>> Vtiger team
>>
>>
>>
>>
>> On Fri, Apr 11, 2014 at 3:34 PM, Uma S <uma.s at vtiger.com> wrote:
>>
>>> Hi Anup,
>>>
>>> I have raised a ticket for above issue here<http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/8000>in trac. we will look into this soon.
>>>
>>>
>>> On Thu, Apr 10, 2014 at 2:00 PM, anup <anup.my001 at gmail.com> wrote:
>>>
>>>> Hello Team,
>>>>
>>>> In workflow email tasks if we enter the email address into from email
>>>> field the tasks are not getting queued
>>>> 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.
>>>>
>>>> Reason :
>>>>
>>>> The event handler after save check for workflow event handler and in
>>>> file modules/com_vtiger_workflow/VTWorkflowManager.inc
>>>>
>>>> performTasks() function executes and in line 324 $hasContents =
>>>> $task->hasContents($entityData); check for contents
>>>>
>>>> Next in File - modules/com_vtiger_workflow/tasks/VTEmailTask.inc, Line
>>>> no 119
>>>>
>>>> Actuall code
>>>>
>>>> $fromEmailDetails = $et->render($entityCache, $entityId);
>>>> list($fromName, $fromEmail) = explode('<', $fromEmailDetails);
>>>> list($fromEmail, $rest) = explode('>', $fromEmail);
>>>>
>>>> But if we enter manually email address
>>>>
>>>> in $fromEmailDetails there will be only email id, there wont be
>>>> $fromName , < and >.
>>>>
>>>> in the next line when you explode the email id moves to $fromName and
>>>> $fromEmail will be null.
>>>>
>>>> Finally in line 136 there is a condition to check $fromEmail is empty
>>>> and this returns false and the queuing does not occur.
>>>>
>>>> I have applied a small fix for temporary, Hope you will check and apply
>>>> the right fix.
>>>>
>>>>
>>>> Thanks
>>>> Anup.M.Y
>>>>
>>>> _______________________________________________
>>>> http://www.vtiger.com/
>>>>
>>>
>>>
>>>
>>> --
>>> With
>>> Best Regards
>>> Uma.S
>>> Vtiger Team
>>>
>>> _______________________________________________
>>> http://www.vtiger.com/
>>>
>>
>>
>> _______________________________________________
>> http://www.vtiger.com/
>>
>>
>
>
> --
>
> Anup.M.Y / PHP Web Developer
> 9964281402/ anup.my001 at gmail.com
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20140422/c0ec8b5b/attachment-0001.html>


More information about the vtigercrm-developers mailing list