Is there anyway we can track our email has been read or not using php. If i am sending mails to 10 persons i need to know how many people has read the email and their email address. Is there a way to do this
Thanks in advance
Is there anyway we can track our email has been read or not using php. If i am sending mails to 10 persons i need to know how many people has read the email and their email address. Is there a way to do this
Thanks in advance
No. There is no reliable way to do this - all the known ways are used by spammers, and therefore most e-mail clients block them by default.
That said, there are numerous ways - but don't expect any of them to be reliable:
I am not affiliated with this site in anyway just first result Google came up with, (there are a few others also) but see http://trackemailmarketing.com/ (Googled EMail marketing tracking)
As for you doing this on your own, it is possible, if you can come up with the logic and how it will work. There are a ton of problems to overcome, however, given the many different clients with different limitations (ie clients blocking) etc.
it is most connected with a grafical item like a 1x1 pixel or other images. Best way, yout generate the pixel with php.
then you add code like this one to your email
the file pixel.php create a img file and make a mysql quety to your DB that email with ID 1 was opened.
The same theory with Links.
There is no way to track openings of text emails.
I also provide a email makreting tool, just mail me if you habe interest.
alexander[AT]fincha[dot]com
You can use image bugs aka tracking pixels (because they are usually invisible 1x1 images). Don't expect this to be 100% reliable, since there's a chance that because of that email clients will flag your emails as spam. Some clients just won't request images at all.
That's how litmus tracks their emails, with several metrics: whether an email was forwarded, printed, how long it's been read, etc. Their foundation is... Image bugs. I explained how each of those work here.
Embedding any kind of javascript code will increase the likelihood of a spam flag by orders of magnitude. Don't do that.
There is no way to reliably do this, in no small part because modern email clients have taken steps to prevent you from doing this.
You can try implementing "web bugs", small images with a unique link sent to each recipient, so that you can see when the image is loaded from your server, but that requires the user (again, at least in modern email clients) to explicitly say "load images".
You can, however, provide links to content that you control, again with per-message unique identifiers, to see who's interested in your content.
There aren't any guaranteed reliable ways to do this. There are a number of methods that work some of the time, but there's no way to be certain. Most of the methods that could have been reliable are routinely blocked by end users due to spam.
The most common way is to send an HTML email with graphics that are loaded from your site (or quite frequently from a third-party tracking agency's site). The graphic would be loaded and the URL would be spiked with a unique ID so you know which recipient has loaded it.
However this only works if the user (a) reads their email in HTML mode, (b) allows it to load graphics, and (c) reads it while they're online.
Some techniques use Javascript to perform a similar task. But that has all the same issues, and can also be stopped by users blocking Javascript in their email.
The best method (ie the most socially acceptable one, and least likely to be blocked) is to provide a link for the user to click on to get more info, which has a unique ID. This of course doesn't tell you what's been read, but it does tell you who's interested in what they've read, which is probably more valuable to know anyway.
The down side of all these methods is the need to give each user a unique ID. This means that each email you send has to be unique, which means quite a big processing overhead for your mail system as it has to re-generate the text for every single user. This is the reason that most people who do this sort of thing delegate the task to a third party tracking agency.