View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
13981Bug reportsInstallationpublic2021-03-10 22:37
ReporterMazi Assigned ToMazi  
PrioritynoneSeverityminor 
Status closedResolutionreopened 
Product Version3.14.x 
Target Version3.15.x 
Summary13981: Sending SMTP emails and using an empty password is not doable due to prefilled PW
Description

At Global Settings -> Email switching to SMTP emailing and leaving the SMTP user's password empty (which is valid) causes emails to not be sent. Limesurvey loads for a minute e.g. when creating a new admin user and trying to send him the email with login details. Afterwards there is a Warning "no email could be sent". Even though SMTP output on errors was enabled, no further details were shown.

My guess is that the password is actually NOT empty because it already shows up pre-filled with "somepassword" when checking the HTML source.

Steps To Reproduce
  1. At Global Settings -> Email switch to SMTP emailing and leave the SMTP user's password empty.
  2. Create a new admin user. Limesurvey should send an email with login details but that fails.
TagsNo tags attached.
Attached Files
smtp_problem.png (16,064 bytes)   
smtp_problem.png (16,064 bytes)   
smtp_settings.png (36,326 bytes)   
smtp_settings.png (36,326 bytes)   
Bug heat4
Complete LimeSurvey version number (& build)Version 3.14.5+180815
I will donate to the project if issue is resolvedNo
BrowserChrome
Database type & versionMySQL 5
Server OS (if known)Ubuntu 14 TLS
Webserver software & version (if known)Apache 2
PHP Version7.0.26

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2018-11-27 11:44

administrator   ~49804

It is possible to set an empty password. The default string is only to see if the password was changed.
However what currently is not possible to omit authentication at all for SMTP. That would be a new feature.

DenisChenu

DenisChenu

2018-11-27 11:58

developer   ~49807

Last edited: 2018-11-27 18:58

Yes : even : empty name + empty password (tested)

@c_schmitz : i have a client without Authentification : set empty to both : it work.
I think it's OK, PHPMailer seems to do the job itself.

DenisChenu

DenisChenu

2018-11-27 19:03

developer   ~49809

Last edited: 2018-11-27 19:04

SMTPAuth is set ONLY if username is not empty : https://github.com/LimeSurvey/LimeSurvey/blob/2cc399d65f77b487203f7174f12d324cb036d87a/application/helpers/common_helper.php#L2281

And original issue are not real.

Can close it

DenisChenu

DenisChenu

2018-11-27 19:05

developer   ~49810

Need SMTP server information : Need username but no password ????

Issue History

Date Modified Username Field Change
2018-08-17 15:08 Mazi New Issue
2018-08-17 15:08 Mazi File Added: smtp_problem.png
2018-08-17 15:08 Mazi File Added: smtp_settings.png
2018-11-27 11:44 c_schmitz Note Added: 49804
2018-11-27 11:58 DenisChenu Note Added: 49807
2018-11-27 11:59 DenisChenu Note Edited: 49807
2018-11-27 18:58 DenisChenu Note Edited: 49807
2018-11-27 19:03 DenisChenu Note Added: 49809
2018-11-27 19:04 DenisChenu Note Edited: 49809
2018-11-27 19:04 DenisChenu Assigned To => DenisChenu
2018-11-27 19:04 DenisChenu Status new => closed
2018-11-27 19:04 DenisChenu Resolution open => no change required
2018-11-27 19:05 DenisChenu Assigned To DenisChenu => Mazi
2018-11-27 19:05 DenisChenu Status closed => feedback
2018-11-27 19:05 DenisChenu Resolution no change required => reopened
2018-11-27 19:05 DenisChenu Note Added: 49810
2018-11-27 19:06 DenisChenu Severity partial_block => minor
2021-03-10 22:37 ollehar Status feedback => closed