summaryrefslogtreecommitdiffstats
path: root/lib/public/Mail/IMessage.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/Mail/IMessage.php')
-rw-r--r--lib/public/Mail/IMessage.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/public/Mail/IMessage.php b/lib/public/Mail/IMessage.php
index 1549f61c1fe..93afad3727e 100644
--- a/lib/public/Mail/IMessage.php
+++ b/lib/public/Mail/IMessage.php
@@ -93,4 +93,14 @@ interface IMessage {
* @since 13.0.0
*/
public function useTemplate(IEMailTemplate $emailTemplate): IMessage;
+
+ /**
+ * Add the Auto-Submitted header to the email, preventing most automated
+ * responses to automated messages.
+ *
+ * @param string $value (one of AutoSubmittedValue::NO, AutoSubmittedValue::AUTO_GENERATED, AutoSubmittedValue::AUTO_REPLIED)
+ * @return IMessage
+ * @since 26.0.0
+ */
+ public function setAutoSubmitted(string $value): IMessage;
}