Results 1 to 5 of 5

Thread: Help making Sugar Email usable

  1. #1
    datasponge is offline Sugar Community Member
    Join Date
    Mar 2008
    Location
    San Jose, CA, USA
    Posts
    553

    Default Help making Sugar Email usable

    Hi All,

    I'm trying to make the Email module in Sugar usable. The primary problem is users want to send an email by clicking an email address, but this causes problems:

    1. Emails sent from Sugar and received as text-only have no line breaks and so look unprofessional
    2. Links in Sugar link to the Emails module even when no email is configured

    If I can solve either of these, we can initiate email from Sugar.

    Is there a way to fix line breaks in text emails?

    Is there a way to make the email links mailto links rather than Sugar index links?

    I've got other complaints about the receiving email in the Sugar client (like notification of new email), but I'm fine with the basic import screens, so we'll probably create a new email just for Sugar imports so sales can bcc or forward to it, and have a sales assistant monitor it and import to relate to accounts.

    We're using SugarCRM Version 5.2.0f. Are there better email features in later releases (e.g. 5.5)? Planned?

    Thanks

    Phil

  2. #2
    stevec is offline Sugar Community Member
    Join Date
    Oct 2005
    Location
    London
    Posts
    1,100

    Default Re: Help making Sugar Email usable

    Hi,

    You can set the email client to use in the users preferences - either sugar, external or system default.
    The system default is set in the email settings page - called "Compose email using this client".

    The plans for 5.5.1 are mainly to fix the email sub-system, check the 5.5.1 announcement thread in the forum.

  3. #3
    datasponge is offline Sugar Community Member
    Join Date
    Mar 2008
    Location
    San Jose, CA, USA
    Posts
    553

    Default Re: Help making Sugar Email usable

    Thanks Steve,

    The client selection is better than I had hoped for and gives users their own control.

    Does anyone know anything about fixing the line-breaks? I see lots of bugs and reports about sending as text, but this is sending as HTML and receiving as Text-only in a low-end mail client like Outlook Express. When I send from other clients I've tried, I get the line breaks, but when sending from Sugar I don't.

    I dug around in ./modules/Emails/Compose.php and ./modules/Emails/Email.php and I was able to modify the body of the received message, but haven't figured out what is causing the line-breaks to get stripped yet.

    Specifically, I tried adding lines like below to Email.php to add line breaks:
    PHP Code:
    $body str_replace("/p>","/p>\n",$body); 
    PHP Code:
    $body str_replace("<p>","<div><p>",$body);
    $body str_replace("</p>","</p></div>\n",$body); 
    PHP Code:
    $body str_replace("/p>","/p><br />\n",$body); 
    All of these changed the html source received as intended, but did not eliminate the behavior of stripping the line breaks.

    Any ideas appreciated.

    Phil

  4. #4
    boward1957 is offline Junior Member
    Join Date
    Oct 2009
    Posts
    3

    Default Re: Help making Sugar Email usable

    I have had numerous issues with line breaks using the rich text editor in the email module in sugar. I have to test every email before it's sent in order to verify what I'm seeing in the editor is actually going out that way. BUT the same thing happens in many RTEs, such as Wordpress and Drupal. So I think it's an editor issue rather than Sugar!

  5. #5
    datasponge is offline Sugar Community Member
    Join Date
    Mar 2008
    Location
    San Jose, CA, USA
    Posts
    553

    Default Re: Help making Sugar Email usable

    Quote Originally Posted by boward1957 View Post
    I have had numerous issues with line breaks using the rich text editor in the email module in sugar. I have to test every email before it's sent in order to verify what I'm seeing in the editor is actually going out that way. BUT the same thing happens in many RTEs, such as Wordpress and Drupal. So I think it's an editor issue rather than Sugar!
    That's useful info about other editor behavior, but my issue is a little different. It has to do with how html content gets converted to text when the recipient elects to RECEIVE the message as text only for virus or other reasons.

    When I send an HTML (Rich text message) created in other email clients including Outlook Express, netaddress, gmail the line breaks are preserved properly when received as text. When I send it from Sugar, it's one long run-on message (when received as text).

    Phil

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Please make your bug search more usable
    By maschek in forum Site feedback
    Replies: 3
    Last Post: 2008-08-07, 10:04 AM
  2. Help, newbie needs help making 4.5 modules work in sugar 5
    By und3rgr0undz3r0 in forum Installation and Upgrade Help
    Replies: 1
    Last Post: 2008-02-06, 03:01 PM
  3. Bug makes Campaigns module un-usable.
    By clearwater in forum Help
    Replies: 2
    Last Post: 2008-02-05, 05:42 PM
  4. Usable error message boxes
    By kenlyle in forum Feature Requests
    Replies: 0
    Last Post: 2008-02-02, 09:46 PM
  5. Re-usable Tracker URL's
    By rschilke in forum Feature Requests
    Replies: 0
    Last Post: 2006-06-28, 11:09 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
  •