Re: Serving an image

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 16, 2012 at 7:40 AM, Jan Ehrhardt <phpdev@xxxxxxxxxxx> wrote:
> Many receiving e-mail clients will not show external images. External
> images are used by spammers to trach if a message is read.

true;

you could embed images in email..
http://www.campaignmonitor.com/blog/post/1761/embedding-images-in-email/

so you could use this (or similar) to write the email:
echo '<img src="data:image/png;base64,'.base64_encode(file_get_contents('test.png'));.">';

(i don't know if it works :D  )


viper

-- 
+  http://vipertechnology.dyndns.org
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments
+  http://vipertechnology.dyndns.org/cotnact/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux