File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other JSE/JEE APIs and the fly likes Tracking link of email Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Tracking link of email" Watch "Tracking link of email" New topic

Tracking link of email

Kriti Garg
Ranch Hand

Joined: Sep 13, 2004
Posts: 50
Hi All,

I am sending a email (HTML/text) using the JavaMail API.

i want to track which links(hyperlink) of the emails was opened by the Receipent.

I am creating a HTML based email using the editor as in Yahoo etc

How can i track that.

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
You could have the links go to your server, which then extracts the real URL from a parameter in the link and redirects the request to that URL.

I would consider this kind of behavior an intrusion of privacy, and take steps to avoid it.
Kriti Garg
Ranch Hand

Joined: Sep 13, 2004
Posts: 50
Actually these users are subscribers to our maling list.

And in this newsletter we just want to check which are the subscribers area of intereset .We need this for our survey
Somu Pitchaiah

Joined: Sep 29, 2009
Posts: 6
I need to create a module that resembles a "Email Marketing" where you can:

1. Send email to list of users and track the delivered & undelivered email addresses;
2. Track which links(in the email body) were clicked.

Basically sending & tracking email messages.

Please suggest me a good approach for the above scenario. I would like to have an tutorial/example or a Java API that does this.

Thanks for your help in advance!

Rob Spoor

Joined: Oct 27, 2005
Posts: 20276

Don't wake the zombies. Also, don't hi-jack threads, especially when you create your own thread as well.

How To Ask Questions How To Answer Questions
Somu Pitchaiah

Joined: Sep 29, 2009
Posts: 6
Yeah I didn't want to post the duplicate message. I tried to remove it, but couldn't find the option to do that.
I agree. Here's the link:
subject: Tracking link of email
It's not a secret anymore!