Revision: 1675
          http://mrbs.svn.sourceforge.net/mrbs/?rev=1675&view=rev
Author:   cimorrison
Date:     2010-12-08 15:24:56 +0000 (Wed, 08 Dec 2010)

Log Message:
-----------
Fixed bug whereby mail was not being sent to those on the cc and bcc lists.

Modified Paths:
--------------
    mrbs/trunk/web/functions_mail.inc

Modified: mrbs/trunk/web/functions_mail.inc
===================================================================
--- mrbs/trunk/web/functions_mail.inc   2010-12-08 14:59:24 UTC (rev 1674)
+++ mrbs/trunk/web/functions_mail.inc   2010-12-08 15:24:56 UTC (rev 1675)
@@ -995,6 +995,10 @@
     $cc = NULL;
   }
   
+  // Need to put all the addresses into $recipients
+  $recipients .= (!empty($cc)) ? ",$cc" : "";
+  $recipients .= (!empty($bcc)) ? ",$bcc" : "";
+  
   // Set up configuration settings
   if (empty($from))
   {


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to