Welcome to the LimeSurvey Community Forum

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

LimeSurvey 1.92 Email Problem - SMTP Error: Could not connect to SMTP host.

  • Daniel981
  • Daniel981's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 11 months ago #77735 by Daniel981
Having an issue sending out emails from LimeSurvey. I have it set to send through SMTP to my working secondary SMTP server and whenever I try and send a message it shows an error connecting to the SMTP server. Any thoughts?

Error:


Global Settings (SMTP):
The topic has been locked.
More
11 years 3 months ago #88905 by staub
I have interesting experience with gmail SMTP server. I have tried to set email to smtp.gmail.com:465 Result was 'SMTP Error: Could not authenticate.' later I do understood that (somewhere in inet read about it) gmail can forbid to some application. So that mean that gmail try to prevent spamming close authentication for phpmailer application that is used by limesurvey. So my solution was to change mail provider - smtp server. I think that your problem could be same...
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
11 years 3 months ago - 11 years 3 months ago #88969 by DenisChenu

staub wrote: smtp.gmail.com:465 Result was 'SMTP Error: Could not authenticate.'

With SSL ?

Because , just testing:
Code:
Return-Path: <........ @ gmail.com>
Delivered-To: ........ @ sondages.pro
Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com [209.85.212.174])
  (using TLSv1 with cipher RC4-SHA (128/128 bits))
  (No client certificate requested)
  by belar.gsill.net (Postfix) with ESMTPS id EBE39C4401E
  for <........ @ sondages.pro>; Fri, 23 Nov 2012 23:45:57 +0100 (CET)
Received: by mail-wi0-f174.google.com with SMTP id hm9so1391616wib.7
        for <........ @ sondages.pro>; Fri, 23 Nov 2012 14:45:57 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=date:to:from:reply-to:subject:message-id:x-priority:x-mailer
         :x-surveyid:x-tokenid:x-surveymailer:mime-version:content-type;
        bh=Qjq/5ovCq5gkEsj9V45cJlN3f1MfXxQfqwqS54ZEOSY=;
        b=i1e0fTBLs/fZhn04f88B0mMkJ00P1/y0oh00uL9lzCznJ6LOMvRl5KMwYDMuu1b8gp
         58wKUyLoLz9zx4ZwbWYym/IxUUfpClCrc2PGJrcpD9PIRe1Cr9XRac6PRkG5DkMHvID0
         v3M9OYpHcT4ZDTVcf6HgkuNOj7CJNjVpGCMyfWgVTdWO+YsK2lcnGkViYwHqb6cPIuWi
         Fru0aoVEX/RT+CGAgHSr/5NK8kHZi4j1T5LYPi3Cnr7UKHiP9gVRCE+KVI756WquPCWa
         TTcZGdYdltmu5nVYGIU9q5/P/v9w5g6eVyenxvCp1TwVXcL0LYPSOUO00ybf8/9But++
         LrFg==
Received: by 10.216.204.213 with SMTP id h63mr1956732weo.43.1353710757638;
        Fri, 23 Nov 2012 14:45:57 -0800 (PST)
Received: from limesurvey.sondages.pro (belar.gsill.net. [91.121.100.144])
        by mx.google.com with ESMTPS id gz3sm10462538wib.2.2012.11.23.14.45.56
        (version=SSLv3 cipher=OTHER);
        Fri, 23 Nov 2012 14:45:56 -0800 (PST)
Date: Fri, 23 Nov 2012 23:45:55 +0100
To: ........ @ sondages.pro
From: Administrator <........ @ gmail.com>
Reply-to: Administrator <........ @ sondages.pro>
Subject: =?utf-8?B?SW52aXRhdGlvbiB0byBwYXJ0aWNpcGF0ZSBpbiBzdXJ2ZXk=?=
Message-ID: <35abd2ddf0d9961d9a62e0e32ee045e7@limesurvey.sondages.pro>
X-Priority: 3
X-Mailer: PHPMailer 5.1 (phpmailer.sourceforge.net)
X-surveyid: 747125
X-tokenid: hbx684hmp8bkgw9
X-Surveymailer: LimeSurvey GIT Emailer (LimeSurvey.sourceforge.net)
MIME-Version: 1.0
Content-Type: multipart/alternative;
  boundary="b1_35abd2ddf0d9961d9a62e0e32ee045e7"
Just put some betwwen @ to not have 'javascript hidden mail'.

I do understood that (somewhere in inet read about it) gmail can forbid to some application.

Maybe FUD (Fear, uncertainty and doubt), but surely false.

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Last edit: 11 years 3 months ago by DenisChenu. Reason: one mail not found
The topic has been locked.
More
10 years 8 months ago - 10 years 8 months ago #97574 by WAWANSUR

Attachment SMTP.pdf not found



Hi everybody,
My company used new SMTP Host (upgared to mail server Exchange 2010), so i have to changed the address. After I changed, I got error like this.
any idea?



SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "504 5.7.4 Unrecognized authentication type
"
SMTP -> get_lines(): $data is "504 5.7.4 Unrecognized authentication type
"
SMTP -> ERROR: AUTH not accepted from server: 504 5.7.4 Unrecognized authentication type

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
Attachments:
Last edit: 10 years 8 months ago by WAWANSUR.
The topic has been locked.
More
10 years 8 months ago #97580 by WAWANSUR
The topic has been locked.
More
10 years 6 months ago #99890 by cidar
Yo tenia el mismo problema al usar un host gmail or outlook, y luego de navegar un poco y probar varias cosas logre dar con la solucion, el problema "SMTP Error: Could not connect to SMTP host" es porque gmail and outlook no reconocen "smtp" con minuscula, para lo cual hay que cambiarlo a "SMTP". voy a poner los pasos a seguir para que esto funcione.

ingresar al directorio donde se encuentra instalado limesurvey, ahi buscar este archivo:

1.- application\helpers\common_helper.php
2.- ir a la linea 4474 o ir a esta parte del codigo '$mail->IsSMTP();'
3.- Cambiar esta linea por ' $mail->Mailer = "SMTP"; '
4.- Guardar el archivo y listo.

Espero que les sirva, a mi me funciono espero que a ustedes tambien.
The topic has been locked.
More
9 years 9 months ago #109396 by hbs
Note: I tried to create a new topic, but the Captcha box is not shown and I can not submit my topic any more!


Problem in sending E-mail from LimeSurvey
Hi,
I installed LimeSurvey into my website through Hostgator cPanel (PHP 5.3).

I am facing problem in sending invitations, the invitations E-mails are not sent (picture shown below)




The Email settings in the Global settings are shown below




The strange thing is when I use the same Email settings on LimeSurvey Free online Hosting, it works perfectly, this concludes that the Email settings are correct however it is not working on my installed version on my website.
Any idea or advice?

Thanks in advance
hbs
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 9 months ago #109423 by DenisChenu
Think your hoster block SMTP connexion from your website. Contact your hoster.

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: hbs
The topic has been locked.
More
9 years 9 months ago #109485 by hbs
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose