summaryrefslogtreecommitdiffstats
path: root/Doc/library/smtpd.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/smtpd.rst')
-rw-r--r--Doc/library/smtpd.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/smtpd.rst b/Doc/library/smtpd.rst
index 575dcec..2682ee0 100644
--- a/Doc/library/smtpd.rst
+++ b/Doc/library/smtpd.rst
@@ -89,6 +89,10 @@ SMTPServer Objects
Currently no ``RCPT TO`` options are supported, so for now
this will always be an empty list.
+ Implementations of ``process_message`` should use the ``**kwargs``
+ signature to accept arbitrary keword arguments, since future feature
+ enhancements may add keys to the kwargs dictionary.
+
Return ``None`` to request a normal ``250 Ok`` response; otherwise
return the desired response string in :RFC:`5321` format.