Results 1 to 2 of 2

Thread: Polling POP3 mailboxes

  1. #1
    dennisg is offline Junior Member
    Join Date
    Aug 2006
    Posts
    1

    Unhappy Polling POP3 mailboxes

    Have i got this totally wrong? or if i have my crontab set up correctly, i should be able to log into sugar after a long nights sleep, and when i do, Sugar will have been polling hard all night long and picking up my mail which will be sitting there in my inbox?
    I have had someone set up my crontab (i am non technical!) and i only get new mail if i manually check for mail. Have i misunderstood something? or am i doing something wrong altogether?!!

  2. #2
    chrisky is offline Sugar Community Member
    Join Date
    Aug 2006
    Location
    Trondheim, Norway
    Posts
    293

    Cool Re: Polling POP3 mailboxes

    A suggestion....
    One of mine had come up with a pretty effective and simple 'improvement' on this issue..
    Only a handful of deployments are using this; and though it is an improvement, it still falls short of a cron job in which runs very often...

    What is ultimately needed, is a mix of the two.. The cron job [of which checks & retrieves mail] that runs as often as possible (i.e. every minute or two, lol); however, such cron job (for lack of better term because this would actually be hard coded and NOT a cron job) to only applty to recently or currently logged in[to sugarcrm] users.

    Anyways, I didn't personally code it so I have no clue off the top of my head what or where, was modified within the Sugar code..

    What they did was... to have the mail check & retrieve code/routine ran upon entry into the Email module....

    Ah ha! In just thinking about this now, I just thought of how to complete that ultimate goal...
    hahaha, nice..

    In the Email modules code and/or client side js code, the mail will be checked repititiously (every minute, or two, or 3, or 5, etc.. to likely be user customizable)..

    That way, their mail is constantly updated/downloaded but ONLY when their already or currently working inside the Email module.. This is perfect... The system resources issue has been a large concern of mine, and thus why I feel the cron job method is inadequate for anyone other than 'single individual end users' which shouldn't be trying to deploy/run Sugar anyways imho.

    Back to my original point, mod'ing the Email module code to call/run the 'check mail' functions each time such email module code is ran (i.e. the index; listview; detailview, etc.. you get the point), that users email is checked and retrieved..

    And my idea of client side js [being the best way to do this] to constantly update/re-check email/retrieve email/etc. so long as that email module screen/page remains displayed on the clients browser..

Thread Information

Users Browsing this Thread

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

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
  •