X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/920fd369e914ad328b0ecd32dba4eb6a982901ed..7b2d21f4b1f77c5de36a43f1a8a338c09caacc7b:/SL/Mailer.pm 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;