mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-24 06:48:35 +02:00
Minor fixes + cleanup
This commit is contained in:
@@ -229,7 +229,7 @@ def send_mail(request, withctx=False, origmsg=None):
|
||||
msg["To"] = request.POST["to"]
|
||||
msg["Message-ID"] = make_msgid()
|
||||
msg["User-Agent"] = "MailNG"
|
||||
msg["Date"] = formatdate()
|
||||
msg["Date"] = formatdate(time.time(), True)
|
||||
if origmsg and origmsg.has_key("Message-ID"):
|
||||
msg["References"] = msg["In-Reply-To"] = origmsg["Message-ID"]
|
||||
rcpts = msg['To'].split(',')
|
||||
|
||||
Reference in New Issue
Block a user