I am trying to create a mail script that will also send an attachment. The code i have so far goes as follows...
// Mail form starts here
$to = "$email_addr";
$subject = "Your Hosting Information - $domain";
$body = "some message";
if (mail($to, $subject, $body))
echo("<p>Message delivery failed...</p>");
What code could I add to add an attachment?
Any help would be great!