have a custom form related question as to attaching files and emailing them on.
In my fieldset I have:
new FileField ('CV','Upload your CV')
I am using php's mail function to send the email:
mail($email, $subject, $message, "From: ". $data['Email']);
and am unsure as to how I would include this attachment with the email. Does it have to go in as header information? Another solution if at all possible would be if the file could be uploaded so that it can appear in the Files and Images section in the CMS. Anyone know?