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.
Sending emails... ## 001 #### 002 #### 003 ## SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "220 hostname.local Microsoft ESMTP MAIL Service ready at Wed, 18 Apr 2012 11:07:33 +0300 " SMTP -> get_lines(): $data is "220 hostname.local Microsoft ESMTP MAIL Service ready at Wed, 18 Apr 2012 11:07:33 +0300 " SMTP -> FROM SERVER:220 hostname.local Microsoft ESMTP MAIL Service ready at Wed, 18 Apr 2012 11:07:33 +0300 SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "250-hostname.local Hello [192.168.0.13] " SMTP -> get_lines(): $data is "250-hostname.local Hello [192.168.0.13] " SMTP -> get_lines(): $data was "250-hostname.local Hello [192.168.0.13] " SMTP -> get_lines(): $str is "250-SIZE 10485760 " SMTP -> get_lines(): $data is "250-hostname.local Hello [192.168.0.13] 250-SIZE 10485760 " SMTP -> get_lines(): $data was "250-hostname.local Hello [192.168.0.13] 250-SIZE 10485760 " SMTP -> get_lines(): $str is "250-PIPELINING " SMTP -> get_lines(): $data is "250-hostname.local Hello [192.168.0.13] 250-SIZE 10485760 250-PIPELINING " SMTP -> get_lines(): $data was "250-hostname.local Hello [192.168.0.13] 250-SIZE 10485760 250-PIPELINING " SMTP -> get_lines(): $str is "250-DSN " SMTP -> get_lines(): $data is "250-hostname.local Hello [192.168.0.13] 250-SIZE 10485760 250-PIPELINING 250-DSN " SMTP -> get_lines(): $data was "250-hostname.local Hello [192.168.0.13] 250-SIZE 10485760 250-PIPELINING 250-DSN " SMTP -> get_lines(): $str is "250-ENHANCEDSTATUSCODES " SMTP -> get_lines(): $data is "250-hostname.local Hello [192.168.0.13] 250-SIZE 10485760 250-PIPELINING 250-DSN 250-ENHANCEDSTATUSCODES " SMTP -> get_lines(): $data was "250-hostname.local Hello [192.168.0.13] 250-SIZE 10485760 250-PIPELINING 250-DSN 250-ENHANCEDSTATUSCODES " SMTP -> get_lines(): $str is "250-AUTH " SMTP -> get_lines(): $data is "250-hostname.local Hello [192.168.0.13] 250-SIZE 10485760 250-PIPELINING 250-DSN 250-ENHANCEDSTATUSCODES 250-AUTH " SMTP -> get_lines(): $data was "250-hostname.local Hello [192.168.0.13] 250-SIZE 10485760 250-PIPELINING 250-DSN 250-ENHANCEDSTATUSCODES 250-AUTH " SMTP -> get_lines(): $str is "250-8BITMIME " 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 " 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 " SMTP -> get_lines(): $str is "250-BINARYMIME " 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 " 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 " SMTP -> get_lines(): $str is "250 CHUNKING " 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 " 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 SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "500 5.3.3 Unrecognized command " SMTP -> get_lines(): $data is "500 5.3.3 Unrecognized command " SMTP -> FROM SERVER:500 5.3.3 Unrecognized command SMTP -> ERROR: STARTTLS not accepted from server: 500 5.3.3 Unrecognized command SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "250 2.0.0 Resetting " SMTP -> get_lines(): $data is "250 2.0.0 Resetting " SMTP -> FROM SERVER:250 2.0.0 Resetting 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} ## 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.