1. Matthew Frazier
  2. cartero

Commits

Matthew Frazier  committed b1b26a6

added the first draft at SMTP code

  • Participants
  • Parent commits 0c772a5
  • Branches default

Comments (0)

Files changed (2)

File cartero/__init__.py

View file
 """
 from cartero.message import Message
 from cartero.sender import import_sender_cls
+
+__version__ = "0.5"

File cartero/message.py

View file
         `from_struct`.
         """
         return dict(
-            to = [str(addr) for addr in self.to],
-            sender = self.sender,
-            bcc = [str(addr) for addr in self.bcc],
+            to = [unicode(addr) for addr in self.to],
+            sender = unicode(self.sender),
+            bcc = [unicode(addr) for addr in self.bcc],
             subject = self.subject,
             text = self.text,
             html = self.html,