Skip to content

Commit

Permalink
Update to docs for handle_RCPT (#300)
Browse files Browse the repository at this point in the history
Looks like a copy/paste error from handle_MAIL
  • Loading branch information
lllama committed Dec 21, 2022
1 parent 330e9ef commit 43bb37a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aiosmtpd/docs/handlers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ The following hooks are currently supported (in alphabetical order):
.. py:method:: handle_RCPT(server, session, envelope, address, rcpt_options) -> str
:async:

:param address: The parsed email address given by the client in the ``MAIL FROM`` command
:param address: The parsed email address given by the client in the ``RCPT TO`` command
:type address: str
:param rcpt_options: Additional ESMTP RCPT options provided by the client
:type rcpt_options: List[str]
Expand Down Expand Up @@ -430,4 +430,4 @@ Cleanup when we're done.
>>> resources.close()


.. _`the PROXY Protocol`: https://www.haproxy.com/blog/haproxy/proxy-protocol/
.. _`the PROXY Protocol`: https://www.haproxy.com/blog/haproxy/proxy-protocol/

0 comments on commit 43bb37a

Please sign in to comment.