...

View Full Version : Detect if an Email has Been Opened



thekevin07
09-04-2007, 10:41 AM
Hi

I send an automated newsletter to people that request it and im curious to wonder how many people are opening the emails i send. Is there a way to detect this and store if they did open it in a mysql database using php?


Thanks

ess
09-04-2007, 12:44 PM
There are two ways to do this. One is to use an image embedded inside the email contents with a unique id.

<img src="http://yourserveraddress.com/images/email.gif?id=111" alt="cofirm"/>

the source of the image will be stored at your server, and therefore...once someone opens the email...the image would load...and you would know that person has opened the email and obviously read it.

second method is to add the following to the email header, but I don't think that it would work with email accounts such as hotmail, yahoo etc.

$header .= "Disposition-Notification-To: <" . $confrim . ">\r\n";

Cheers,
Ess

abduraooft
09-04-2007, 12:58 PM
There are two ways to do this. One is to use an image embedded inside the email contents with a unique id.

<img src="http://yourserveraddress.com/images/email.gif?id=111" alt="cofirm"/>

the source of the image will be stored at your server, and therefore...once someone opens the email...the image would load...and you would know that person has opened the email and obviously read it.

second method is to add the following to the email header, but I don't think that it would work with email accounts such as hotmail, yahoo etc.

$header .= "Disposition-Notification-To: <" . $confrim . ">\r\n";

Cheers,
Ess



....and store if they did open it in a mysql database using php?

is it possible by the above methods?

thekevin07
09-04-2007, 01:41 PM
I'll try both and post my results :)


Thanks

Fumigator
09-04-2007, 06:26 PM
Neither method is 100%, though they are creative. I personally have images turned off in email and I always answer "no" to an email confirmation request. You may get enough feedback to be helpful to you but it won't give you an accurate statistic.

CFMaBiSmAd
09-04-2007, 08:49 PM
Also, be advised that the <img ... /> tag only has meaning in a HTML email and is only a string of characters in a plain text email, such as when the user has configured his email client for plain text only.

felgall
09-04-2007, 09:01 PM
A properly configured email program does not allow the sender of the email to know that the recipient has even received the email let alone opened it. Where an email program is incorrectly configured so that it does report back when emails are opened any spam that is accidentally opened then generates thousands of additional spam emails since the spammer now has a confirmed email address that has an incorrectly configured email program where they know that their spam will be seen.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum