@@ -12,6 +12,11 @@ This module is part of the legacy (``Compat32``) email API. In the |
|
|
12 |
12 |
new API the functionality is provided by the *cte* parameter of |
13 |
13 |
the :meth:`~email.message.EmailMessage.set_content` method. |
14 |
14 |
|
|
15 |
+This module is deprecated in Python 3. The functions provided here |
|
16 |
+should not be called explicitly since the :class:`~email.mime.text.MIMEText` |
|
17 |
+class sets the content type and CTE header using the *_subtype* and *_charset* |
|
18 |
+values passed during the instaniation of that class. |
|
19 |
+ |
15 |
20 |
The remaining text in this section is the original documentation of the module. |
16 |
21 |
|
17 |
22 |
When creating :class:`~email.message.Message` objects from scratch, you often |