summaryrefslogtreecommitdiff
path: root/postgresqleu/mailqueue/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'postgresqleu/mailqueue/models.py')
-rw-r--r--postgresqleu/mailqueue/models.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/postgresqleu/mailqueue/models.py b/postgresqleu/mailqueue/models.py
index 6b002e7e..210bdeac 100644
--- a/postgresqleu/mailqueue/models.py
+++ b/postgresqleu/mailqueue/models.py
@@ -7,6 +7,8 @@ class QueuedMail(models.Model):
# We store the raw MIME message, so if there are any attachments or
# anything, we just push them right in there!
fullmsg = models.TextField(null=False, blank=False)
+ sendtime = models.DateTimeField(null=False, blank=False, auto_now_add=True)
+ subject = models.CharField(max_length=500, null=False, blank=False)
def __str__(self):
return "%s: %s -> %s" % (self.pk, self.sender, self.receiver)