Re: PDF BLOB to Email

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

 



Am 2006-05-11 14:21:07, schrieb Adrian Bruce:
> Hi
> 
> I have pdf's stored as a blob in a MySQL database, how can i set a 
> script (PHP obviously!) to email these blobs as pdf files.  The only way 
> i can think of at the moment is to write them to disk and then attach 
> them to the mail before sending it.  This doesn't seem that efficient 
> but perhaps it is the only way??

Whay not create the E-Mail in memory and the echo it into "sendmail -t"

This is what I do... 
The temporary files laying around (like after crasches or $USER abort)

Greetings
    Michelle Konzack


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/6/61925193    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux