Results 1 to 7 of 7

Thread: Disable Email send in Cases

  1. #1
    static13 is offline Junior Member
    Join Date
    Feb 2010
    Posts
    4

    Default Disable Email send in Cases

    Version 5.2.0k (Build 5837)
    We have a logic hook created to send and email to the customer based on case status change. The code is fouled up and I need to disable this asap. I am very new at Sugar and PHP. I attempted to comment out the PHP code in the logic hook but is stopped the SYstem from working. In short, how do I disable or turn off the use of this logic hook so no emails send for case updates.

  2. #2
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Disable Email send in Cases

    All you need to do is rename the logic_hooks.php file in <sugar>/custom/modules/Cases to some other name (e.g. logic_hooks.php.bak) and that'll take care of it.
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  3. #3
    static13 is offline Junior Member
    Join Date
    Feb 2010
    Posts
    4

    Default Re: Disable Email send in Cases

    Thanks... That did it...B

  4. #4
    rcastro is offline Senior Member
    Join Date
    Dec 2009
    Posts
    41

    Default Re: Disable Email send in Cases

    You also can comment some lines in the logic_hook.php like the array of 'befor_save' of 'after_save'. So that you would still have the feature, for example, of the function in before_save action but you can disable the send mail function in the after_save.

    Hope this helps you!

  5. #5
    randykreisel is offline Junior Member
    Join Date
    Mar 2010
    Posts
    2

    Cool Re: Disable Email send in Cases

    Is there a way to disable auto reply case emails when I don't have a custom logic hook?

    I am setting up a group email with auto case assignment and I don't want to send emails at this time.

    Thanks
    Randy

  6. #6
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Disable Email send in Cases

    I am guessing you've setup an e-mail account that is monitored by Sugar automatically and in turn creates the cases for you.

    If so, click Admin > Inbound Email and click the corresponding account. You'll notice that its properties contains a setting for an auto-reply template. Clearing that option should do the trick, assuming it is Sugar that is sending them out, as it is also possible for your e-mail server to be doing it completely outside the scope of Sugar.
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  7. #7
    randykreisel is offline Junior Member
    Join Date
    Mar 2010
    Posts
    2

    Default Re: Disable Email send in Cases

    Thanks for the help.

    I have set up the inbound email to a group mail account to create cases.

    I have set up a group user but I can't find either in the screen or documentation where I associate the user to the group mail account.

    Thanks in advance for your help.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. I can't send out campaign but can send out normal Email.
    By yu xintian in forum Marketing/Campaign Management
    Replies: 1
    Last Post: 2010-01-12, 09:02 AM
  2. Have to disable Edit button in Detail View of Cases module
    By naveenshurpalekar in forum Developer Help
    Replies: 5
    Last Post: 2009-11-19, 12:36 PM
  3. Replies: 3
    Last Post: 2009-05-22, 09:22 AM
  4. disable the email settings tab for employees?
    By dottedquad in forum Help
    Replies: 1
    Last Post: 2009-03-04, 10:36 PM
  5. send test email vs send email
    By tpascubarat in forum Help
    Replies: 2
    Last Post: 2008-01-20, 03:49 AM

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
  •