note 30704 rejected from ref.mail by stone
| From: | stone@php.net | Date: | Sat, 28 Jun 2003 22:12:52 +0000 |
| Subject: | note 30704 rejected from ref.mail by stone | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-51154@lists.php.net to get a copy of this message | ||
Note Submitter: msg000@hotmail.com
----
I have been trying for several hours to attach a file to my email form. I was able to attach a file
that is present in the www root directory easily. I viewed the mail and the attachment. however,
when i try to attach a file from my PC I get an error. If somebody would help me in this since in
all the above notes, I didn't find any note that states how should the path of a file found on
the user's PC be written to be attached to a file.
I am trying to write the following:
<?
...
$attachment = "c:\\resume.doc";
$newmail = new CMailFile($subject,$to,$from,$message,$attachment,$mimetype);
$newmail->sendfile();
?>
Any help would be appreciated
Thank u in advance