Advertisement
Guest User

Untitled

a guest
Feb 27th, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. $to = '###@gmail.com';
  2.  
  3. $headers = 'MIME-Version: 1.0' . "rn";
  4. $headers .= 'Content-type: text/html; charset=iso-8859-1' . "rn";
  5. $headers .= "From: $from rn";
  6.  
  7.  
  8. $headers = array(
  9.  
  10. 'From' => "###@####.com",
  11.  
  12. 'Cc' => "####@gmail.com",
  13.  
  14. 'Subject' => "Your Reminder From Remindmeto.org",
  15.  
  16. );
  17.  
  18.  
  19.  
  20. $body = '<html><body>';
  21. $body .= '<h1>From the mists of memory I speak...</h1>';
  22. $body .= "$image";
  23. $body .= '</body></html>';
  24.  
  25.  
  26.  
  27. $mail = Mail::factory("mail");
  28.  
  29. $mail->send($to, $headers, $body);
  30.  
  31. $headers = 'MIME-Version: 1.0' . "rn";
  32. $headers .= 'Content-type: text/html; charset=iso-8859-1' . "rn";
  33. $headers .= "From: $from rn";
  34. $headers .= "Cc: ####@gmail.com rn";
  35. $headers .= "Subject: Your Reminder From Remindmeto.org rn";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement