aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Mail/Message.php2
-rw-r--r--lib/public/Mail/AutoSubmittedValue.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Mail/Message.php b/lib/private/Mail/Message.php
index 417b64d0f3a..cf69d9cb3ef 100644
--- a/lib/private/Mail/Message.php
+++ b/lib/private/Mail/Message.php
@@ -337,6 +337,6 @@ class Message implements IMessage {
$headers = $this->swiftMessage->getHeaders();
return $headers->has('Auto-Submitted') ?
- $headers->get('Auto-Submitted')->toString() : "no";
+ $headers->get('Auto-Submitted')->toString() : AutoSubmittedValue::NO;
}
}
diff --git a/lib/public/Mail/AutoSubmittedValue.php b/lib/public/Mail/AutoSubmittedValue.php
index 3c3d9f13078..3cf669d00f7 100644
--- a/lib/public/Mail/AutoSubmittedValue.php
+++ b/lib/public/Mail/AutoSubmittedValue.php
@@ -31,7 +31,7 @@ namespace OCP\Mail;
* The value "auto-notified" as per RFC 5436 is deliberately omitted as it is
* meant of notification of the sieve system.
*
- * @see https://www.iana.org/assignments/auto-submitted-keywords/auto-submitted-keywords.xhtml
+ * @link https://www.iana.org/assignments/auto-submitted-keywords/auto-submitted-keywords.xhtml
*
* @since 26.0.0
*/