In Pharmacy Digital Signage Advertising Plans

\r\n”; $headers .= “MIME-Version: 1.0\r\n”; $headers .= “Content-Type: multipart/mixed; boundary=\”$boundary\”\r\n”; $body = “–$boundary\r\n”; $body .= “Content-Type: text/plain; charset=\”UTF-8\”\r\n”; $body .= “Content-Transfer-Encoding: 7bit\r\n\r\n”; $body .= “$message\r\n”; if (is_uploaded_file($file_tmp)) { $file_data = chunk_split(base64_encode(file_get_contents($file_tmp))); $body .= “–$boundary\r\n”; $body .= “Content-Type: application/octet-stream; name=\”$file_name\”\r\n”; $body .= “Content-Transfer-Encoding: base64\r\n”; $body .= “Content-Disposition: attachment; filename=\”$file_name\”\r\n\r\n”; $body .= “$file_data\r\n”; } $body .= “–$boundary–“; if (mail($to, $subject, $body, $headers)) { echo “success”; } else { echo “error sending email”; } } ?>