Posted by Manuel Lemos on 06/09/05 00:54
Hello,
on 06/07/2005 04:10 PM Captain Dondo said the following:
> Anyone know of a repository of PHP code snippets? I am a complete
> newbie at PHP, and I am looking for some basic basic PHP stuff.
>
> Right now I am trying to locate a snippet that will email a file - not a
> link to a file, but the file itself. I would prefer to invoke the MUA
> rather than use a form, but I need to send the file as an attachment.
You may want to take a look at this class available in the PHP classes
repository for composing and sending messages which comes with a simple
example to attach any files you want.
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
[Back to original message]
|