How do I clear the "from" field?
How do I clear the "from" field?
I had set a name for "from" in the settings, but now I want to clear it, and when I delete and save it, it tells me not to leave it empty. How can I solve it? I'm adding attachment.
- Attachments
-
- IMG_20230522_210257.jpg (84.52 KiB) Viewed 903 times
-
- Zimbra Employee
- Posts: 17
- Joined: Tue Oct 18, 2022 11:22 am
Re: How do I clear the "from" field?
@Dogukan
Which version are you using and which from field in the settings are you referring to?
Which version are you using and which from field in the settings are you referring to?
Re: How do I clear the "from" field?
Im using zimbra 9.0.0
- Attachments
-
- IMG_20230523_062511.jpg (132.32 KiB) Viewed 730 times
Re: How do I clear the "from" field?
Soooo? how???????
-
- Elite member
- Posts: 1021
- Joined: Sat Sep 13, 2014 12:47 am
Re: How do I clear the "from" field?
If the UI will not allow you to change it, you can do it from the command line.
where the '' at the end is two single quotes.
Note: It will remove any custom setting you put in that field, and the UI will revert to displaying the default of the Account's "Firstname Lastname". The user will have to log out of zimbra and back in again to pick up the change.
In general if you run
you can see all of the account settings, and with zmprov ma you can modify them
Code: Select all
su - zimbra
zmprov ma <account-email-address> zimbraPrefFromDisplay ''
Note: It will remove any custom setting you put in that field, and the UI will revert to displaying the default of the Account's "Firstname Lastname". The user will have to log out of zimbra and back in again to pick up the change.
In general if you run
Code: Select all
su - zimbra
zmprov ga <account-email-address>
Re: How do I clear the "from" field?
Will this process leave the part I specified blank? I don't want our account to appear as first and last name.liverpoolfcfan wrote: ↑Thu May 25, 2023 8:46 am If the UI will not allow you to change it, you can do it from the command line.
where the '' at the end is two single quotes.Code: Select all
su - zimbra zmprov ma <account-email-address> zimbraPrefFromDisplay ''
Note: It will remove any custom setting you put in that field, and the UI will revert to displaying the default of the Account's "Firstname Lastname". The user will have to log out of zimbra and back in again to pick up the change.
In general if you run
you can see all of the account settings, and with zmprov ma you can modify themCode: Select all
su - zimbra zmprov ga <account-email-address>
-
- Zimbra Employee
- Posts: 6
- Joined: Tue Aug 09, 2022 12:30 am
Re: How do I clear the "from" field?
In the current design, when account's display name (displayName attribute) is set, the From display name (zimbraPrefFromDisplay) needs to be set.
https://github.com/Zimbra/zm-web-client ... e.js#L1608
https://github.com/Zimbra/zm-web-client ... e.js#L1608
Code: Select all
if ( AjxUtil.isEmpty(this.__getIdentityValue(account, "FROM_NAME")) &&
!AjxUtil.isEmpty(appCtxt.get(ZmSetting.DISPLAY_NAME))) {
this._errorMsg = ZmMsg.missingEmailDisplayName;
return false;
}
Code: Select all
this.__getIdentityValue(account, "FROM_NAME") is a value entered in From display name field.
appCtxt.get(ZmSetting.DISPLAY_NAME) is a value of displayName of the account.
It is shown at the top right of the Classic web client. If it is not set, an email address is shown.
It can be configured in Admin Console > Manage > Accounts > account > General Information > "Display name" setting.
-
- Elite member
- Posts: 1021
- Joined: Sat Sep 13, 2014 12:47 am