[PP-Script] EMail.py
Posted: 05 Sep 2014, 08:46
Hey Hug,
I'm using the script to send successful downloads from *****@openmailbox.org to *****@gmail.com.
Gmail receives the emails fine. However, I get a "Delivery status notification" in my openmailbox saying that the email sent had a missing required head field "Date".
I usually wouldn't mind but those emails are starting to pile up in the inbox.
Is there a way to mod your script to include the "Date" header when sending the emails out?
Here's a copy of the email I get:
I'm using the script to send successful downloads from *****@openmailbox.org to *****@gmail.com.
Gmail receives the emails fine. However, I get a "Delivery status notification" in my openmailbox saying that the email sent had a missing required head field "Date".
I usually wouldn't mind but those emails are starting to pile up in the inbox.
Is there a way to mod your script to include the "Date" header when sending the emails out?
Here's a copy of the email I get:
Code: Select all
Subject: Delivery status notification, invalid header section: missing
required header field
Date: 2014-09-04 16:44
From: "Content-filter at mail.openmailbox.org"
<postmaster@mail.openmailbox.org>
To: <*****@openmailbox.org>
Your message WAS SUCCESSFULLY RELAYED to:
<*****@gmail.com>
This delivery report was generated by the program amavisd-new at host
mail.openmailbox.org. Our internal reference code for your message is
65443-11/lEJJkRgTTk97Iq
INVALID HEADER: MISSING REQUIRED HEADER FIELD
Missing required header field: "Date"
Return-Path: <*****@openmailbox.org>
From: "NZBGet" <*****@openmailbox.org>
Subject: Success for
"My_File-x264.mkv"
MISSING REQUIRED HEADER FIELD
The RFC 5322 document specifies rules for forming internet messages.
Section '3.6. Field Definitions' specifies that certain header fields
are required (origination date field and the "From:" originator
field).