Guest User

Untitled

a guest
Sep 18th, 2018
142
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. Subject: =?iso-8859-1?Q?Email_Test?=
  19. Reply-To: "[email protected]"
  20. X-Mailer: CodeIgniter
  21. X-Priority: 3 (Normal)
  22. Message-ID: <[email protected]>
  23. Mime-Version: 1.0
  24.  
  25. $config = Array(
  26. 'protocol' => 'smtp',
  27. 'smtp_host' => 'smtp.googlemail.com',
  28. 'smtp_port' => 465,
  29. 'smtp_user' => '[email protected]',
  30. 'smtp_pass' => '****',
  31. 'mailtype' => 'html',
  32. 'charset' => 'iso-8859-1'
  33. );
  34. $this->load->library('email', $config);
  35.  
  36. $this->email->from('[email protected]','Rapphie');
  37. $this->email->to($email,'Charmie');
  38. $this->email->subject('Email Test');
  39. $this->email->message('Testing the email class.');
  40.  
  41. $this->email->send();
  42.  
  43. echo $this->email->print_debugger();
  44.  
  45. 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