Skip to content

Conversation

@bennet0496
Copy link
Contributor

In PR nextcloud/server#35876, I added the possibility to directly set the Auto-Submitted mail header from OCP\Mail\Message. Reasons for the header are described in this PR and in an older issue nextcloud/server#16538 and PR nextcloud/server#27200. But the short of it is that it prevents OOO/vacaction auto-reponses on properly configured mail system, that other wise would go to the configured sender address from the NC instance.

This PR adds utilization of the method introduced in nextcloud/server#35876, however there also is a fallback way via getSwiftMessage() allowing backwards compatibility for older NC version.

@artonge artonge force-pushed the patch-mail-header branch from 1e674d5 to 155782e Compare October 4, 2023 12:21
@susnux susnux force-pushed the patch-mail-header branch from 155782e to 85971c6 Compare October 18, 2023 11:33
@susnux susnux force-pushed the patch-mail-header branch from 85971c6 to b1ea0fb Compare October 18, 2023 11:35
@susnux susnux enabled auto-merge October 18, 2023 15:50
@susnux susnux merged commit 37c4668 into nextcloud:master Oct 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants