Results 1 to 10 of 10

Thread: receiving mails in Sugar

  1. #1
    Rafeeq is offline Junior Member
    Join Date
    May 2007
    Posts
    2

    Post receiving mails in Sugar

    Dear all,

    I am using Sugar CRM Open source edition in a local web server (WAMP),
    And it works correctly,
    The problem is: it not receiving any of my mail massages from my POP3 server although it gives me O.K in POP3 connection Test!! .. (Your POP3 test connection was successful.)


    Please help my to handle this problem and receiving mails in Sugar

    Thank You

  2. #2
    MilSp3c is offline Sugar Community Member
    Join Date
    Apr 2007
    Location
    Fort Lauderdale Florida
    Posts
    65

    Default Re: receiving mails in Sugar

    What version of SugarCRM OpenSource are you using? And what WAMP package?

    MilSp3c

  3. #3
    Rafeeq is offline Junior Member
    Join Date
    May 2007
    Posts
    2

    Smile Re: receiving mails in Sugar

    Dear : MilSp3c
    thank you for replying .

    my Sugar CRM version is : 4.5.0h (Build 1239) ,, but the same problem appear with last version also,

    and WAMP version is : 5 1.6.6

    Thank you
    Rafeeq Qupatn
    [SIZE=4]

  4. #4
    TakeMarket is offline Sugar Community Member
    Join Date
    Apr 2007
    Posts
    133

    Default Re: receiving mails in Sugar

    Have you set up your sugar scheduler/s with the .bat file? - If not you will not receive any e-mails since sugarcrm will not check the mail boxes automatically as long as the schedule tasks is not made active - and this needs to be setup manually.

    You can get a complete explanation on how to proceed by reading this thread : -->> Setting up a crontab (Linux) or Scheduled Task (Windows) for SugarCRM

    Last edited by TakeMarket; 2007-05-12 at 03:18 PM.

    Kind regards
    Take Market™
    http://www.takemarket.com

    We take market for you.™

  5. #5
    lars25700 is offline Sugar Community Member
    Join Date
    Mar 2007
    Posts
    19

    Exclamation Re: receiving mails in Sugar

    Hi Folks,

    now, I am experiencing the same problem. I've set up the .bat file on my Win2k server. Thank you sugarchris for the excellent explanation on that issue there!

    The .bat file looks like this and is located in C:\winnt\system32

    ---------------------------------------------------------------------------------

    @echo off
    rem cd H:\SERVERAPP\apachefriends\apachefriends\xampp2\ph p\ |br|
    H:\SERVERAPP\apachefriends\apachefriends\xampp2\ph p\php.exe -c H:\SERVERAPP\apachefriends\apachefriends\xampp2\ph p\php.ini -f H:\SERVERAPP\apachefriends\apachefriends\xampp2\ht docs\sugarcrm\cron.php |br|
    rem Pause

    ---------------------------------------------------------------------------------
    (the lines are not seperated as it appears on the copy and paste result above. I've entered a |br| for the actual line break)

    BUT

    1. On the first run, Sugar picked up 6 emails automatically (the boxes have about 50 mails in em each)
    2. after that, the script runs regularly every 4 minutes with time limit of 23:59
    3. even if I kick the batch manually, it will not pick up the mails so that I could read them.
    4. if I kick the "check mail" button in the according window inside sugar nothing happens as well. The mails are not synchronized with the data on the imap server. And I do not intend to use the pop-protocol to receive mails.

    So if anyone is out there has a solution to this issue I would be very greatful.

    And again: SOMETIMES, but only sometimes, it does work when I fetch the mails manually.

    Thanks

    Lars

    PS.: Here the data to my environment:

    Win2k Server (admin has rights to handle batches)
    Sugar: complete windows stack as available on the sugar website of May 10th, 2007 and wasn't altered since.

  6. #6
    TakeMarket is offline Sugar Community Member
    Join Date
    Apr 2007
    Posts
    133

    Default Re: receiving mails in Sugar

    Quote Originally Posted by lars25700

    The .bat file looks like this and is located in C:\winnt\system32

    ---------------------------------------------------------------------------------

    @echo off
    rem cd H:\SERVERAPP\apachefriends\apachefriends\xampp2\ph p\ |br|
    H:\SERVERAPP\apachefriends\apachefriends\xampp2\ph p\php.exe -c H:\SERVERAPP\apachefriends\apachefriends\xampp2\ph p\php.ini -f H:\SERVERAPP\apachefriends\apachefriends\xampp2\ht docs\sugarcrm\cron.php |br|
    rem Pause

    ---------------------------------------------------------------------------------
    Hi Lars,

    FYI: There is absolutely no need to have the .bat file in the %systemroot%/system32 - you can place it where ever you what to, as long as the windows scheduler job is pointed to that directory where you have placed the .bat file.


    As for an example of our .bat file (modified for security reasons)

    cd X:\youwantotknow\inetpubfolder.net <--- pointing towards the webroot folder of your sugarinstall
    php.exe -f cron.php <--- pointing towards the php executable
    X:\youwantotknow\php-cgi.exe -c X:\youwantotknow\php.ini -f cron.php <--- pointing towards the cgi executable and the php.ini file

    That's it - and it runs without a glitch. It looks like you have some mishaps in you .bat file.
    Try to take ours and modify it regarding to your setup on the server.

    Now... we are not using the stack installers, so unfortunately we can't tell if there is a difference in the cron job set up between the versions, but we see no reason why it should be as the concept is the same on windows boxes...

    By the way: Do you have any security software (eg. anti virus etc.) that might be blocking e-mail communication and so forth?

    Hope this help you.
    Last edited by TakeMarket; 2007-05-13 at 10:41 AM.

    Kind regards
    Take Market™
    http://www.takemarket.com

    We take market for you.™

  7. #7
    jfuller70 is offline Sugar Community Member
    Join Date
    Feb 2007
    Posts
    55

    Default Re: receiving mails in Sugar

    I'm using 4.5.1d and i cannot recieve imap or pop3. pop3 quit working then imap was working. now both dead. I can send but cannot recieve. was working fine,

  8. #8
    tm2000 is offline Sugar Community Member
    Join Date
    May 2005
    Posts
    49

    Default Re: receiving mails in Sugar

    Quote Originally Posted by jfuller70
    I'm using 4.5.1d and i cannot recieve imap or pop3. pop3 quit working then imap was working. now both dead. I can send but cannot recieve. was working fine,
    try to recheck your passwords.. for some reason when we upgraded from 451c to 451d we had to re-enter all our passwords again... then it worked fine..

  9. #9
    jasim is offline Junior Member
    Join Date
    Jan 2007
    Posts
    4

    Default Re: receiving mails in Sugar

    Hi all

    I have setup the crontab and my host has confirmed that the path is correct and working. However I get the following error:

    Warning: require_once(config.php): failed to open stream: No such file or directory in /home/emag00/domains/crm.emagin.com.my/public_html/include/entryPoint.php on line 76

    Fatal error: require_once(): Failed opening required 'config.php' (include_path='.:/usr/local/lib/php') in /home/emag00/domains/crm.emagin.com.my/public_html/include/entryPoint.php on line 76


    Can anyone pls help me resolve this? Is this a bug? The reset of the setup seems to be working fine because I can yrigger the unbound mail manually.

    Thanks for your help

  10. #10
    lars25700 is offline Sugar Community Member
    Join Date
    Mar 2007
    Posts
    19

    Default Re: receiving mails in Sugar

    Ok, was sick of it and migrated the system to linux. And either I'm too stupid - or tired... But where is the path to the binary php in the standard lampp installation?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. So Long Sugar, and thanks for all the fish
    By alsutton in forum General Discussion
    Replies: 41
    Last Post: 2006-11-15, 07:57 PM
  2. Sugar Open Source 3.5.1e Available for Download
    By clint in forum Announcements
    Replies: 0
    Last Post: 2005-12-10, 06:29 AM
  3. Who is working on which translations?
    By clint in forum Translators
    Replies: 5
    Last Post: 2005-08-26, 02:44 PM
  4. Sugar Suite 3.5 Beta Now Available
    By clint in forum Announcements
    Replies: 0
    Last Post: 2005-08-01, 02:03 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
  •