Closed (fixed)
Project:
Mailout
Version:
5.x-1.0-rc2
Component:
Miscellaneous
Priority:
Minor
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
25 Aug 2008 at 20:08 UTC
Updated:
8 Mar 2009 at 19:38 UTC
How does the tracking feature work? I have sent a mail out in HTML with tracking enabled, how ever, opens are not being tracked.
Comments
Comment #1
joncup commentedwas my fault, apache redirect problem, sorry
Comment #2
dwightery commentedI'm also trying to use tracking, however the embedded image link is getting the wrong path. Instead of the website url, it's returning the filesystem path on the link,
<img src="http:///web/fmc/www.fmc-inc.net/index.php?q=mailout/track/44/1232460905/1e73108f4708b3c4..." width="0" height="0" />
looking in the code, this is where it seems to build this path:
www:/web/fmc/www.fmc-inc.net/modules/mailout# grep image.gif *
';
mailout.module: $image = drupal_get_path('module', 'mailout') .'/image.gif';
mailout.module: drupal_set_header('Content-Type: image/gif');
mailout_send.inc: 'gif' => 'image/gif',
mailout_send.inc: $final_email_body .= "\n
www:/web/fmc/www.fmc-inc.net/modules/mailout#
I was going to edit the .inc file to fix it, but is it possible i have a setting wrong somewhere? I'm using mailout version "mailout-5.x-1.0-rc2"
dwight.
Comment #3
dwightery commentedfixed this myself. I had my files folder outside of my webroot directory, and had to set the files to be "private" (served by drupal) instead of public (served by apache). Path reference to files is now properly encoded in the html.
dw.
Comment #4
dwightery commentedanother quick update. I had switched themes, and this seemed to break the filepath reference in this setup. I had to set it to public, save, back to private, save, and it was ok after that.
dwight.