Results 1 to 9 of 9

Thread: Not able to send emails from Sugar5.2.i

  1. #1
    shivaranjani is offline Sugar Community Member
    Join Date
    May 2008
    Posts
    174

    Question Not able to send emails from Sugar5.2.i

    Hello,
    I am using Sugarcrm Professional 5.2.i version. I am not able to send emails. When I compose and send emails I am not being displayed any error and the page gets refreshed. When checked in sugarcrmlog, it says as" SugarPHPMailer encountered an error: SMTP Error: Could not connect to SMTP host". I am using Sendmail option in the settings. Is there anything else which I need to change or check.I have checked all my settings and they are fine.

    Operating system :- Centos
    PHP Version :- 5.2
    MySql :- 5.0
    Sugarcrm :- Professional and 5.2.i

    Thank you in advance for your time.

    Regards,
    ShivaRanjani

  2. #2
    salesagility's Avatar
    salesagility is offline Sugar Community Member
    Join Date
    Aug 2006
    Location
    UK
    Posts
    2,379

    Default Re: Not able to send emails from Sugar5.2.i

    Have you setup and verified the settings in Admin>Email Settings for sendmail

  3. #3
    shivaranjani is offline Sugar Community Member
    Join Date
    May 2008
    Posts
    174

    Default Re: Not able to send emails from Sugar5.2.i

    Hello,
    Yes I have set up and verified the settings. All seems to be fine.

    I am using SUGARCRM PROFESSIONAL VERSION. While sending mail from my application i am getting the following error:

    while(1);/*
    {"composeLayoutId":"composeLayout1"}*/

    SugarCRM Version :- Professional & 5.2.i
    Apache :- 2.2
    PHP :- 5.2
    Mysql :- 5.1
    Operatiing System :- CentOS

    Please help me out to resolve this problem.

    Thanks in Advance.

    Regards,
    ShivaRanjani
    Last edited by shivaranjani; 2009-09-18 at 07:39 AM.

  4. #4
    letrium is offline Sugar Community Member
    Join Date
    Dec 2008
    Posts
    614

  5. #5
    shivaranjani is offline Sugar Community Member
    Join Date
    May 2008
    Posts
    174

    Default Re: Not able to send emails from Sugar5.2.i

    Hello,
    I have tested the settings. I have got a successful connection established message. Why is it that Still I am not able to send the emails. I am using Send mail function in settings. I am being displayed by this error message as "while(1);/*{"composeLayoutId":"composeLayout1"}*/ ".

    Kindly give your valuable suggestions to resolve this.

    Thank you for your time.

    Regards,
    ShivaRanjani
    Attached Images Attached Images  

  6. #6
    letrium is offline Sugar Community Member
    Join Date
    Dec 2008
    Posts
    614

  7. #7
    shivaranjani is offline Sugar Community Member
    Join Date
    May 2008
    Posts
    174

    Default Re: Not able to send emails from Sugar5.2.i

    yes Linux is installed.

  8. #8
    Ezhilnilavan is offline Member
    Join Date
    Aug 2007
    Location
    Chennai
    Posts
    6

    Thumbs up Re: Not able to send emails from Sugar5.2.i

    Quote Originally Posted by shivaranjani View Post
    Hello,
    Yes I have set up and verified the settings. All seems to be fine.

    I am using SUGARCRM PROFESSIONAL VERSION. While sending mail from my application i am getting the following error:

    while(1);/*
    {"composeLayoutId":"composeLayout1"}*/

    SugarCRM Version :- Professional & 5.2.i
    Apache :- 2.2
    PHP :- 5.2
    Mysql :- 5.1
    Operatiing System :- CentOS

    Please help me out to resolve this problem.

    Thanks in Advance.

    Regards,
    ShivaRanjani
    ================================================== ===================

    In your Sugar CRM /modules/Emails/javascript/ajax.js file

    Find the function called sendEmailCleanUp():

    replace the following code:

    sendEmailCleanUp : function(o) {
    hideOverlay();
    var ret = JSON.parse(o.responseText);
    if (ret) {

    SUGAR.email2.composeLayout.forceCloseCompose("comp oseLayout1");
    //SUGAR.email2.addressBook.showContactMatches(ret.po ssibleMatches);
    } else if (o.responseText) {
    overlay(app_strings.LBL_EMAIL_ERROR_GENERAL_TITLE, o.responseText, 'alert');
    }
    SUGAR.email2.grid.getDataSource().reload();
    //Disabled while address book is disabled

    },



    Cheers,
    Ezhil Nilavan

  9. #9
    abhax's Avatar
    abhax is offline Senior Member
    Join Date
    Jun 2010
    Location
    India
    Posts
    65

    Default Re: Not able to send emails from Sugar5.2.i

    Quote Originally Posted by Ezhilnilavan View Post
    ================================================== ===================

    In your Sugar CRM /modules/Emails/javascript/ajax.js file

    Find the function called sendEmailCleanUp():

    replace the following code:

    sendEmailCleanUp : function(o) {
    hideOverlay();
    var ret = JSON.parse(o.responseText);
    if (ret) {

    SUGAR.email2.composeLayout.forceCloseCompose("comp oseLayout1");
    //SUGAR.email2.addressBook.showContactMatches(ret.po ssibleMatches);
    } else if (o.responseText) {
    overlay(app_strings.LBL_EMAIL_ERROR_GENERAL_TITLE, o.responseText, 'alert');
    }
    SUGAR.email2.grid.getDataSource().reload();
    //Disabled while address book is disabled

    },



    Cheers,
    Ezhil Nilavan

    Hi Ezhil,

    Version 5.2.0a (Build 5447)

    I tried the solution that you have provided for the problem above.
    But it didnt worked for me. Still getting the error.
    I have made some changes in the Email compose template (added a select box).
    dun know why this error is coming. the mail is still delivered to the recipient. Even when the error is coming.
    If It Is To Be, It Is Up To Me

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. can't send emails
    By nickgom1 in forum Help
    Replies: 2
    Last Post: 2009-09-05, 07:28 AM
  2. cannot send emails
    By Josepha in forum Help
    Replies: 5
    Last Post: 2008-09-26, 07:25 AM
  3. Send Emails doesnt work but send Test works
    By plasma in forum Marketing/Campaign Management
    Replies: 5
    Last Post: 2008-08-05, 12:57 AM
  4. send Emails
    By Tavares in forum Developer Help
    Replies: 0
    Last Post: 2007-03-15, 03:27 PM
  5. Can't send emails
    By pguerin in forum Help
    Replies: 2
    Last Post: 2005-09-22, 12: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
  •