[Vtigercrm-commits] [vtiger development] #4077: Email - Giving an option to enable and disable the notification mail to the user mail id

vtiger development vtiger-tickets at trac.vtiger.com
Fri May 1 10:49:07 EDT 2009


#4077: Email - Giving an option to enable and disable the notification mail to the
user mail id
------------------------------+---------------------------------------------
  Reporter:  srinivasan_on4u  |       Owner:  developer
      Type:  enhancement      |      Status:  new      
  Priority:  unassigned       |   Milestone:  5.1.0    
 Component:  vtigercrm        |     Version:  5.0.3    
Resolution:                   |    Keywords:           
------------------------------+---------------------------------------------
Comment (by prasad):

 To avoid sending copy of email to logged in user, you will need make the
 changes as described below

 File: modules/Emails/Save.php
 {{{
 require_once("modules/Emails/mail.php");
 if(isset($_REQUEST['send_mail']) && $_REQUEST['send_mail'] &&
 $_REQUEST['parent_id'] != '')
 {
         /* vtiger Customization: Stop sending copy of email to the user.
 */
         // This line needs to be commented
 /******************************************************************
         $user_mail_status =
 send_mail('Emails',$current_user->column_fields['email1'],$current_user->user_name,'',$_REQUEST['subject'],$_REQUEST['description'],$_REQUEST['ccmail'],$_REQUEST['bccmail'],'all',$focus->id);
 *******************************************************************/

         // This line needs to be added
         $user_mail_status = 1;
 }}}

-- 
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/4077#comment:2>
vtiger development <http://trac.vtiger.com/>
vtigerCRM




More information about the vtigercrm-commits mailing list