X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FMailer.pm;h=234b6a784b77e30cbd048ebf301e4b0ba2ce4f7f;hb=0a4891e33e1ee05dd0363d985fb1a2205e25c63c;hp=35cc57a75dcea8f73e350354e3fc7ec1193c5ed8;hpb=920fd369e914ad328b0ecd32dba4eb6a982901ed;p=kivitendo-erp.git diff --git a/SL/Mailer.pm b/SL/Mailer.pm index 35cc57a75..234b6a784 100644 --- a/SL/Mailer.pm +++ b/SL/Mailer.pm @@ -33,6 +33,8 @@ package Mailer; use SL::Common; use SL::Template; +my $num_sent = 0; + sub new { $main::lxdebug->enter_sub(); @@ -94,7 +96,8 @@ sub send { local (*IN, *OUT); - my $boundary = time(); + $num_sent++; + my $boundary = time() . "-$$-${num_sent}"; $boundary = "LxOffice-$self->{version}-$boundary"; my $domain = $self->{from}; $domain =~ s/(.*?\@|>)//g;