Results 1 to 3 of 3

Thread: sugar failing to send email

  1. #1
    fcohen is offline Member
    Join Date
    Jan 2007
    Posts
    5

    Default sugar failing to send email

    I installed Sugar Version 4.5.1 (Build 1197) on a 2 core Intel box running Fedora Core. I set up the sugar email settings to use my email service provider (smtp.comcast.net) using my id/password. I compose and send an email. Sugar does not send the email and responds with the following html:

    ---

    <script type="text/javascript" src="include/javascript/cookie.js?s=4.5.1&c="></script><link rel="stylesheet" type="text/css" media="all" href="themes/Sugar/calendar-win2k-cold-1.css?s=4.5.1&c="><script>jscal_today = 1175130763000; if(typeof app_strings == "undefined") app_strings = new Array();</script><script type="text/javascript" src="jscalendar/calendar.js?s=4.5.1&c="></script><script type="text/javascript" src="jscalendar/lang/calendar-en.js?s=4.5.1&c="></script><script type="text/javascript" src="jscalendar/calendar-setup_3.js?s=4.5.1&c="></script><script src="include/javascript/yui/YAHOO.js?s=4.5.1&c="></script><script src="include/javascript/yui/log.js?s=4.5.1&c="></script><script src="include/javascript/yui/dom.js?s=4.5.1&c="></script><script src="include/javascript/yui/event.js?s=4.5.1&c="></script><script src="include/javascript/yui/animation.js?s=4.5.1&c="></script><script src="include/javascript/yui/connection.js?s=4.5.1&c="></script><script src="include/javascript/yui/dragdrop.js?s=4.5.1&c="></script><script src="include/javascript/yui/container.js?s=4.5.1&c="></script><script src="include/javascript/yui/ygDDList.js?s=4.5.1&c="></script><script type="text/javascript" src="include/javascript/sugar_3.js?s=4.5.1&c="></script><script type="text/javascript">
    var time_reg_format = '([0-9]{1,2})[0-9]{1,2})';
    var date_reg_format = '([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})';
    var date_reg_positions = {'Y': 1,'m': 2,'d': 3};
    var time_separator = ':';
    var cal_date_format = '%Y-%m-%d';
    var time_offset = -3600;
    </script><script type="text/javascript" src="cache/jsLanguage/en_us.js?s=4.5.1&c=&j=1"></script><script type="text/javascript" src="cache/jsLanguage/Emails/en_us.js?s=4.5.1&c=&j=1"></script>

    ---

    I put sugar into debug logging mode and see the following in the log:

    ---


    Wed Mar 28 19:12:43 2007,347 [24094] DEBUG SugarCRM - ---------> BEGING INCLUDING REQUESTED PAGE: [modules/Emails/Save.php] <------------
    Wed Mar 28 19:12:43 2007,840 [24094] DEBUG SugarCRM - Retrieve Email : SELECT emails.* FROM emails WHERE emails.id = ''
    Wed Mar 28 19:12:43 2007,844 [24094] DEBUG SugarCRM - Limit Query:SELECT emails.* FROM emails WHERE emails.id = '' Start: 0 count: 1
    Wed Mar 28 19:12:43 2007,847 [24094] INFO SugarCRM - Query:SELECT emails.* FROM emails WHERE emails.id = '' LIMIT 0,1
    Wed Mar 28 19:12:43 2007,852 [24094] INFO SugarCRM - Query Execution Time:0.002532
    Wed Mar 28 19:12:43 2007,910 [24094] DEBUG SugarCRM - Retrieve Contact : SELECT contacts.* FROM contacts WHERE contacts.id = '123'
    Wed Mar 28 19:12:43 2007,914 [24094] DEBUG SugarCRM - Limit Query:SELECT contacts.* FROM contacts WHERE contacts.id = '123' Start: 0 count: 1
    Wed Mar 28 19:12:43 2007,916 [24094] INFO SugarCRM - Query:SELECT contacts.* FROM contacts WHERE contacts.id = '123' LIMIT 0,1
    Wed Mar 28 19:12:43 2007,922 [24094] INFO SugarCRM - Query Execution Time:0.00283
    Wed Mar 28 19:12:44 2007,027 [24094] DEBUG SugarCRM - Retrieve Contact : SELECT contacts.* FROM contacts WHERE contacts.id = '123'
    Wed Mar 28 19:12:44 2007,030 [24094] DEBUG SugarCRM - Limit Query:SELECT contacts.* FROM contacts WHERE contacts.id = '123' Start: 0 count: 1
    Wed Mar 28 19:12:44 2007,033 [24094] INFO SugarCRM - Query:SELECT contacts.* FROM contacts WHERE contacts.id = '123' LIMIT 0,1
    Wed Mar 28 19:12:44 2007,040 [24094] INFO SugarCRM - Query Execution Time:0.002976
    Wed Mar 28 19:12:44 2007,082 [24094] DEBUG SugarCRM - Retrieve Contact : SELECT contacts.* FROM contacts WHERE contacts.id = '123'
    Wed Mar 28 19:12:44 2007,086 [24094] DEBUG SugarCRM - Limit Query:SELECT contacts.* FROM contacts WHERE contacts.id = '123' Start: 0 count: 1
    Wed Mar 28 19:12:44 2007,088 [24094] INFO SugarCRM - Query:SELECT contacts.* FROM contacts WHERE contacts.id = '123' LIMIT 0,1
    Wed Mar 28 19:12:44 2007,094 [24094] INFO SugarCRM - Query Execution Time:0.002739
    Wed Mar 28 19:12:44 2007,200 [24094] DEBUG SugarCRM - Email sending ---------------------
    Wed Mar 28 19:12:44 2007,204 [24094] DEBUG SugarCRM - Localization: translating [ 10 has to be it! ] into ISO-8859-1
    Wed Mar 28 19:12:44 2007,215 [24094] DEBUG SugarCRM - Localization: translating [ ] into ISO-8859-1


    What is going wrong?

    -Frank

  2. #2
    fcohen is offline Member
    Join Date
    Jan 2007
    Posts
    5

    Default Re: sugar failing to send email

    Anyone want to offer even a hint at where I should look to solve this problem?

    Outbound email seems non-functional in SugarCRM.

    -Frank

  3. #3
    fcohen is offline Member
    Join Date
    Jan 2007
    Posts
    5

    Default Re: sugar failing to send email

    The problem is sugarcrm does not automatically install the much needed localization package (php-mbstring) by default. The easiest way to install php_mbstring is to use this command from the Linux commandline:

    yum install php-mbstring

    Good luck.

    -Frank

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 9
    Last Post: 2007-06-04, 07:50 PM
  2. Replies: 0
    Last Post: 2006-06-20, 11:25 PM
  3. Replies: 8
    Last Post: 2006-05-26, 10:11 PM
  4. Functionality of inbound email system
    By silverstripe in forum Help
    Replies: 0
    Last Post: 2006-01-12, 08:50 AM
  5. Sugar Open Source 3.5.0c Available for Download
    By jnassi in forum Announcements
    Replies: 0
    Last Post: 2005-08-27, 08:21 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
  •