perl-Mail-DMARC/Mail-DMARC-1.20141206-dont_set_date_manually.patch

16 lines
761 B
Diff
Raw Normal View History

diff -Nur -x '*.orig' -x '*.rej' Mail-DMARC-1.20141206/lib/Mail/DMARC/Report/Send/SMTP.pm mezzanine_patched_Mail-DMARC-1.20141206/lib/Mail/DMARC/Report/Send/SMTP.pm
--- Mail-DMARC-1.20141206/lib/Mail/DMARC/Report/Send/SMTP.pm 2016-05-02 19:27:07.287415453 +0200
+++ mezzanine_patched_Mail-DMARC-1.20141206/lib/Mail/DMARC/Report/Send/SMTP.pm 2016-05-02 19:26:50.224415665 +0200
@@ -189,10 +189,9 @@
) or croak "unable to add report!";
my $email = Email::MIME->create(
- header_str => [
+ header => [
From => $self->config->{organization}{email},
To => $to,
- Date => $self->get_timestamp_rfc2822,
Subject => $self->get_subject( $agg_ref ),
],
parts => [@parts],