adjust the rand bounderies to be within the allowed max value

This commit is contained in:
Tobias Diekershoff 2016-07-05 15:45:39 +02:00
parent 8a988d3f31
commit 5b03db4a1b
1 changed files with 2 additions and 2 deletions

View File

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