View Issue Details

This issue affects 1 person(s).
 10
IDProjectCategoryView StatusLast Update
16657Bug reportsUser / Groups / Rolespublic2026-09-14 15:46
ReporterMazi Assigned Toc_schmitz  
PrioritynormalSeveritypartial_block 
Status closedResolutionfixed 
Product Version3.23.3 
Summary16657: Email for newly added admin user fails if no admin email is set at global settings
Description

I just tried adding a new admin user and received a rather genric "Sendin email failed" message without any additional details. Usually I see those messages if e.g. SMTP email details are not configured correctly. But in this case PHP emailing was active. So I did some more testing and noticed that no survey admin email was set at global settings -> email.
Adding a valid email there solved the problem, emails for new admins were sent afterwards.

Steps To Reproduce

Delete the admin email address at global settings -> email.
Try adding a new admin user -> warning about failed email shows up

Additional Information

We should at least check if the admin email is set and if not, show a better error message.

TagsNo tags attached.
Bug heat10
Complete LimeSurvey version number (& build)Version 3.23.1+200825
I will donate to the project if issue is resolvedNo
Story point estimate
BrowserChrome
Database type & versionMySQL 5
Server OS (if known)Ubuntu 18
Webserver software & version (if known)Apache 2.0
PHP Version7.2.26

Users monitoring this issue

There are no users monitoring this issue.

Activities

Mazi

Mazi

2020-12-30 20:53

updater   ~61375

@cdorin, why is this one marked "feedback"? What kind of feedback is missing? Are you able to reproduce this?

cdorin

cdorin

2020-12-31 10:39

reporter   ~61381

Last edited: 2021-02-04 10:24

Hey @Mazi, @vharris is our QA. She will test it as well and then move it to confirmed if that is the case :)

vharris

vharris

2021-01-05 12:10

reporter   ~61428

Last edited: 2021-02-04 10:24

Confirmed: The following error message is displayed
Add user
Warning
Email to "username" (your-email@example.net)failed.
Set user permissions

c_schmitz

c_schmitz

2021-05-06 14:30

administrator   ~64270

Yes/no are standard answers. If you want to show them as Si/no you have to use the Spanish version of the admin interface.
If you do that are the answer options properly shown?

Mazi

Mazi

2023-04-11 12:25

updater   ~74461

@c_schmitz, can you change this from "feedback" to "assigned" please? I do not have the rights for this.

c_schmitz

c_schmitz

2026-09-14 12:12

administrator   ~85724

Since the same function is used to send password reset emails we cannot be too specific.

c_schmitz

c_schmitz

2026-09-14 12:13

administrator   ~85725

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=40326

LimeBot

LimeBot

2026-09-14 15:46

administrator   ~85732

Fixed in Release 7.1.1+260914

Related Changesets

LimeSurvey: master 8dcf8f47

2026-09-14 12:13

c_schmitz


Details Diff
Fixed issue 16657: Error message too cryptic if email for newly added admin user fails due to empty admin email Affected Issues
16657
mod - application/models/services/PasswordManagement.php Diff File

Issue History

Date Modified Username Field Change
2020-09-10 16:14 Mazi New Issue
2020-12-30 14:02 cdorin Assigned To => vharris
2020-12-30 14:02 cdorin Priority none => low
2020-12-30 14:02 cdorin Status new => feedback
2020-12-30 20:53 Mazi Note Added: 61375
2020-12-30 20:53 Mazi Status feedback => assigned
2020-12-31 10:39 cdorin Status assigned => feedback
2020-12-31 10:39 cdorin Note Added: 61381
2021-01-05 12:10 vharris Note Added: 61428
2021-01-05 12:11 vharris Status feedback => confirmed
2021-01-05 12:12 vharris Assigned To vharris => cdorin
2021-02-04 10:15 cdorin Status confirmed => new
2021-02-04 10:24 cdorin Assigned To cdorin =>
2021-02-04 10:24 cdorin Priority low => normal
2021-02-04 10:24 cdorin Status new => confirmed
2021-02-04 10:24 cdorin Sync to Zoho Project => |Yes|
2021-05-06 14:30 c_schmitz Assigned To => c_schmitz
2021-05-06 14:30 c_schmitz Status confirmed => feedback
2021-05-06 14:30 c_schmitz Note Added: 64270
2023-04-11 12:25 Mazi Note Added: 74461
2023-04-11 12:25 Mazi Status feedback => assigned
2026-09-14 12:12 c_schmitz Note Added: 85724
2026-09-14 12:13 c_schmitz Changeset attached => LimeSurvey master 8dcf8f47
2026-09-14 12:13 c_schmitz Note Added: 85725
2026-09-14 12:13 c_schmitz Status assigned => resolved
2026-09-14 12:13 c_schmitz Resolution open => fixed
2026-09-14 15:46 LimeBot Note Added: 85732
2026-09-14 15:46 LimeBot Status resolved => closed
2026-09-14 15:46 LimeBot Bug heat 8 => 10