Code: Select all
<?php
$to = "webmaster@domain.com";
$subject = "Form Information";
//and so on...
$success = mail ($to, $subject, $from, $headers, $attachments)
if ($success)
print ("Sent Successfully");
else
print ("Error sending, please try again.");
?>My question is, is there such variable $attachment that can be used to attach an image to be sent?
Thanks,
Mman