Results 1 to 6 of 6

Thread: How to send good email with an image

  1. #1
    Zarg is offline Sugar Community Member
    Join Date
    Feb 2005
    Posts
    36

    Default How to send good email with an image

    Hello,

    I tried to sent an email with an image from SugarCRM 4.2. Solved the problem with FCKeditor, but now I have another problem.
    When I get that mail message to Outlook, I see that I should download an image and url is: UserFiles/..... So as u can mention,I get no image at all. CRM system is in a local server and recipient can't reach that image from server.
    Is there any way to configure Sugar that it would attach that image to an email like Outlook does?

    Regards,
    Zarg

  2. #2
    jorgex is offline Junior Member
    Join Date
    Aug 2006
    Posts
    4

    Default Re: How to send good email with an image

    Hello, I have a similar problem.

    My plataform: Linux Slackware, Apache2, PHP. I try with versions SugarCRM 4.2.0, 4.2.0d and now 4.2.1b.

    I can't show or upload images or other files with fckeditor, I can neither create folders.

    I do consistently Internet Explorer get a javascript error when the resources browser opens up. (object required. line 120). If I use Firefox don't get any error, but neither upload images.
    Error IExplorer: include/FCKeditor/editor/filemanager/browser/default/frmresourceslist.html (object required. line 120, Car.2)

    I have updated fckconfig.js to use connector language 'php' instead of 'asp'. I have updated the config.php files to ensure that Config['enabled'] = true for filemanager/browser/php/config.php and filemanager/upload/php/config.php.

    When I look at my apache logs I see that the connector language is correctly 'php' as when I try to upload an image file or create a folder my log shows:

    "POST /include/FCKeditor/editor/filemanager/browser/default/connectors/php/connector.php?Command=FileUpload&Type=Image&Curren tFolder=/ HTTP/1.1" 302 276 ..."

    but not upload nothing.

    I try all, I need help also. thanks.

  3. #3
    Zarg is offline Sugar Community Member
    Join Date
    Feb 2005
    Posts
    36

    Default Re: How to send good email with an image

    Quote Originally Posted by jorgex
    Hello, I have a similar problem.

    My plataform: Linux Slackware, Apache2, PHP. I try with versions SugarCRM 4.2.0, 4.2.0d and now 4.2.1b.

    I can't show or upload images or other files with fckeditor, I can neither create folders.

    I do consistently Internet Explorer get a javascript error when the resources browser opens up. (object required. line 120). If I use Firefox don't get any error, but neither upload images.
    Error IExplorer: include/FCKeditor/editor/filemanager/browser/default/frmresourceslist.html (object required. line 120, Car.2)

    I have updated fckconfig.js to use connector language 'php' instead of 'asp'. I have updated the config.php files to ensure that Config['enabled'] = true for filemanager/browser/php/config.php and filemanager/upload/php/config.php.

    When I look at my apache logs I see that the connector language is correctly 'php' as when I try to upload an image file or create a folder my log shows:

    "POST /include/FCKeditor/editor/filemanager/browser/default/connectors/php/connector.php?Command=FileUpload&Type=Image&Curren tFolder=/ HTTP/1.1" 302 276 ..."

    but not upload nothing.

    I try all, I need help also. thanks.
    I think u have a bit dif. problem.
    Do such updates:
    inlude/FCKeditor/fckconfig.js
    change:
    var _FileBrowserLanguage = 'asp' ; to var _FileBrowserLanguage = 'php';
    var _QuickUploadLanguage = 'asp' ; to var _QuickUploadLanguage = 'php' ;
    include/FCKeditor/editor/filemanager/upload/php/config.php
    change:
    $Config['Enabled'] = false ; to $Config['Enabled'] = true ;
    include\FCKeditor\editor\filemanager\browser\defau lt\connectors\php\config.php
    change the same.
    Create UserFiles folger in root directory of CRM.
    That should help.

  4. #4
    seansealey is offline Sugar Community Member
    Join Date
    Nov 2005
    Posts
    18

    Default Re: How to send good email with an image

    Zarg,

    I also just did all the changes you recomnend, and have the same problems as the poster above. I just can't get FCKeditor to work properly with uploading images.

    Do you have any other ideas of where to trouble shoot?

    /Sean

  5. #5
    jorgex is offline Junior Member
    Join Date
    Aug 2006
    Posts
    4

    Unhappy Re: How to send good email with an image

    Quote Originally Posted by Zarg
    Do such updates:
    inlude/FCKeditor/fckconfig.js
    change:
    var _FileBrowserLanguage = 'asp' ; to var _FileBrowserLanguage = 'php';
    var _QuickUploadLanguage = 'asp' ; to var _QuickUploadLanguage = 'php' ;
    include/FCKeditor/editor/filemanager/upload/php/config.php
    change:
    $Config['Enabled'] = false ; to $Config['Enabled'] = true ;
    include\FCKeditor\editor\filemanager\browser\defau lt\connectors\php\config.php
    change the same.
    Create UserFiles folger in root directory of CRM.
    This changes I just tried and I have the same problems.

    Thanks

  6. #6
    sctoile is offline Junior Member
    Join Date
    Feb 2007
    Posts
    1

    Default Re: How to send good email with an image

    i didn't know if it's ok for you now but to load image you need to put it on the web in your site for example and after write in sugar the url adress of your image
    Bye

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
  •