* Mail.php:
(BSMail::send): Require Functions.php and then call ::random() instead of ::Rand()
+3.1.1
+===================
+- Fixed: BSMail::send() would fail if sending a HTML/multipart email because it would call BSFunctions::Rand()
+
3.1.0
===================
- Change: BSPrinterElementTable:__construct() can now take straight strings and convert them into BSPrinterElementLabel's
// see if we need to use mime/multipart
if ($sendhtml && !empty($bodyhtml) == true)
{
- $boundary = 'ISSO-MULTIPART-' . BSFunctions::Rand(10);
+ require_once ISSO . '/Functions.php';
+ $boundary = 'ISSO-MULTIPART-' . BSFunctions::random(10);
$headers .= "Content-Type: multipart/alternative; boundary=\"$boundary\"" . $this->delim;
$bodyHtml = BSFunctions::convert_line_breaks($this->bodyHtml, $this->delim);