Guest User

Untitled

a guest
Jul 26th, 2016
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.46 KB | None | 0 0
  1. $this->load->library('email');
  2.  
  3. $subject = "Test Mail with check";
  4. $fromemail ="[email protected]";
  5. $toemail = "[email protected]";
  6.  
  7. $this->email->to($toemail);
  8. $this->email->cc($cc);
  9. $this->email->bcc($bcc);
  10. $this->email->from($fromemail, "$subject");
  11. $this->email->subject($subject);
  12. $this->email->message($mesg);
  13.  
  14. $mail = $this->email->send();
  15.  
  16. echo $this->email->print_debugger();
  17.  
  18. var $useragent = "CodeIgniter";
  19. var $mailpath = "/usr/sbin/sendmail";
  20. var $protocol = "sendmail";
  21. var $smtp_host = "ssl://smtp.gmail.com";
  22. var $smtp_user = "[email protected]";
  23. var $smtp_pass = "******";
  24. var $smtp_port = "587";
  25. var $smtp_timeout = 5;
  26. var $smtp_crypto = "";
  27. var $wordwrap = TRUE;
  28. var $wrapchars = "76";
  29. var $mailtype = "html";
  30. var $charset = "utf-8";
  31. var $multipart = "mixed";
  32. var $alt_message = '';
  33. var $validate = FALSE;
  34. var $priority = "3";
  35. var $newline = "rn";
  36. var $crlf = "rn";
  37.  
  38. Your message has been successfully sent using the following protocol: sendmail
  39. From: "Test Mail with check" <[email protected]>
  40. Return-Path: <[email protected]>
  41. Subject: =?utf-8?Q?Test_Mail_with_check?=
  42. X-Mailer: CodeIgniter
  43. X-Priority: 3 (Normal)
  44. Message-ID: <[email protected]>
  45. Mime-Version: 1.0
  46.  
  47.  
  48. Content-Type: multipart/alternative; boundary="B_ALT_5797207b716d4"
  49.  
  50. This is a multi-part message in MIME format.
  51. Your email application may not support this format.
  52.  
  53. --B_ALT_5797207b716d4
  54. Content-Type: text/plain; charset=utf-8
  55. Content-Transfer-Encoding: 8bit
  56.  
  57. This is testing Mail
  58.  
  59.  
  60. --B_ALT_5797207b716d4
  61. Content-Type: text/html; charset=utf-8
  62. Content-Transfer-Encoding: quoted-printable
  63.  
  64. This is testing Mail
  65.  
  66. --B_ALT_5797207b716d4--
Advertisement
Add Comment
Please, Sign In to add comment