Sending file stored on server via email - How?
| From: | Mailing Lists) | Date: | Mon, 08 Jan 2007 08:06:16 +0000 |
| Subject: | Sending file stored on server via email - How? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-246736@lists.php.net to get a copy of this message | ||
Hello everyone,
I store files on the server (.pdf, .doc, .txt, etc.) which are
referenced by entries in a database. The filenames are only stored in
the database and are not BLOBs.
What I'd like to do is to be able to show a web form wherein a user
can choose stored documents on the server and send it to an email.
What's the easiest way to go about this? Specifically, what's the
easiest way to read a file from the server and send it as an email
attachment.
Best Regards,
Matt
--
Stand before it and there is no beginning.
Follow it and there is no end.
Stay with the ancient Tao,
Move with the present.