Re: Embedded Image from Database

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

 



On Wed, May 23, 2007 9:09 am, Bagus Nugroho wrote:
> I was trying to put embedded image on HTML Mail using PHP Mailer, my
> problem is my image does not located on filesystem but located within
> MySQL Server.
>
> How I can put image from database into HTML Mail.

Well, it's got to get attacehd to the email and assigned a cid: just
like any embedded image in HTML Enhanced (cough cough) email...

Where's the problem?...

I have no idea how PHP Mailer works, but it shouldn't be TOO hard to
track down where it adds in the file and gives it a cid: and hack that
to use MySQL instead of file-system.

Or, if it is, toss the file into a temporary location out of mysql and
then erase it after the email is composed and sent.

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

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