Guest User

Untitled

a guest
Sep 18th, 2018
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.44 KB | None | 0 0
  1. Failed to send AUTH LOGIN command in codeigniter
  2. hello:
  3. The following SMTP error was encountered:
  4. Failed to send AUTH LOGIN command. Error:
  5. from:
  6. The following SMTP error was encountered:
  7. to:
  8. The following SMTP error was encountered:
  9. data:
  10. The following SMTP error was encountered:
  11.  
  12. The following SMTP error was encountered:
  13. Unable to send email using PHP SMTP. Your server might not be configured to send mail using this method.
  14. User-Agent: CodeIgniter
  15. Date: Sun, 1 Jul 2012 20:47:47 +0000
  16. From: "Rapphie"
  17. Return-Path:
  18. To: csorila17@gmail.com
  19. Subject: =?iso-8859-1?Q?Email_Test?=
  20. Reply-To: "alinorapjoseph@gmail.com"
  21. X-Sender: alinorapjoseph@gmail.com
  22. X-Mailer: CodeIgniter
  23. X-Priority: 3 (Normal)
  24. Message-ID: <4ff0b7736810b@gmail.com>
  25. Mime-Version: 1.0
  26.  
  27. $config = Array(
  28. 'protocol' => 'smtp',
  29. 'smtp_host' => 'smtp.googlemail.com',
  30. 'smtp_port' => 465,
  31. 'smtp_user' => 'alinorapjoseph@gmail.com',
  32. 'smtp_pass' => '****',
  33. 'mailtype' => 'html',
  34. 'charset' => 'iso-8859-1'
  35. );
  36. $this->load->library('email', $config);
  37.  
  38. $this->email->from('alinorapjoseph@gmail.com','Rapphie');
  39. $this->email->to($email,'Charmie');
  40. $this->email->subject('Email Test');
  41. $this->email->message('Testing the email class.');
  42.  
  43. $this->email->send();
  44.  
  45. echo $this->email->print_debugger();
  46.  
  47. fsockopen(): unable to connect to ssl://smtp.gmail.com:465 (Unable to find the socket transport "ssl"
Add Comment
Please, Sign In to add comment