Re: form mail with attachment
| From: | heinisch at creaction dot de | Date: | Sat, 13 Apr 2002 11:40:52 +0000 |
| Subject: | Re: form mail with attachment | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-92865@lists.php.net to get a copy of this message | ||
At 13.04.2002 03:17, you wrote:
i have this code for my form mail: <?php mail (webmaster@domain.com, "$subject", "From: $name\r\nEmail: $email\r\nWebsite: $website\r\nMessage: $message", "From: $email\r\n"); ?> i need to add an attachment file with the variable $file. what do i need to add in the code so that i will also be able to receive the attached file sent from the website? _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. Hi, can´t you delete this f*ing advertisment ;-)Look at http://www.php-resource.de/scripts.php?cat=list&caty=PHP&catTyp=Mail&CR=49&RL=20 scroll down to class mime_mail, and load it down. All you need (and only this). There are some other classes around, but this work fine(for me) and is real small. Sorry it´s a german link, but it was on page 2 of google. HTH Oliver