SHARE
TWEET

Untitled

Wolfspring Mar 26th, 2020 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         $mail_data = get_table($statusType, $mID, $_USER);
  2.  
  3.         $subj = "=?UTF-8?B?" . base64_encode($mail_data['subject']) . "?=";
  4.  
  5.         $res = mail('mail1@mail.eu,mail1@mail.eu', $subj, $mail_data['content'], $headers);
  6.  
  7.         $query_log = "INSERT INTO `sales_lead_mail_log_copy2` (`mID`,`reciever`,`subject`,`sent`,`in_date`,`by_user`) VALUES
  8.             ('" . $mID . "', '" . $mail_data['to'] . "', '" . $mail_data['subject'] . "', '" . $res . "', now(), '" . $_USER . "' ) ";
  9.         mysql_query($query_log) or die(mysql_error() . '<br/> with query:' . $query_log);
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
Top