Logging SMTP problems

More
4 months 2 days ago #185730 by jr00n
Logging SMTP problems was created by jr00n
Hi, i've got LS working on OpenShift. Done with the s2i php builder from OpenShift.
App works, but i can't get mail getting to work. Probably something simple, but i can't find any logs.
I have enabled SMTP debug mode: always in the configuration page.

Where can i find that log file?

Thanks,

Jeroen

Please Log in or Create an account to join the conversation.

LimeSurvey Partners
More
4 months 2 days ago #185744 by DenisChenu
Replied by DenisChenu on topic Logging SMTP problems
Complete log is shown when you send a token email only.

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 .
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in or Create an account to join the conversation.

More
4 months 21 hours ago #185812 by jr00n
Replied by jr00n on topic Logging SMTP problems
Hi Denis, i don't understand.
What do you mean by a token email only?
I want to find the application (debug) log somewhere.
When i test it with lost password procedure (index.php/admin/authentication/sa/forgotpassword)
the only message i get is that mail sending was failed. Can't figure out why.
I'm running it in a container on kubernetes and would like to see the application logging to console

Please Log in or Create an account to join the conversation.

More
4 months 20 hours ago - 4 months 20 hours ago #185815 by DenisChenu
Replied by DenisChenu on topic Logging SMTP problems

Debug part are shown when sending email to participant .

From the manual
manual.limesurvey.org/Global_settings#Email_settings


Then :
1. Create a survey (don't need any question)
2. Create a token table
3. Add your email as participant
4. Send email
5. See the debug of SMTP

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 .
An error happen ? Before make a new topic : remind the Debug mode .
Attachments:
Last edit: 4 months 20 hours ago by DenisChenu.

Please Log in or Create an account to join the conversation.

More
1 month 3 weeks ago #188027 by lightweight
Replied by lightweight on topic Logging SMTP problems
It'd be mighty useful to have a "test email" functionality on the SMTP configuration page. At present, I've got a site I've set up which correctly/successfully uses the SMTP details to send a "token" email to new admin users... but it fails to send an email when a user goes through the "forgot password" workflow... I'm on Version 3.17.9+190731 (running on Linux in Docker).

Please Log in or Create an account to join the conversation.

More
1 month 3 weeks ago #188053 by jelo
Replied by jelo on topic Logging SMTP problems
There is a feature in discussion since 2018:
github.com/LimeSurvey/LimeSurvey/pull/1094

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users

Please Log in or Create an account to join the conversation.

More
1 month 3 weeks ago #188088 by lightweight
Replied by lightweight on topic Logging SMTP problems
Huh. Seems like the ability to verify SMTP is pretty crucial to stable operation... I'm a bit puzzled that "token"-based emails work with my install, but password recovery doesn't. Do they use two different paths? I'm not sure how it works...

Please Log in or Create an account to join the conversation.

More
1 month 3 weeks ago #188093 by DenisChenu
Replied by DenisChenu on topic Logging SMTP problems

lightweight wrote: Huh. Seems like the ability to verify SMTP is pretty crucial to stable operation... I'm a bit puzzled that "token"-based emails work with my install, but password recovery doesn't. Do they use two different paths? I'm not sure how it works...

No, it use exactly the same code except if you have plugins …

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 .
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!