Re: Sending Attachment through Email

From: Date: Mon, 25 Nov 2002 16:02:37 +0000
Subject: Re: Sending Attachment through Email
Groups: php.windows 
Request: Send a blank email to php-windows+get-17115@lists.php.net to get a copy of this message
If you check the documentation for the 'mail' function: http://www.php.net/manual/en/function.mail.php You'll see that it points to these references: http://www.zend.com/zend/spotlight/sendmimeemailpart1.php http://pear.php.net/package-info.php?pacid=21 Which explain how to use the 'mail' function to send multipart MIME messages... in other words, emails with attachments. Its kind of a pain to assemble it all by hand like the Zend article shows, so I'd use the PEAR code. Still... its an interesting read. -- Brian 'Bex' Huff bex@stellent.com Phone: 952-903-2023 Fax: 952-829-5424 > hi, > > can any body tell that what directive or headers should be used in > the mail function if i want to send an attachment via email, > > i have simple email composer form with SendTo, SendFrom,Subject , > Body and Attachment(input type=file) Fields > and server side form, where i get all the fields. and then send the > email. > > thanx in advance

« previous php.windows (#17115) next »