Hmm? The article explains exactly how to do it. You can make a multipart MIME e-mail where the first part is the message, and the 2nd part is the file attachment (and more parts for additional files). The file data is encoded using base64 encoding in this example. You just need to create the message body as it shows in the tutorial and then use PHP's mail() function to send it.
-Mike At 08:45 AM 4/8/02 +0100, George Pitcher wrote: >Darvin Andrioli suggested, on 20020328: > > > http://www.zend.com/zend/spotlight/sendmimeemailpart1.php > >Sorry, I was none the wiser after reading this article, as to how to get php >to send an attachment with an email message. The attachment in this case is >being generated from db output and saved as a 'csv' file. > >George -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php