Faqts : Computers : Programming : Languages : PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

110 of 177 people (62%) answered Yes
Recently 6 of 10 people (60%) answered Yes

Entry

How to do email read notification in PHP

Aug 24th, 2009 06:40
Joe Bloggs, ha mo, Sheana blogs, Articles Hosting, Morne Roets, Rupak Dum,


Well there are a few ways. But the main problem is that these day's 
with
all the spam filters it's not easy to do tracking anymore. And you 
don't
want to be added to the "spam" list on all the mail servers by only
doing "read tracking report".
The method i use "WEB BEACON" is relative safe and "almost"
undetectable. The only problem is that the person that reads the email
must be able to view images in the HTML email or click on the "download
image" link in Outlook 2000 and above.
What we do is we create an HTML email and add this "image tag" anywhere
on the Email.
//=========== In the html email ======
<img
src="http://www.youserver.com/newsletter_report.php?email=emailofuser "
border="0" width="150" height="40">
//=========== End Email ==============
Most people just use a blank 1x1 pix image but i've used my companys'
logo as my "web bugs" or "WEB BEACON".
This means that when the user click on "download all images" Outlook
will request the newsletter_report.php script waiting for a image 
response.
The next part is actually easy ...
//============= In your newsletter_report.php script ==============
function sendGIF(){
    // open the file in a binary mode
	$name = "sentBy8.png";
	//Open and read in binary
	$fp = fopen($name, 'rb');
	// send the right headers
	header("Content-Type: image/gif");
	header("Content-Length: " . filesize($name));
	// dump the picture and stop the script
	fpassthru($fp);
}
// Make sure image is sent to the browser immediately
ob_implicit_flush(TRUE);
// keep running after browser closes connection
@ignore_user_abort(true);
sendGIF();
// Browser is now gone...
// Switch off implicit flush again - we don't want to send any more 
output
ob_implicit_flush(FALSE);
// Catch any possible output (e.g. errors)
// - probably not needed but better safe...
ob_start();
//Start your processing here...
// ============== Ens script ==================================
When outlook request the newsletter_report.php script we send an image
back on do tracking on the $_REQUEST vars passed from the link in the 
email.
You can even take this script to the next level and do tracking for how
long the email was opened etc ... :-)
Just remember that this type of tracking is often know as spyware. But
you can just notify your newsletter clients that you do open rate
tracking for advertising purposes. (In the small print)
Hope this helps, i've researched all possible tracking options, but 
this
is the best by far.
Tip: make your HTML Email with a lot of images to "force" the reader to
download all the offside images.
http://islandsofworld.blogspot.com/
http://worldsbestbeaches.blogspot.com/
http://top-honeymoondestinations.blogspot.com/
http://topweddingguide.blogspot.com/
http://recipeslist.blogspot.com
=======
readnotify.com/readnotify/show.asp/0015c797da9a070e0a72c9dd2769d956.htm
l 
i hope that help.
======================================
http://www.attorneyslawyersdirectory.com
http://www.findattorneyslawyers.com
http://www.goodlawyersattorneys.com
http://www.professionallawyersattorneys.com
http://www.bestprofessionallawyers.com
http://www.americalawyersattorneys.com
http://www.availablelawyers.com
http://www.lawyersattorneyslist.com
http://www.lawyersattorneysfirm.com
http://www.originallawyers.com
http://www.lawyersgulf.com
http://www.lawyersband.com
http://www.lawyersdatacenter.com
http://www.lawyerstigers.com
http://www.lawcliff.com
http://www.tidylawyers.com
http://www.lawyersblock.com
http://www.californialawyersattorneys.com
http://www.chicagoattorneyslawyers.com
http://www.goodcalifornialawyers.com
http://www.lawyersattorneysfaqs.com
http://www.divorceattorneyslawyers.com
http://www.duiattorneyslawyers.com
http://www.personalinjurylawyerslist.com
http://www.injurylawyersattorneys.com
http://www.dwilawyersattorneys.com
http://www.healthbigboss.com
http://www.healthdohealth.com
http://www.healthcass.com
http://www.healthsilence.com
http://www.healthpicnic.com
http://www.blackmesothelioma.com
http://www.affordablelawyersattorneys.com
http://www.pickarticles.com
http://www.bloodyarticles.com
http://www.healthment.com
http://www.healthbyhealth.com
http://www.ehealthebooks.com
http://www.bestproductsofhealth.com
http://www.dietlosingweight.com
http://www.americanehealth.com
http://www.healthydepartment.com
http://www.medicalehealth.com
http://www.healthservicescenter.com
http://www.ehealthenews.com
http://www.ehealthdept.com
http://www.benefitshealthcenter.com
http://www.toplawyersattorneys.com 
http://www.healthxhealth.com
http://www.mesotheliomakiller.com
http://www.healthinhealth.com
http://www.booksyshop.com
http://www.mesotheliomaout.com
http://www.mesotheliomadown.com
http://www.qwesz.com
http://americanahost.com
http://www.healthfirewall.com
http://www.healthbodyguard.com
http://www.flathealth.com
http://www.computerstan.com
http://www.financestan.com
http://www.technologystan.com
http://www.zobab.com
http://www.businessian.com
http://www.tarabiza.com
http://www.internetstan.com
http://www.moneyenews.com
http://www.hantira.com
http://www.mantofa.com
http://www.tantofa.com
http://www.fantofa.com
http://www.tanpola.com
http://www.tampola.com
http://www.yamot.com
http://www.mozmar.com
http://www.uploadarticles.com
http://www.articlesfreedirectory.com
http://www.articlesxarticles.com
http://www.shikapika.com
http://www.ganazat.com
http://www.stakoza.com
http://www.stupidarticles.com
http://www.damima.com
http://www.halazona.com
http://www.best-cheap-web-hosting.com
======================================
http://www.tantofa.com
http://www.fantofa.com
http://www.mantofa.com
http://www.tanpola.com
http://www.tampola.com
http://www.yamot.com
http://www.mozmar.com
http://www.templatestemp.com