Re: Serving an image

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

 




viper <recursivepointer@xxxxxxxxx> hat am 16. Oktober 2012 um 08:54 geschrieben:
> 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'));.">';

Actually this is bad practice ... it blows up your code.
Use attachments for that.

>
> (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
>
Marco Behnke
Dipl. Informatiker (FH), SAE Audio Engineer Diploma
Zend Certified Engineer PHP 5.3

Tel.: 0174 / 9722336
e-Mail: marco@xxxxxxxxxx

Softwaretechnik Behnke
Heinrich-Heine-Str. 7D
21218 Seevetal

http://www.behnke.biz

-- 
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