View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0020306 | phpList 3 application | Sub-admins | public | 04-12-20 13:45 | 04-12-20 14:11 |
Reporter | softcon | Assigned To | |||
Priority | urgent | Severity | minor | Reproducibility | have not tried |
Status | resolved | Resolution | no change required | ||
Product Version | 3.5.1 | ||||
Target Version | 3.5.8 | ||||
Summary | 0020306: Default "from" email address is only correct if super admin | ||||
Description | I have set up the default "from" email address in the settings section (campaign settings). When I create a new email (as super admin), this value is automatically entered in to the "from" field, as expected. A create a second admin, NOT a super admin. I call them "editor" I give them rights to send a message, but I untick the other 3; manage subscribers, show statics, change settings. The "editor" logs in and creates a message, the "from" field displays their own name and email address, not the default "from" value saved in the campaign settings. | ||||
Tags | No tags attached. | ||||
|
|
|
I had to block out some info, sorry. I am using a custom UI, which is a copy of the "phplist-ui-bootlist" ui with some minor color/font changes. None of the functionality has been edited. |
|
On futher inspection, this is not a bug, but is feature in admin/send_core.php line 660: if (!isSuperUser() && USE_ADMIN_DETAILS_FOR_MESSAGES && is_object($GLOBALS['admin_auth'])) { $adminemail = $GLOBALS['admin_auth']->adminEmail($_SESSION['logindetails']['id']); if (!empty($adminemail)) { $messagedata['fromfield'] = $GLOBALS['admin_auth']->adminName($_SESSION['logindetails']['id']).' '.$adminemail; } } ...can I recommend we add an additional setting that allows this default "from" message to be used if not a super-admin? |
|
Thanks for the detailed report. But by the sounds of it, you can just switch off USE_ADMIN_DETAILS_FOR_MESSAGES https://resources.phplist.com/system/config/use_admin_details_for_messages put "define('USE_ADMIN_DETAILS_FOR_MESSAGES',false);" in your config file. |
|
re-open if that didn't solve it |