Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Developing HTML email newsletter, refreshing Apple Mail

I'm developing an HTML newsletter system using PHP & PEAR. It sends out the emails fine.

However I cannot force Apple Mail to reload images from the server. I have tried:

  • Restarting Mail
  • Clear ~/Library/MailDownloads
  • Clear ~/Library/Cache/Mail
  • Empty Safari cache

Does any one know where Apple Mail caches the images ?

like image 719
William Macdonald Avatar asked Dec 16 '08 12:12

William Macdonald


2 Answers

Is adding a dummy query string to all image URLs an option for you?

<img src="http://example.com/images/hello.png?343882881923"/>

You'd simply update the query string to prevent the cached image from being used.

like image 135
Ates Goral Avatar answered Sep 30 '22 08:09

Ates Goral


You could use OnyX to clear all apps cache and also tune up other aspects of the OS.

like image 28
Leandro Ardissone Avatar answered Sep 30 '22 08:09

Leandro Ardissone