Actually you are almost right.
But there is no need to add feedback which user must click to inform you that your email is received. Exist another method to do this secretly. Call it "tracking emails for read". It is done as follows, you send someone a HTML email. In the HTML you have an image tag looking like so
HTML Code:
<img src="http://domain.com/mysite.php?email=address@domain.com" width=1 height=1>
Now what happens is that when they open the email it will call the PHP script thinking its an image. Since you have the address in the image tag you know what address it was that opened the email.
Now for your php script, you just use the email address for whatever you want to do, eg look up in a database and then set a column to true to note that they opened the email. After you have done that use the readfile() function to open a small image on the server and pass it to the email client. That way the email program is getting image data, what it expected since thats what it requested.
Last edited by spawn; 06-03-2010 at 02:45 PM..
|