You could put a cf template in as an image:

<img
src="#application.url_home#/email_track.cfm?mailer=#qGetMailing.mailingID#&u
ser=#userID#" height="1" width="1" />

And then have some code in email_track.cfm record how many opens the email
has had, or even who has opened it. Will only work on the multipart version,
and only if the recipient views images. You have no way that I know of to
check if a recipient has read a plain text email.

Re tracking links - you could have some code in your Application.cfc that
looks for the existence of a url variable that is only appended to links
added to the emails sent out. Just records the number of times that link is
displayed. Be careful though - say you have a url like this that you want to
use as a link:

http://www.someurl.com/somepage.cfm?e=1

Your code that automatically adds the tracking variable needs to know that
there is already a url variable there, and to use a & to apend the added
variable.

Just some thoughts.

will

-----Original Message-----
From: William Nichols [mailto:[EMAIL PROTECTED] 
Sent: 14 July 2008 22:35
To: CF-Talk
Subject: Little brainstorming help needed (developing email app)

Hello Everyone,

So I am going to be developing an application for in house purposes.  A
couple of things that are requirements that I haven't done before that I am
looking for some feedback on.  This may be a little bit of a long post, but
it should be a decent challenge and you can flex your CF / brainstorming
muscles.  

I am not looking for actual code, just what methods would you use to
accomplish this.

App Summary:  This is going to be an email app, that can email out to a list
of people.  Multi-part email so it can send http or plain text.  It will
have images / links that will be trackable back to a specific recipient
based on opening email (if images are loaded) and what has been clicked.

The actual mail part is not what I need any ideas about.  What I do need
help with is what ideas would you use for tracking the recipients by images
loaded, clicked, or url's clicked.

What I see needs to happen.  When an email is created they are created from
templates.  The images in these templates need to be recreated as a unique
filename with each separate recipients email, an image name that is tied to
that user.  What I don't know is how can I track an image that is loaded?
Does CF have a way to see what files are accessed?  Can I somehow track when
an image is loaded?

Trackable links.  I am imaging a link going to say
www.urlhere.com/filename.htm going to something like
www.urlhere.com?file=UNIQUE-PARAM-FOR-USER  that param will change in each
email for each user and do a CFLocation or other 301 re-direct and record
the click in a database.  That part is pretty easy.  I think that is the
proper way to do it.

The hardest part for me is to the same type of thing for the images that
make up the email. What would you do? 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309043
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to