Format des Message-ID-Feldes in generierten Mails gefixt
authorRolf Eike Beer <dakon@users.sf.net>
Sat, 18 May 2013 16:17:10 +0000 (18:17 +0200)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Mon, 3 Jun 2013 10:07:48 +0000 (12:07 +0200)
Laut RfC 2822 muss die ID in spitzen Klammern stehen.

SL/Mailer.pm

index 6c7a201..f5b3b77 100644 (file)
@@ -194,7 +194,7 @@ sub send {
   $self->{contenttype} ||=  "text/plain";
   $self->{headers}       =  [
     Subject              => $self->{subject},
-    'Message-ID'         => $self->_create_message_id,
+    'Message-ID'         => '<' . $self->_create_message_id . '>',
     'X-Mailer'           => "kivitendo $self->{version}",
   ];