I am working on a project where I am trying to track email opens by inserting an image in it and detecting when it is loaded from the server. The loading is performed using a php script. I am trying to load 2 different images. Lets call them image1 and image2.
I changed the image that I was loading (from image1 to image2) and then sent the emails again, but the image1 was displayed. This happened for the next 5-6 emails when image2 wasn't displayed. I tried running the script through the browser before I sent any emails and it loaded image2.
I then cleared the cache and resent the emails and then I could see image2.
My question is - Does chrome cache scripts and emails along with images?
Is caching the reason why I couldn't see the images or might there be some other reason?
Thanks
EDIT:
I tried switching back to image1 again. Worked when run in the browser. But in the first attempt in the emails, I still saw the Image2. After clearing the cache, only windows live mail showed image1. Gmail still showed image2.
Any ideas?
EDIT:
After 5-6 more emails, still looking at image2 in gmail. What's going on here?
EDIT:
Finally after deleting the old threads in gmail and closing and opening it again, I can see image1