hi i have attached a mail_attachment file which contains the mail function in my code i have used the below code
<?
include 'mail_attachment.php';
$sent = mail_attachment($from, $to, $subject1, $body1, $attachment);?>
when i tried printing the variable ..........all the values are getting printed but the mail function is not working
it is not working.showing 2 warning
Warning: filesize() [function.filesize]: stat failed for http://www.website.com/profiles/resumes/158/llllll.doc in /home/website/public_html/mail_attachment.php on line 17
Warning: fread() [function.fread]: Length parameter must be greater than 0 in /home/website/public_html/mail_attachment.php on line 17