Results 1 to 2 of 2

Thread: html attachments saved as .txt

  1. #1
    raooul is offline Junior Member
    Join Date
    Feb 2010
    Posts
    6

    Default html attachments saved as .txt

    BSD 7
    PHP 5.2.9
    Sugar 5.5.1 CE
    MySQL 5.1

    Everytime myself or a user attaches an html note as an attachment to an account it gets suffix'd with .txt i.e. "example.htm.txt" meaning you have to download and then rename to .html in order to read/open it.

    Any ideas ?

  2. #2
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,597

    Default Re: html attachments saved as .txt

    Just open the config.php, search the entry "upload_badext" and delete or comment the types "htm" and "html".

    PHP Code:
      'upload_badext' => 
      array (
        
    => 'php',
        
    => 'php3',
        
    => 'php4',
        
    => 'php5',
        
    => 'pl',
        
    => 'cgi',
        
    => 'py',
        
    => 'asp',
        
    => 'cfm',
        
    => 'js',
        
    10 => 'vbs',
    //KUSKE
    /******
        11 => 'html',
        12 => 'htm',
    ******/
    //KUSKE
      
    ), 
    Harald Kuske
    Pre-Sales Engineer Central Europe

    SUGARCRM Deutschland GmbH
    Erika-Mann-Str. 53, 80636 Munich, Germany
    Email: hkuske@sugarcrm.com
    Home: http://www.sugarcrm.com


Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 2008-11-03, 08:33 AM
  2. Replies: 6
    Last Post: 2008-07-10, 04:18 PM
  3. Replies: 3
    Last Post: 2007-05-17, 05:45 PM
  4. Removing attachments from Notes/ Mulitple attachments
    By malcolmh in forum Feature Requests
    Replies: 4
    Last Post: 2006-09-15, 08:25 PM
  5. Replies: 0
    Last Post: 2006-07-29, 11:20 AM

Tags for this Thread

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
  •