Commit e8ad211b authored by Claudemir Todo Bom's avatar Claudemir Todo Bom

* make junkreport rfc compliant

parent 0d0853a0
Pipeline #206 passed with stage
in 1 minute and 24 seconds
......@@ -18,6 +18,7 @@ import datetime
import shlex
import email.mime.multipart
import email.mime.text
import email.utils
import mailbox
import textwrap
......@@ -243,6 +244,8 @@ class JunkReport:
def userJunkMessageReport(self):
msg = email.mime.multipart.MIMEMultipart("alternative")
msg["Message-ID"] = email.utils.make_msgid()
msg["Subject"] = "[wwMail] Relatório do filtro de Spam"
msg["From"] = '"wwMail Server"'
msg["To"] = self.address
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment