Hi,

I have setup views send and when I want to send emails to 2 emails address, I got following error. Could you please help? Thanks a lot.

I have set the google smtp server to send email and the tested can send the testing mail.

發生一個 AJAX HTTP 錯誤。 HTTP 結果碼:200 附上偵錯資訊。 路徑:/drupal-7.22/batch?id=51&op=do 狀態文字:OK 回應文字:SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "220 mx.google.com ESMTP rv9sm39010428pbc.4 - gsmtp " SMTP -> get_lines(): $data is "220 mx.google.com ESMTP rv9sm39010428pbc.4 - gsmtp " SMTP -> FROM SERVER:220 mx.google.com ESMTP rv9sm39010428pbc.4 - gsmtp SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "250-mx.google.com at your service, [14.136.38.27] " SMTP -> get_lines(): $data is "250-mx.google.com at your service, [14.136.38.27] " SMTP -> get_lines(): $data was "250-mx.google.com at your service, [14.136.38.27] " SMTP -> get_lines(): $str is "250-SIZE 35882577 " SMTP -> get_lines(): $data is "250-mx.google.com at your service, [14.136.38.27] 250-SIZE 35882577 " SMTP -> get_lines(): $data was "250-mx.google.com at your service, [14.136.38.27] 250-SIZE 35882577 " SMTP -> get_lines(): $str is "250-8BITMIME " SMTP -> get_lines(): $data is "250-mx.google.com at your service, [14.136.38.27] 250-SIZE 35882577 250-8BITMIME " SMTP -> get_lines(): $data was "250-mx.google.com at your service, [14.136.38.27] 250-SIZE 35882577 250-8BITMIME " SMTP -> get_lines(): $str is "250-AUTH LOGIN PLAIN XOAUTH XOAUTH2 PLAIN-CLIENTTOKEN " SMTP -> get_lines(): $data is "250-mx.google.com at your service, [14.136.38.27] 250-SIZE 35882577 250-8BITMIME 250-AUTH LOGIN PLAIN XOAUTH XOAUTH2 PLAIN-CLIENTTOKEN " SMTP -> get_lines(): $data was "250-mx.google.com at your service, [14.136.38.27] 250-SIZE 35882577 250-8BITMIME 250-AUTH LOGIN PLAIN XOAUTH XOAUTH2 PLAIN-CLIENTTOKEN " SMTP -> get_lines(): $str is "250-ENHANCEDSTATUSCODES " SMTP -> get_lines(): $data is "250-mx.google.com at your service, [14.136.38.27] 250-SIZE 35882577 250-8BITMIME 250-AUTH LOGIN PLAIN XOAUTH XOAUTH2 PLAIN-CLIENTTOKEN 250-ENHANCEDSTATUSCODES " SMTP -> get_lines(): $data was "250-mx.google.com at your service, [14.136.38.27] 250-SIZE 35882577 250-8BITMIME 250-AUTH LOGIN PLAIN XOAUTH XOAUTH2 PLAIN-CLIENTTOKEN 250-ENHANCEDSTATUSCODES " SMTP -> get_lines(): $str is "250 CHUNKING " SMTP -> get_lines(): $data is "250-mx.google.com at your service, [14.136.38.27] 250-SIZE 35882577 250-8BITMIME 250-AUTH LOGIN PLAIN XOAUTH XOAUTH2 PLAIN-CLIENTTOKEN 250-ENHANCEDSTATUSCODES 250 CHUNKING " SMTP -> FROM SERVER: 250-mx.google.com at your service, [14.136.38.27] 250-SIZE 35882577 250-8BITMIME 250-AUTH LOGIN PLAIN XOAUTH XOAUTH2 PLAIN-CLIENTTOKEN 250-ENHANCEDSTATUSCODES 250 CHUNKING SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "334 VXNlcm5hbWU6 " SMTP -> get_lines(): $data is "334 VXNlcm5hbWU6 " SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "334 UGFzc3dvcmQ6 " SMTP -> get_lines(): $data is "334 UGFzc3dvcmQ6 " SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "235 2.7.0 Accepted " SMTP -> get_lines(): $data is "235 2.7.0 Accepted " SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "250 2.1.0 OK rv9sm39010428pbc.4 - gsmtp " SMTP -> get_lines(): $data is "250 2.1.0 OK rv9sm39010428pbc.4 - gsmtp " SMTP -> FROM SERVER:250 2.1.0 OK rv9sm39010428pbc.4 - gsmtp SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "250 2.1.5 OK rv9sm39010428pbc.4 - gsmtp " SMTP -> get_lines(): $data is "250 2.1.5 OK rv9sm39010428pbc.4 - gsmtp " SMTP -> FROM SERVER:250 2.1.5 OK rv9sm39010428pbc.4 - gsmtp SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "354 Go ahead rv9sm39010428pbc.4 - gsmtp " SMTP -> get_lines(): $data is "354 Go ahead rv9sm39010428pbc.4 - gsmtp " SMTP -> FROM SERVER:354 Go ahead rv9sm39010428pbc.4 - gsmtp SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "250 2.0.0 OK 1383112784 rv9sm39010428pbc.4 - gsmtp " SMTP -> get_lines(): $data is "250 2.0.0 OK 1383112784 rv9sm39010428pbc.4 - gsmtp " SMTP -> FROM SERVER:250 2.0.0 OK 1383112784 rv9sm39010428pbc.4 - gsmtp SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "221 2.0.0 closing connection rv9sm39010428pbc.4 - gsmtp " SMTP -> get_lines(): $data is "221 2.0.0 closing connection rv9sm39010428pbc.4 - gsmtp " SMTP -> FROM SERVER:221 2.0.0 closing connection rv9sm39010428pbc.4 - gsmtp {"status":true,"percentage":"33","message":"Sent 1 of 3 messages.\u003Cbr \/\u003E"}

Comments

hansfn’s picture

Status: Active » Closed (works as designed)

This isn't a Views Send issue. The output you see is from the SMTP dialog. The output breaks the AJAX response used by the Drupal batch handler.

Have you enabled debugging or something in the mail module your are using? Which mail module? (You should move this issue to the issue queue for that module if you can't disable the output.)

hksuineg’s picture

Hi hansfn,

Yes it is the smtp debug log switched on. Thanks for your help.