Skip to content

Commit

Permalink
- Remove doc string from the MailHost send method to prevent publ…
Browse files Browse the repository at this point in the history
…ishing
  • Loading branch information
dataflake committed Feb 7, 2024
1 parent 94f2c4e commit bc9f332
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 2 additions & 0 deletions CHANGES.rst
Expand Up @@ -4,6 +4,8 @@ Changelog
5.1 (unreleased)
----------------

- Remove doc string from the MailHost ``send`` method to prevent publishing.

- Add support for Python 3.12.


Expand Down
7 changes: 2 additions & 5 deletions src/Products/MailHost/MailHost.py
Expand Up @@ -209,11 +209,8 @@ def send(self,
immediate=False,
charset=None,
msg_type=None):
"""send *messageText* modified by the other parameters.
*messageText* can either be an ``email.message.Message``
or a string.
"""
# send *messageText* modified by the other parameters.
# *messageText* can be an ``email.message.Message`` or a string.
msg, mto, mfrom = _mungeHeaders(messageText, mto, mfrom,
subject, charset, msg_type,
encode)
Expand Down

0 comments on commit bc9f332

Please sign in to comment.