I use SMTP succesfully in Drupal 5.8, but an error is produced in 6.4, using the same server and configuration.
For 5.8 the smtp version is 5.x-1.0
For 6.4. the smtp version is 6.x-1.x-dev
Why appears smtp1.ugr.es as server if I entered smtp.ugr.es????
This is the debugging information:
SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "220 smtp1.ugr.es ESMTP Postfix " SMTP -> get_lines(): $data is "220 smtp1.ugr.es ESMTP Postfix " SMTP -> FROM SERVER: 220 smtp1.ugr.es ESMTP Postfix SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "250-smtp1.ugr.es " SMTP -> get_lines(): $data is "250-smtp1.ugr.es " SMTP -> get_lines(): $data was "250-smtp1.ugr.es " SMTP -> get_lines(): $str is "250-PIPELINING " SMTP -> get_lines(): $data is "250-smtp1.ugr.es 250-PIPELINING " SMTP -> get_lines(): $data was "250-smtp1.ugr.es 250-PIPELINING " SMTP -> get_lines(): $str is "250-SIZE 10240000 " SMTP -> get_lines(): $data is "250-smtp1.ugr.es 250-PIPELINING 250-SIZE 10240000 " SMTP -> get_lines(): $data was "250-smtp1.ugr.es 250-PIPELINING 250-SIZE 10240000 " SMTP -> get_lines(): $str is "250-VRFY " SMTP -> get_lines(): $data is "250-smtp1.ugr.es 250-PIPELINING 250-SIZE 10240000 250-VRFY " SMTP -> get_lines(): $data was "250-smtp1.ugr.es 250-PIPELINING 250-SIZE 10240000 250-VRFY " SMTP -> get_lines(): $str is "250-ETRN " SMTP -> get_lines(): $data is "250-smtp1.ugr.es 250-PIPELINING 250-SIZE 10240000 250-VRFY 250-ETRN " SMTP -> get_lines(): $data was "250-smtp1.ugr.es 250-PIPELINING 250-SIZE 10240000 250-VRFY 250-ETRN " SMTP -> get_lines(): $str is "250 8BITMIME " SMTP -> get_lines(): $data is "250-smtp1.ugr.es 250-PIPELINING 250-SIZE 10240000 250-VRFY 250-ETRN 250 8BITMIME " SMTP -> FROM SERVER: 250-smtp1.ugr.es 250-PIPELINING 250-SIZE 10240000 250-VRFY 250-ETRN 250 8BITMIME SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "503 Error: authentication not enabled " SMTP -> get_lines(): $data is "503 Error: authentication not enabled " SMTP -> ERROR: AUTH not accepted from server: 503 Error: authentication not enabled SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "250 Ok " SMTP -> get_lines(): $data is "250 Ok " SMTP -> FROM SERVER: 250 Ok
Thanks
Comments
Comment #1
oadaeh commentedThe code in the 6.x and 5.x versions of this module is very different. Saying you get an error in one, but not the other doesn't really mean anything.
Your provider probably has multiple mail servers and smtp.ugr.es is an alias that gets redirected to one of a number of other servers. That's not uncommon.
I'm guessing that the server doesn't require authentication, but you have provided a username and password in the settings page. Try clearing those two items at Administer -> Site configuration -> SMTP Authentication Support (admin/settings/smtp) and see if that fixes your problem. If that's not it, try it the other way and add your username and password on that page.
Comment #2
jparets commentedThank you, it works fine. The SMTP server does not requires authentication.
If you have a minute, could you explain me what is the difference between 5.x and 6.x versions (at a conceptual level). My confusion was originated because 5.x works when the authentication parameters are provided in the SMTP administration page.
Thank you again.
José
Comment #3
simon georges commentedReclassifying as "support request" as there finally is no bug.
Comment #4
akalata commented