How to attach a file to mail()
| From: | Davíð Örn Jóhannsson | Date: | Fri, 03 Jan 2003 13:40:48 +0000 |
| Subject: | How to attach a file to mail() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-130091@lists.php.net to get a copy of this message | ||
mail($to, $subject, $body, "From: $email");
how do I insert an attachment into this mail function, It would be
submitted with file field and would be called attachment.
Regards, David