feat: out of office forward to 2 - #13693
Open
ixgate-lpeters wants to merge 4 commits into
Open
ixgate-lpeters wants to merge 4 commits into
ixgate-lpeters wants to merge 4 commits into
Conversation
added 3 commits
September 16, 2026 15:31
Adds the ability to specify a "forward to" email address as part of the out-of-office configuration. When enabled, incoming mails are not only answered with the vacation auto-reply, but also forwarded to the given address using a Sieve "redirect" action. - Add optional `forwardTo` parameter to OutOfOfficeController - Validate forwardTo as a proper email address, throwing ClientException on invalid input - Extend OutOfOfficeState and OutOfOfficeParser to support the new forwardTo field - Extend Sieve script generation to include the redirect action when a forwarding address is configured - Add forwardTo input field to OutOfOfficeForm.vue - Add corresponding unit tests and sieve test fixture Fixes a limitation where the out-of-office feature could only send an automated reply, without the option to forward incoming messages to a substitute/colleague.
Adds the ability to specify a "forward to" email address as part of the out-of-office configuration. When enabled, incoming mails are not only answered with the vacation auto-reply, but also forwarded to the given address using a Sieve "redirect" action. - Add optional `forwardTo` parameter to OutOfOfficeController - Validate forwardTo as a proper email address, throwing ClientException on invalid input - Extend OutOfOfficeState and OutOfOfficeParser to support the new forwardTo field - Extend Sieve script generation to include the redirect action when a forwarding address is configured - Add forwardTo input field to OutOfOfficeForm.vue - Add corresponding unit tests and sieve test fixture Fixes a limitation where the out-of-office feature could only send an automated reply, without the option to forward incoming messages to a substitute/colleague. Assisted-by: local qwen 3.8 Signed-off-by: Lucas Peters <L.Peters@ixgate.de>
…ixgate-lpeters/mail into feat/out-of-office-forward-to-2
ixgate-lpeters
requested review from
ChristophWurst,
GretaD and
kesselb
as code owners
September 16, 2026 13:48
|
Thanks for opening your first pull request in this repository! ✌️ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the ability to forward incoming mails to another address (e.g. a substitute/colleague) while out of office is enabled, in addition to the existing vacation auto-reply.
Previously, the out-of-office feature only supported sending an automated reply to incoming mails. This PR extends the feature so users can optionally specify a
forwardToaddress, which is added as a Sieveredirectaction alongside the vacation response.Changes
forwardToparameter toOutOfOfficeController::setOutOfOfficeState()(or relevant method)forwardToas a proper email address, throwing aClientExceptionon invalid inputOutOfOfficeStateandOutOfOfficeParserto support the newforwardTofieldredirectaction when a forwarding address is configuredforwardToinput field toOutOfOfficeForm.vueOutOfOfficeParserTestOutOfOfficeStateTestsieve-vacation-on-forward-to.sieveScreenshots
How to test
redirectaction to the specified addressTODO / Open questions
Checklist