Parcourir la source

Fix incorrect import

Martino il y a 3 ans
Parent
commit
5915b387fc
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      docs/tutorials/sending.rst

+ 2 - 2
docs/tutorials/sending.rst

@@ -13,7 +13,7 @@ is configured. At minimum, sending an email requires:
 
 
 .. code-block:: python
 .. code-block:: python
 
 
-    from email import EmailSender
+    from redmail import EmailSender
     email = EmailSender(host='localhost', port=0)
     email = EmailSender(host='localhost', port=0)
 
 
     email.send(
     email.send(
@@ -166,4 +166,4 @@ methods:
         )
         )
         ...
         ...
     finally:
     finally:
-        email.close()
+        email.close()