Results 1 to 3 of 3

Thread: Mass update = mass emails in 6.1?

  1. #1
    marclangston is offline Sugar Community Member
    Join Date
    Oct 2009
    Posts
    98

    Default Mass update = mass emails in 6.1?

    I've been testing 6.1 and it seems that mass update now generates an e-mail to the new assignee for every item assigned to him/her. This is unlike the behavior in 5.2 (the version I've been using up until now). Is this intentional, or is there a setting or combination of settings I can change to alter this behavior? I'd like for users to be assigned via e-mail if the item is edited and the "Assigned to" field is changed but not if they are assigned something (or many things) via Mass Update.

    Thanks.
    marc

  2. #2
    selfmade64856 is offline Sugar Community Member
    Join Date
    Sep 2011
    Posts
    38

    Default Re: Mass update = mass emails in 6.1?

    Anyone have any ideas how to stop this? My Gmail account was temporarily shut down due to too many emails being sent via SugarCrm during mass update. I would like to stop sugar from sending any notifications during mass update so that my gmail account isn't suspended.

    I just figured out how to disable the sending of emails via mass updates after doing something like reassigning a lead. I have created a video to show how to enable or disable the notifications being sent after reassigning a lead, opportunity, contact, etc...

    http://youtu.be/06H1G3OmFkA

    Good Luck!

    Courtney L Bostdorff
    Last edited by selfmade64856; 2012-01-27 at 12:52 AM. Reason: Found the solution to the issue.

  3. #3
    marclangston is offline Sugar Community Member
    Join Date
    Oct 2009
    Posts
    98

    Default Re: Mass update = mass emails in 6.1?

    I was able to stop mass emails going out for mass updates by commenting out the following code from the include/MassUpdate.php file; it starts around line 300 in my copy:

    PHP Code:
    if (isset( $this->sugarbean->assigned_user_id)) {
        
    $old_assigned_user_id $this->sugarbean->assigned_user_id;
        if (!empty(
    $_POST['assigned_user_id'])
        && (
    $old_assigned_user_id != $_POST['assigned_user_id'])
        && (
    $_POST['assigned_user_id'] != $current_user->id)) {
            
    $check_notify TRUE;
        }

    I got this suggestion (after I started this thread) from Supressing mass update e-mails in 6.1 - SugarCRM Forums.

    Hope this helps.
    marc

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 11
    Last Post: 2011-05-17, 02:14 AM
  2. How to update a non-mass update field on a mass update
    By hadoob024 in forum General Discussion
    Replies: 11
    Last Post: 2010-12-15, 03:56 PM
  3. Mass Update
    By danweifis in forum Help
    Replies: 0
    Last Post: 2009-04-23, 09:54 AM
  4. Mass Update
    By shivaranjani in forum Help
    Replies: 0
    Last Post: 2008-10-06, 10:08 AM
  5. Mass Update
    By chanandrew99 in forum Help
    Replies: 1
    Last Post: 2005-05-30, 05:06 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •