[Vtigercrm-commits] [Vtiger development] #8549: ScheduleReports.php adding a CC that cannot be removed in the gui

Vtiger development vtiger-tickets at trac.vtiger.com
Tue Apr 28 17:24:17 GMT 2015


#8549: ScheduleReports.php adding a CC that cannot be removed in the gui
------------------------+------------------------
 Reporter:  william.u   |      Owner:  developer
     Type:  defect      |     Status:  new
 Priority:  unassigned  |  Milestone:  Unassigned
Component:  vtigercrm   |    Version:  6.2.0
 Severity:  Medium      |   Keywords:
------------------------+------------------------
 When you set a report to be scheduled a piece of code in the
 ScheduleReports.php creates a CC to the vtiger Admin email address.

 Approx line 212

 //Added cc to account owner
 $accountOwnerId = Users::getActiveAdminId();
 $vtigerMailer->AddCC(getUserEmail($accountOwnerId),
 getUserFullName($accountOwnerId));
 $status = $vtigerMailer->Send(true);

 It seems to set the CC to Admin account not account owner, I think
 $accountOwnerId = Users::getActiveAdminId(); is not correct.

 The CC should be optional or not used at all.

--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/8549>
Vtiger development <http://trac.vtiger.com/>
Vtiger CRM


More information about the vtigercrm-commits mailing list