Bug 1909104 Comment 3 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

(In reply to Alex Ihrig [:Thunderbird_Mail_DE] from comment #0)
> It should be possible to set (change) special folder flags manually. This helps at least experienced users […]

In the unlikely case this is really necessary, _experienced_ users may just follow these steps:

1. Open the folder properties and copy the "Location" string.
2. Look up the appropriate folder flag [here](`https://searchfox.org/comm-central/source/mailnews/base/public/nsMsgFolderFlags.idl`).
3. Open the error console and input
```
MailServices.folderLookup.getFolderForURL(${location}).toggleFlag(Ci.nsMsgFolderFlags.${flag})
```
replacing the ${…} values accordingly.

Use at your own risk!
(In reply to Alex Ihrig [:Thunderbird_Mail_DE] from comment #0)
> It should be possible to set (change) special folder flags manually. This helps at least experienced users […]

In the unlikely case this is really necessary, _experienced_ users may just follow these steps:

1. Open the folder properties and copy the "Location" string.
2. Look up the appropriate folder flag [here](`https://searchfox.org/comm-central/source/mailnews/base/public/nsMsgFolderFlags.idl`).
3. Open the error console and input
```
MailServices.folderLookup.getFolderForURL(${location}).toggleFlag(Ci.nsMsgFolderFlags.${flag})
```
replacing the `${…}` values accordingly.

Use at your own risk!
(In reply to Alex Ihrig [:Thunderbird_Mail_DE] from comment #0)
> It should be possible to set (change) special folder flags manually. This helps at least experienced users […]

In the unlikely case this is really necessary, _experienced_ users may just follow these steps:

1. Open the folder properties and copy the "Location" string.
2. Look up the appropriate folder flag [here](`https://searchfox.org/comm-central/source/mailnews/base/public/nsMsgFolderFlags.idl`).
3. Open the error console and input
```MailServices.folderLookup.getFolderForURL(${location}).toggleFlag(Ci.nsMsgFolderFlags.${flag})```
replacing the `${…}` values accordingly. Example:
```MailServices.folderLookup.getFolderForURL("imap://user%40example.com@imap.example.com/SomeFolder").toggleFlag(Ci.nsMsgFolderFlags.Junk)```

Use at your own risk!
(In reply to Alex Ihrig [:Thunderbird_Mail_DE] from comment #0)
> It should be possible to set (change) special folder flags manually. This helps at least experienced users […]

In the unlikely case this is really necessary, _experienced_ users may just follow these steps:

1. Open the folder properties and copy the "Location" string.
2. Look up the appropriate folder flag [here](https://searchfox.org/comm-central/source/mailnews/base/public/nsMsgFolderFlags.idl).
3. Open the error console and input
```MailServices.folderLookup.getFolderForURL(${location}).toggleFlag(Ci.nsMsgFolderFlags.${flag})```
replacing the `${…}` values accordingly. Example:
```MailServices.folderLookup.getFolderForURL("imap://user%40example.com@imap.example.com/SomeFolder").toggleFlag(Ci.nsMsgFolderFlags.Junk)```

Use at your own risk!

Back to Bug 1909104 Comment 3