Results 1 to 6 of 6

Thread: Notifications e-mails to creators.

  1. #1
    kinshibuya's Avatar
    kinshibuya is offline A Sugar Hero
    Join Date
    Jul 2008
    Location
    brasil
    Posts
    521

    Default Notifications e-mails to creators.

    Hi, i would like to know how to configure sugar CRM 5.0.0f to sent notificantion not only to the assigned userrr but also to the user who created the record.

    any ideas?

  2. #2
    nirmit is offline Senior Member
    Join Date
    Aug 2008
    Posts
    42

    Default Re: Notifications e-mails to creators.

    you can write the custom logic for your application in logic_hook. And you can call it upon save. Thats one good way to do it.
    -------------------------------------------------------
    Nirmit Bothra
    http://twitter.com/nirmit

  3. #3
    kinshibuya's Avatar
    kinshibuya is offline A Sugar Hero
    Join Date
    Jul 2008
    Location
    brasil
    Posts
    521

    Default Re: Notifications e-mails to creators.

    hi, thanks for the reply.
    when i searched for this thread there were many references to logick hook but i'm kinda newbie...
    is there a wiki to do this??

  4. #4
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Notifications e-mails to creators.

    Hi kinshibuya.

    Take a look at this article:

    http://www.sugarcrm.com/wiki/index.p...gic_with_hooks
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  5. #5
    kinshibuya's Avatar
    kinshibuya is offline A Sugar Hero
    Join Date
    Jul 2008
    Location
    brasil
    Posts
    521

    Default Re: Notifications e-mails to creators.

    thanks for the reply!

    i'm going to try it!

  6. #6
    kinshibuya's Avatar
    kinshibuya is offline A Sugar Hero
    Join Date
    Jul 2008
    Location
    brasil
    Posts
    521

    Default Re: Notifications e-mails to creators.

    Hi i've got it working
    I'm calling a after_save logic hook, and its caling PHP mail.
    But atachmants wont work, when i create a new note, the email is sent but there is no attachment to it, if i alter and save then the attachment is sent. I believe after_save is processed before the document is saved on /cache/upload how can i do this?
    I'm using the code:

    $mail->ADDattachments('/cache/upload/" . $focus->id ."',$focus->filename);
    Priscila Kin Yamamoto Joranhezon
    Phone: +55 61 32010000
    priscila.joranhezon@nct.com.br
    NCT Informática Ltda

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Email Notifications
    By dalty52 in forum Developer Help
    Replies: 8
    Last Post: 2009-03-09, 06:32 PM
  2. difficulties to send mails
    By vincentd401 in forum Help
    Replies: 1
    Last Post: 2007-11-09, 12:50 PM
  3. Mails werden nicht gesendet. Wo liegt das Prob?
    By DennisR2007 in forum Deutsche
    Replies: 0
    Last Post: 2007-02-27, 11:15 AM
  4. merging sugarcrm mails to Outlook Exp mails
    By jindal_1983 in forum Developer Help
    Replies: 0
    Last Post: 2006-08-07, 05:34 AM
  5. Replies: 1
    Last Post: 2006-05-30, 07:13 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
  •