// values are just samples…
$to = “$inq_email”;
$subject = “Form Inquiry”;
$headers = ‘From: John Martel ‘ . “\r\n”;
$target_path = array(WP_CONTENT_DIR . ‘/uploads/sample1.pdf’);
array_push($target_path, WP_CONTENT_DIR . ‘/uploads/sample2.zip’);
$message = “
Thank you {$inq_name} for your inquiry and we will contact you as soon as we reviewed your message.
“;
if(wp_mail($to, $subject, $message, $headers, $target_path)) { echo ‘email success’; } else { echo ‘did not send’; }