summaryrefslogtreecommitdiff
path: root/service/pixelated/adapter/mail_service.py
diff options
context:
space:
mode:
Diffstat (limited to 'service/pixelated/adapter/mail_service.py')
-rw-r--r--service/pixelated/adapter/mail_service.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/service/pixelated/adapter/mail_service.py b/service/pixelated/adapter/mail_service.py
index debdc9b7..1183dae2 100644
--- a/service/pixelated/adapter/mail_service.py
+++ b/service/pixelated/adapter/mail_service.py
@@ -47,6 +47,13 @@ class MailService:
def send(self, mail):
self.mail_sender.sendmail(mail)
+ def create_draft(self, mail):
+ drafts = self.mailboxes.drafts()
+ drafts.add(mail)
+
+ def send_draft(self, mail):
+ pass
+
def all_tags(self):
return self.tag_service.all_tags()
@@ -74,9 +81,6 @@ class MailService:
def save_draft(self, draft):
raise NotImplementedError()
- def send_draft(self, draft):
- raise NotImplementedError()
-
def draft_reply_for(self, mail_id):
raise NotImplementedError()