Click to See Complete Forum and Search --> : attach a file


moiseszaragoza
02-24-2006, 10:49 AM
I was wandering if there is a way I can attach a file when I use the mail function


$sendto="myEmail@domain.com";
$Subjet="This will send a file";
$Content="Message";
$File="File path on the server";

mail($sendto, $Subjet, $Content)

How do i attach a file?