1
0
Fork 0

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

View file

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