@@ -223,28 +223,6 @@ SMTP Objects
223223
224224An :class: `SMTP ` instance has the following methods and attributes:
225225
226- .. attribute :: SMTP.helo_resp
227-
228- The response to the ``HELO `` command, see :meth: `helo `.
229-
230-
231- .. attribute :: SMTP.ehlo_resp
232-
233- The response to the ``EHLO `` command, see :meth: `ehlo `.
234-
235-
236- .. attribute :: SMTP.does_esmtp
237-
238- A boolean value indicating whether the server supports ESMTP, see
239- :meth: `ehlo `.
240-
241-
242- .. attribute :: SMTP.esmtp_features
243-
244- A dictionary of the names of SMTP service extensions supported by the server,
245- see :meth: `ehlo `.
246-
247-
248226.. method :: SMTP.set_debuglevel(level)
249227
250228 Set the debug output level. A value of 1 or ``True `` for *level * results in
@@ -500,7 +478,6 @@ An :class:`SMTP` instance has the following methods and attributes:
500478 :exc: `SMTPRecipientsRefused `
501479 All recipients were refused. Nobody got the mail.
502480
503-
504481 :exc: `SMTPHeloError `
505482 The server didn't reply properly to the ``HELO `` greeting.
506483
@@ -576,8 +553,29 @@ Normally these do not need to be called directly, so they are not documented
576553here. For details, consult the module code.
577554
578555
556+ .. attribute :: SMTP.helo_resp
557+
558+ The response to the ``HELO `` command, see :meth: `helo `.
559+
560+
561+ .. attribute :: SMTP.ehlo_resp
562+
563+ The response to the ``EHLO `` command, see :meth: `ehlo `.
564+
565+
566+ .. attribute :: SMTP.does_esmtp
567+
568+ A boolean value indicating whether the server supports ESMTP, see
569+ :meth: `ehlo `.
570+
571+
572+ .. attribute :: SMTP.esmtp_features
573+
574+ A dictionary of the names of SMTP service extensions supported by the server,
575+ see :meth: `ehlo `.
579576.. _smtp-example :
580577
578+
581579SMTP Example
582580------------
583581
0 commit comments