[PHP-DB] RE: Mailing Attachments (like csv file)

2004-11-04 Thread Terri Slater
Hi all,
  Does anyone know of a good php script to e-mail attachments, like a 
csv file?  I want it to come across as an attachment so that it shows as 
one in the mail client.

--
Terri Slater
Web Programmer
Washburn University
785-231-1010 ext 2302
* * * Except for Fascism, Nazism and Communism, war has never solved anything.  * * *
* * * Imagine, if you will, a world without hypothetical situations. * * *

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

[PHP-DB] Re: Mailing Attachments (like csv file)

2004-11-04 Thread Manuel Lemos
Hello,
On 11/04/2004 12:46 PM, Terri Slater wrote:
  Does anyone know of a good php script to e-mail attachments, like a 
csv file?  I want it to come across as an attachment so that it shows as 
one in the mail client.
You may want to try this class that lets you compose and send messages 
with as many attachments as you want.

Just take a look at the attachment sending example, and in the 
Content-Type attachment definition change from automatic/name to 
application/octet-stream  .

http://www.phpclasses.org/mimemessage
--
Regards,
Manuel Lemos
PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/
PHP Reviews - Reviews of PHP books and other products
http://www.phpclasses.org/reviews/
Metastorage - Data object relational mapping layer generator
http://www.meta-language.net/metastorage.html
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php