Re: Serving an image
| From: | viper | Date: | Tue, 16 Oct 2012 06:54:42 +0000 |
| Subject: | Re: Serving an image | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-319473@lists.php.net to get a copy of this message | ||
On Tue, Oct 16, 2012 at 7:40 AM, Jan Ehrhardt <phpdev@ehrhardt.nl> 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/