Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> PHPMailer - problem z TLS
Tibod
post 18.04.2012, 09:15:14
Post #1





Grupa: Zarejestrowani
Postów: 108
Pomógł: 2
Dołączył: 9.05.2007
Skąd: INTERNET

Ostrzeżenie: (0%)
-----


Witam,

Od wczoraj walczę z konfiguracją wysyłania mailu z mantisa przez phpmailera.

Dostęp przez smtp jest możliwy ponieważ udało mi się skonfigurować poprawnie działającego outlooka dla danego konta. Serwer (prawdopodobnie exchange 2010) wymaga tlsa.

Poniżej zrzut debuga z phpmailera.

  1. Sending emails... ## 001 #### 002 #### 003 ##
  2.  
  3. SMTP -> get_lines(): $data was ""
  4. SMTP -> get_lines(): $str is "220 hostname.local Microsoft ESMTP MAIL Service ready at Wed, 18 Apr 2012 11:07:33 +0300 "
  5. SMTP -> get_lines(): $data is "220 hostname.local Microsoft ESMTP MAIL Service ready at Wed, 18 Apr 2012 11:07:33 +0300 "
  6. SMTP -> FROM SERVER:220 hostname.local Microsoft ESMTP MAIL Service ready at Wed, 18 Apr 2012 11:07:33 +0300
  7. SMTP -> get_lines(): $data was ""
  8. SMTP -> get_lines(): $str is "250-hostname.local Hello [192.168.0.13] "
  9. SMTP -> get_lines(): $data is "250-hostname.local Hello [192.168.0.13] "
  10. SMTP -> get_lines(): $data was "250-hostname.local Hello [192.168.0.13] "
  11. SMTP -> get_lines(): $str is "250-SIZE 10485760 "
  12. SMTP -> get_lines(): $data is "250-hostname.local Hello [192.168.0.13] 250-SIZE 10485760 "
  13. SMTP -> get_lines(): $data was "250-hostname.local Hello [192.168.0.13] 250-SIZE 10485760 "
  14. SMTP -> get_lines(): $str is "250-PIPELINING "
  15. SMTP -> get_lines(): $data is "250-hostname.local Hello [192.168.0.13] 250-SIZE 10485760 250-PIPELINING "
  16. SMTP -> get_lines(): $data was "250-hostname.local Hello [192.168.0.13] 250-SIZE 10485760 250-PIPELINING "
  17. SMTP -> get_lines(): $str is "250-DSN "
  18. SMTP -> get_lines(): $data is "250-hostname.local Hello [192.168.0.13] 250-SIZE 10485760 250-PIPELINING 250-DSN "
  19. SMTP -> get_lines(): $data was "250-hostname.local Hello [192.168.0.13] 250-SIZE 10485760 250-PIPELINING 250-DSN "
  20. SMTP -> get_lines(): $str is "250-ENHANCEDSTATUSCODES "
  21. SMTP -> get_lines(): $data is "250-hostname.local Hello [192.168.0.13] 250-SIZE 10485760 250-PIPELINING 250-DSN 250-ENHANCEDSTATUSCODES "
  22. SMTP -> get_lines(): $data was "250-hostname.local Hello [192.168.0.13] 250-SIZE 10485760 250-PIPELINING 250-DSN 250-ENHANCEDSTATUSCODES "
  23. SMTP -> get_lines(): $str is "250-AUTH "
  24. SMTP -> get_lines(): $data is "250-hostname.local Hello [192.168.0.13] 250-SIZE 10485760 250-PIPELINING 250-DSN 250-ENHANCEDSTATUSCODES 250-AUTH "
  25. SMTP -> get_lines(): $data was "250-hostname.local Hello [192.168.0.13] 250-SIZE 10485760 250-PIPELINING 250-DSN 250-ENHANCEDSTATUSCODES 250-AUTH "
  26. SMTP -> get_lines(): $str is "250-8BITMIME "
  27. SMTP -> get_lines(): $data is "250-hostname.local Hello [192.168.0.13] 250-SIZE 10485760 250-PIPELINING 250-DSN 250-ENHANCEDSTATUSCODES 250-AUTH 250-8BITMIME "
  28. SMTP -> get_lines(): $data was "250-hostname.local Hello [192.168.0.13] 250-SIZE 10485760 250-PIPELINING 250-DSN 250-ENHANCEDSTATUSCODES 250-AUTH 250-8BITMIME "
  29. SMTP -> get_lines(): $str is "250-BINARYMIME "
  30. SMTP -> get_lines(): $data is "250-hostname.local Hello [192.168.0.13] 250-SIZE 10485760 250-PIPELINING 250-DSN 250-ENHANCEDSTATUSCODES 250-AUTH 250-8BITMIME 250-BINARYMIME "
  31. SMTP -> get_lines(): $data was "250-hostname.local Hello [192.168.0.13] 250-SIZE 10485760 250-PIPELINING 250-DSN 250-ENHANCEDSTATUSCODES 250-AUTH 250-8BITMIME 250-BINARYMIME "
  32. SMTP -> get_lines(): $str is "250 CHUNKING "
  33. SMTP -> get_lines(): $data is "250-hostname.local Hello [192.168.0.13] 250-SIZE 10485760 250-PIPELINING 250-DSN 250-ENHANCEDSTATUSCODES 250-AUTH 250-8BITMIME 250-BINARYMIME 250 CHUNKING "
  34. SMTP -> FROM SERVER: 250-hostname.local Hello [192.168.0.13] 250-SIZE 10485760 250-PIPELINING 250-DSN 250-ENHANCEDSTATUSCODES 250-AUTH 250-8BITMIME 250-BINARYMIME 250 CHUNKING
  35. SMTP -> get_lines(): $data was ""
  36. SMTP -> get_lines(): $str is "500 5.3.3 Unrecognized command "
  37. SMTP -> get_lines(): $data is "500 5.3.3 Unrecognized command "
  38. SMTP -> FROM SERVER:500 5.3.3 Unrecognized command
  39. SMTP -> ERROR: STARTTLS not accepted from server: 500 5.3.3 Unrecognized command
  40. SMTP -> get_lines(): $data was ""
  41. SMTP -> get_lines(): $str is "250 2.0.0 Resetting "
  42. SMTP -> get_lines(): $data is "250 2.0.0 Resetting "
  43. SMTP -> FROM SERVER:250 2.0.0 Resetting
  44.  
  45. exception 'phpmailerException' with message 'Language string failed to load: tls' in C:\WWW\mantis\library\phpmailer\class.phpmailer.php:804 Stack trace: #0 C:\WWW\mantis\library\phpmailer\class.phpmailer.php(705): PHPMailer->SmtpConnect() #1 C:\WWW\mantis\library\phpmailer\class.phpmailer.php(576): PHPMailer->SmtpSend('Date: Wed, 18 A...', '?Nast??puj??ce ...') #2 C:\WWW\mantis\core\email_api.php(1007): PHPMailer->Send() #3 C:\WWW\mantis\core\email_api.php(848): email_send(Object(EmailData)) #4 C:\WWW\mantis\scripts\send_emails.php(35): email_send_all() #5 {main}
  46. ## 004 ####err2Done.


Powoli kończą mi się kombinacje więc będę wdzięczny za wszelki nakierowujące informacje.

PS. W innym module mantisa korzystam z tej samej skrzynki do pobierania wiadomości i działa ok.


--------------------
"There are only 10 types of people in the world: Those who understand binary, and those who don't"
Go to the top of the page
+Quote Post
erix
post 20.04.2012, 12:54:10
Post #2





Grupa: Moderatorzy
Postów: 15 467
Pomógł: 1451
Dołączył: 25.04.2005
Skąd: Szczebrzeszyn/Rzeszów




Na pewno z TLS? A nie SSL?


--------------------

ZCE :: Pisząc PW załączaj LINK DO TEMATU i TYLKO w sprawach moderacji :: jakiś błąd - a TREŚĆ BŁĘDU? :: nie ponaglaj z odpowiedzią via PW!
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 1.05.2025 - 04:21