diff --git a/CHANGES.rst b/CHANGES.rst index a9f2806..a6fc92c 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -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. diff --git a/src/Products/MailHost/MailHost.py b/src/Products/MailHost/MailHost.py index 1e226ae..db6f316 100644 --- a/src/Products/MailHost/MailHost.py +++ b/src/Products/MailHost/MailHost.py @@ -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)