Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Reminder by e-mail

  1. #1
    duffy is offline Sugar Community Member
    Join Date
    Sep 2007
    Posts
    31

    Default Reminder by e-mail

    Hello,

    Is there a possibility that calendar reminder reminds event by sending an e-mail?

    Thanks a lot
    Last edited by duffy; 2008-04-09 at 03:20 PM.

  2. #2
    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: Reminder by e-mail

    Hi, duffy.

    You can do that creating a new ScheduledJobs into modules/Schedulers/_AddJobsHere.php script and create a new action into Activities module which will be called by this scheduled task and trigger reminders.

    If you don't know how to do, please contact me.

    Cheers

    --
    André Lopes
    Lâmpada Global Services
    SugarCRM Silver Partner
    USA: +1 908 998-2278
    BR: +55 11 3237-3110
    www.lampadaglobal.com
    email: info@lampadaglobal.com

    Lampada Global Services delivers enterprise software and offshore programming services to customers around the world.

  3. #3
    duffy is offline Sugar Community Member
    Join Date
    Sep 2007
    Posts
    31

    Default Re: Reminder by e-mail

    Hi Andre,

    I have never done this. Could you please give me some hints how to do it? Is it possible to send reminders to every particular meeting/call attendee?

    Thanks a lot in advance

  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: Reminder by e-mail

    Quote Originally Posted by duffy
    Hi Andre,

    I have never done this. Could you please give me some hints how to do it? Is it possible to send reminders to every particular meeting/call attendee?

    Thanks a lot in advance

    Hi, duffy.

    Are you meaning to send the reminder to the assigned user of the activity?
    Do you know php programming?

    Cheers
    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
    duffy is offline Sugar Community Member
    Join Date
    Sep 2007
    Posts
    31

    Default Re: Reminder by e-mail

    Hi Andre,

    Yes I mean reminder to assigned user activity.
    And I know php programming, I just wanted some guide

  6. #6
    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: Reminder by e-mail

    Hi, duffy

    You have to modify the script modules/Schedulers/_AddJobsHere.php and place this piece of code at the end of file:
    PHP Code:
    $job_strings[] = 'runEmailReminder';

    function 
    runEmailReminder() {
        if (!
    class_exists('LoggerManager')){
            require(
    'log4php/LoggerManager.php');
        }
        
    $GLOBALS['log']->debug('Called:runEmailReminder');

        if (!
    class_exists('PearDatabase')){
            require(
    'include/database/PearDatabase.php');
        }
        require_once(
    'include/utils.php');
        global 
    $beanList;
        global 
    $beanFiles;
        require(
    "config.php");
        require(
    'include/modules.php');
        if(!
    class_exists('AclController')) {
            require(
    'modules/ACL/ACLController.php');
        }

        require(
    'modules/Emails/RunEmailReminder.php');
        return 
    true;

    This script modules/Emails/RunEmailReminder.php is a normal action, which can be accessed by index.php?modules=Emails&action=RunEmailReminder

    And it must contains the logic which search for activities to be reminded and send an email to the assigned user.

    Cheers
    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.

  7. #7
    mikrob35 is offline Senior Member
    Join Date
    Sep 2008
    Posts
    22

    Default Re: Reminder by e-mail

    Hi all,

    I'm quite surprised that email notification on upcoming activities is not a native feature of SugarCRM !

    Would anybody have written some code for the modules/Emails/RunEmailReminder.php action mentioned above? I personnaly don't know how to do it.

    Thanks in advance for sharing.

  8. #8
    phpteam1 is offline Member
    Join Date
    Aug 2008
    Posts
    12

    Default Re: Reminder by e-mail

    Quote Originally Posted by andopes View Post
    hi, duffy

    you have to modify the script modules/schedulers/_addjobshere.php and place this piece of code at the end of file:
    PHP Code:
    $job_strings[] = 'runemailreminder';

    function 
    runemailreminder() {
        if (!
    class_exists('loggermanager')){
            require(
    'log4php/loggermanager.php');
        }
        
    $globals['log']->debug('called:runemailreminder');

        if (!
    class_exists('peardatabase')){
            require(
    'include/database/peardatabase.php');
        }
        require_once(
    'include/utils.php');
        global 
    $beanlist;
        global 
    $beanfiles;
        require(
    "config.php");
        require(
    'include/modules.php');
        if(!
    class_exists('aclcontroller')) {
            require(
    'modules/acl/aclcontroller.php');
        }

        require(
    'modules/emails/runemailreminder.php');
        return 
    true;

    this script modules/emails/runemailreminder.php is a normal action, which can be accessed by index.php?modules=emails&action=runemailreminder

    and it must contains the logic which search for activities to be reminded and send an email to the assigned user.

    Cheers
    the runemailreminder page does not exist. Please advice

  9. #9
    fabivomsee is offline Sugar Community Member
    Join Date
    May 2007
    Posts
    78

    Default Re: Reminder by e-mail

    where do I get this runemailreminder.php script? or is it sugar non-opensourcecode?

    best

    fabian

  10. #10
    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: Reminder by e-mail

    You need to create such page.

    I just added the code to show you how to implement.
    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.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. a problem with my mail box
    By fansugar in forum Help
    Replies: 0
    Last Post: 2007-09-20, 04:24 PM
  2. Can sugar read all imap headers?
    By sepstyle in forum Help
    Replies: 4
    Last Post: 2007-02-23, 10:18 PM
  3. Mail Campaigns and Contact Organization
    By bingomanatee in forum General Discussion
    Replies: 0
    Last Post: 2006-12-13, 05:44 PM
  4. Problem with inbound Mail
    By grossw in forum Help
    Replies: 0
    Last Post: 2006-07-05, 10:32 AM
  5. Incomming mail problem
    By beeboob in forum Help
    Replies: 3
    Last Post: 2006-02-28, 01:42 PM

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
  •