Welcome, Guest
Username: Password: Remember me

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

LimeSurvey 1.92 Email Problem - SMTP Error: Could not connect to SMTP host. 2 years 7 months ago #77735

  • Daniel981
  • Daniel981's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 1
  • Karma: 0
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 administrator has disabled public write access.

Re: LimeSurvey 1.92 Email Problem - SMTP Error: Could not connect to SMTP host. 1 year 11 months ago #88905

  • staub
  • staub's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 1
  • Karma: 0
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 administrator has disabled public write access.

Re: LimeSurvey 1.92 Email Problem - SMTP Error: Could not connect to SMTP host. 1 year 11 months ago #88969

  • DenisChenu
  • DenisChenu's Avatar
  • NOW ONLINE
  • Moderator Lime
  • Posts: 6471
  • Thank you received: 853
  • Karma: 254
staub wrote:
smtp.gmail.com:465 Result was 'SMTP Error: Could not authenticate.'
With SSL ?

Because , just testing:
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
Last Edit: 1 year 11 months ago by DenisChenu. Reason: one mail not found
The administrator has disabled public write access.

LimeSurvey 1.92 Email Problem - SMTP Error: Could not connect to SMTP host. 1 year 3 months ago #97574

  • WAWANSUR
  • WAWANSUR's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 16
  • Thank you received: 1
  • Karma: 1

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
Last Edit: 1 year 3 months ago by WAWANSUR.
The administrator has disabled public write access.

LimeSurvey 1.92 Email Problem - SMTP Error: Could not connect to SMTP host. 1 year 3 months ago #97580

  • WAWANSUR
  • WAWANSUR's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 16
  • Thank you received: 1
  • Karma: 1
Anyone help me??
The administrator has disabled public write access.

LimeSurvey 1.92 Email Problem - SMTP Error: Could not connect to SMTP host. 1 year 1 month ago #99890

  • cidar
  • cidar's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 1
  • Karma: 0
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 administrator has disabled public write access.

LimeSurvey 1.92 Email Problem - SMTP Error: Could not connect to SMTP host. 5 months 1 day ago #109396

  • hbs
  • hbs's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 2
  • Karma: 0
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)

EmailProblem.jpg



The Email settings in the Global settings are shown below

EmailProblem-globalsettings.jpg



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 administrator has disabled public write access.

LimeSurvey 1.92 Email Problem - SMTP Error: Could not connect to SMTP host. 5 months 8 hours ago #109423

  • DenisChenu
  • DenisChenu's Avatar
  • NOW ONLINE
  • Moderator Lime
  • Posts: 6471
  • Thank you received: 853
  • Karma: 254
Think your hoster block SMTP connexion from your website. Contact your hoster.

Denis
The administrator has disabled public write access.
The following user(s) said Thank You: hbs

LimeSurvey 1.92 Email Problem - SMTP Error: Could not connect to SMTP host. 4 months 4 weeks ago #109485

  • hbs
  • hbs's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 2
  • Karma: 0
you were right, thanks :)
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.182 seconds
Donation Image