fix random mime boundary generation

second and third random numbers in mime boundary was alwasy 10000000000
This commit is contained in:
fabrixxm 2015-01-20 19:21:49 +01:00
parent b2527039b7
commit 254968a99c
1 changed files with 2 additions and 2 deletions

View File

@ -30,8 +30,8 @@ class Emailer {
// generate a mime boundary
$mimeBoundary =rand(0,9)."-"
.rand(10000000000,9999999999)."-"
.rand(10000000000,9999999999)."=:"
.rand(10000000000,99999999999)."-"
.rand(10000000000,99999999999)."=:"
.rand(10000,99999);
// generate a multipart/alternative message header