Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

SMTP Connect() error

More
9 years 3 months ago #137167 by josegovia
I have a problem with sending mail by SMTP. the error "SMTP Connect () error" appears when I send an email

I enabled the SMTP Debug in the email.php file that is in the "Config" screen directory but nothing comes out. Whereis the debug out?

I use the version 2.50+ Build 160219

Do you know what happend?

Thank you

José
The topic has been locked.
More
9 years 3 months ago #137168 by jelo
The topic has been locked.
More
9 years 3 months ago #137176 by DenisChenu
Replied by DenisChenu on topic SMTP Connect() error
In general PHPMailer debug is shown when sending invitation.

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
More
9 years 3 months ago #137194 by josegovia
Replied by josegovia on topic SMTP Connect() error
Thank you very much, but I don´t see the "debug".

I changed "$ mail-> SMTPDebug" 2 ($ mail-> SMTPDebug = 2;) and nothing appears on screen. Keeps coming just the same mistake.

I attached a screenshot.

I was changing the "$ mail-> SMTPDebug in /application/config/email.php Is there?

Thank you
The topic has been locked.
More
9 years 3 months ago #137195 by DenisChenu
Replied by DenisChenu on topic SMTP Connect() error
before 2.50 , you must use www.limesurvey.org/manual/Global_settings#Email_settings

Maybe it's need to be fixed in 2.50.

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
More
9 years 3 months ago #137196 by josegovia
Replied by josegovia on topic SMTP Connect() error
Thanks but my version es 2.50+ Build 160219
The topic has been locked.
More
9 years 3 months ago #137197 by DenisChenu
Replied by DenisChenu on topic SMTP Connect() error
Sorry,

my sentence is unclear ....

With 2.50 : same settings must show error (but here : it seems the SMTP server can not be contacted) or more information (set to Always to have more information)

IF you don't have any information when set to always : MAYBE there are an issue/bug in 2.50.

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
More
9 years 3 months ago #137199 by jelo
Replied by jelo on topic SMTP Connect() error
Since the SMTP connection suddenly isn't working anymore I would search for any change on the server or network-environment.

Where is the Server with Limesurveyr and where is the SMTP server in the network? Are there admins which you can ask for changements in the last days? E.g. a simple firewall block of a port will give you this kind of error.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
More
9 years 3 months ago #137212 by josegovia
Replied by josegovia on topic SMTP Connect() error
Thank you Denis.

I have opened an feature request on the Bug Tracker ( ID 11318)
The topic has been locked.
More
9 years 3 months ago #137227 by DenisChenu
Replied by DenisChenu on topic SMTP Connect() error
Hi josegovia . I'm unsure this part is readed.

Did you try with the GUI settings to ?
If yes : add it to the bug.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
More
9 years 3 months ago #137247 by josegovia
Replied by josegovia on topic SMTP Connect() error
Hi Denis.

The Versión 2.50+ Build 160219has not in the GUI settings for SMTP debug.
The topic has been locked.
More
9 years 3 months ago #137253 by DenisChenu
Replied by DenisChenu on topic SMTP Connect() error
Are you sure ?




But seems to have a bug (in 2.06 too)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
More
9 years 3 months ago - 9 years 3 months ago #137255 by josegovia
Replied by josegovia on topic SMTP Connect() error
Thanks Denis.

Yes, my version has it :woohoo:

It is a little different, (see attached).

Well this is the debug:

El envío del correo a Josdo (XXXX@gmail.com) falló por el siguiente motivo: SMTP Connect() se falló.
  • Trazado de la salida del SMTP:
  • 2016-06-02 17:27:15	SERVER -> CLIENT: 220 Servidor de correo de la Universidad Complutense de Madrid 2016-06-02 17:27:15	CLIENT -> SERVER: EHLO cawi.hst.ucm.es 2016-06-02 17:27:15	SERVER -> CLIENT: 250-lamina.sim.ucm.es 250-PIPELINING 250-SIZE 15728640 250-VRFY 250-ETRN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN 2016-06-02 17:27:15	CLIENT -> SERVER: AUTH LOGIN 2016-06-02 17:27:15	SERVER -> CLIENT: 502 5.5.2 Error: command not recognized 2016-06-02 17:27:15	SMTP ERROR: AUTH command failed: 502 5.5.2 Error: command not recognized 2016-06-02 17:27:15	CLIENT -> SERVER: QUIT 2016-06-02 17:27:15	SERVER -> CLIENT: 221 2.0.0 Bye SMTP Connect() se falló. 


    [MOD: I deleted the email address. Please do not post email addresses in the forum as they can be harvested for spam purposes]
    Last edit: 9 years 3 months ago by holch.
    The topic has been locked.
    More
    9 years 3 months ago #137278 by DenisChenu
    Replied by DenisChenu on topic SMTP Connect() error
    Code:
    CLIENT -> SERVER: AUTH LOGIN 2016-06-02 17:27:15 
    SERVER -> CLIENT: 502 5.5.2 Error: command not recognized
    You server don't accept AUTH LOGIN. maybe you need to use SSL or TLS only.

    Denis

    Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
    I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
    I don't answer to private message.
    The topic has been locked.
    More
    9 years 3 months ago #137291 by josegovia
    Replied by josegovia on topic SMTP Connect() error
    Thank you very much for the help.

    Finally the error was for the password.

    Best regards
    The following user(s) said Thank You: DenisChenu
    The topic has been locked.
    Moderators: holchtpartner

    Lime-years ahead

    Online-surveys for every purse and purpose