* Mail.php:
(BSMail::send): Change the $sendHtml param to $sendhtml and mark the BSApp::debug messages with the class name
3.1.1
===================
- Fixed: BSMail::send() would fail if sending a HTML/multipart email because it would call BSFunctions::Rand()
3.1.1
===================
- Fixed: BSMail::send() would fail if sending a HTML/multipart email because it would call BSFunctions::Rand()
+- Fixed: BSMail::send() would not send HTML emails due to a caps typo in the $sendHtml param
+- Change: BSMail::send() now labels iteslf in its BSApp::debug() messages
3.1.0
===================
3.1.0
===================
*
* @return bool Status of the message
*/
*
* @return bool Status of the message
*/
- public function send($address, $name = null, $sendHtml = false)
+ public function send($address, $name = null, $sendhtml = false)
// TODO - add support for SMTP
if (!@ini_get('sendmail_path'))
{
// TODO - add support for SMTP
if (!@ini_get('sendmail_path'))
{
- BSApp::debug("email: no sendmail -> not sending");
+ BSApp::debug("BSMail: no sendmail -> not sending");
// attempt to send the mail!
if (mail($tostring, $subject, $body, $headers, "-f {$from}"))
{
// attempt to send the mail!
if (mail($tostring, $subject, $body, $headers, "-f {$from}"))
{
- BSApp::debug("email: sent to $address");
+ BSApp::debug("BSMail: sent to $address");
- BSApp::debug("email: error sending to $address");
+ BSApp::debug("BSMail: error sending to $address");