Email Attachment Creation

a guest Feb 21st, 2020 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         $email_content .= "--$mime_boundary\r\n";
  2.         $email_content .= "Content-Type: $file_type; name=".$short_name."\r\n";
  3.         $email_content .= "Content-Disposition: attachment; filename=".$short_name."\r\n";
  4.         $email_content .= "Content-Transfer-Encoding: base64\r\n";
  5.         $email_content .= $data . "\r\n";
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand