fix random mime boundary generation
second and third random numbers in mime boundary was alwasy 10000000000
This commit is contained in:
parent
b2527039b7
commit
254968a99c
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue