[Vtigercrm-developers] vtiger 6.1 beta SVN 14176 - workflow email task issues (new)

Holbok István holbok at gmail.com
Sun Aug 10 10:09:11 GMT 2014


Dear vtiger Team,

We created a workflow supported Custom module successfully in the last 
months.
This CustomModule is related to the Contacts module.

There is a task to send email to the Contact when in the CustomModule a 
dedicated field has changed.

*Good news:* The workflow works as it was expected. When the dedicated 
field has changed the workflow email task is executed by the next run of 
the cron.

*The issues:*
(1) The sent email contains a tracking image, and this tracking image is 
inserted to the HTML part of the email before the <html> tag. It would 
be better between the <body> </body> parts of the email. Here is the 
part of the sent email code:

--b1_9f547510890c4c2724d41dacc19b19eb
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<img src='http://<VTIGER-URL>*//*modules/Emails/TrackAccess.php?*record*=2184&*mailid*=2187&app_key=a899c08ae1c429cda857b2d98c71acb9' alt='' width='1' height='1'>*<html>*
<head>
	<title></title>
</head>
<body class="scayt-enabled">Dear ...

(2) The tracking link contains a double // after the vtiger URL domain 
part, before the modules/Emails... part.

(3) The sent email is not recorded to the Contact record -> Emails 
relation, even though the to_email_id was the Contact primary email 
address. Contact record is the parent record to the named CustomModule 
record.
The tracking img URL contains 3 identifier.
*record=2184*, where 2184 is the CRM_ID of the CustomModule record
*mailid=2187*, where 2187 is the CRM_ID of the sent email itself.
and app_key.

*Question:*
How to resolve it?
Because if the workflow email was sent to the Contact or Lead email 
address, and the tracking image was inserted, *the email should be 
listed in the sent email list of the Contact or Lead records*.

Kindest regards:
István

-- 
üdvözlettel:

*Holbok István*

+3670-342-0900
*e-mail:* holbok at gmail.com
*SkyPe:* holboki

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20140810/12024dec/attachment.html>


More information about the vtigercrm-developers mailing list