hey developers,
I have a ton of upcoming projects that require attaching files (.docs, .pdf, and .jpg) to emails once they submit a form.
Any ideas on how to set this up?
Should it go into the
<?php
$mailbody.="";
?>
or does it go in the send mail function -
<?php
mail("$email", "$emailsubject", "$mailbody", "From: $from_who");
?>
Thanks a bunch in advance!