`

roundcubemail

PHP 
阅读更多
roundcubemail-0.3.1中文附件名称解决办法
文件目录:
\program\include\rcube_imap.php

function_name: _set_part_filename

代码片段:


 // decode filename
    if (!empty($filename_mime)) {
	      if(stristr($filename_mime,'UTF-8')==TRUE){
	      	     $part->filename =rcube_charset_convert(urldecode(str_replace("UTF-8''","",$filename_mime)), $filename_charset);
	      }else{	
		      if($this->default_charset!='GB2312'){
		        $part->filename = rcube_imap::decode_mime_string($filename_mime, 
		        $part->charset ? $part->charset : $this->struct_charset ? $this->struct_charset :
			    rc_detect_encoding($filename_mime, $this->default_charset));
		      }
		      if($this->default_charset=='GB2312'){
		      	 $part->filename =rcube_charset_convert(urldecode($filename_mime), 'GB2312');
		      }
	      }
      } 
分享到:
评论

相关推荐

    roundcubemail配置笔记.docx

    Roundcubemail 配置笔记 Roundcubemail 是一个基于 Web 的电子邮件客户端,支持多种邮件协议和插件拓展。本文档主要介绍如何在 Windows 平台上搭建 Roundcubemail 服务器,配置 Apache 别名、Roundcube Webmail ...

    roundcubemail-1.3.9-complete .tar.gz

    tar -zxvf roundcubemail-1.3.3-complete.tar.gz -C /var/www mv /var/www/roundcubemail-1.3.3 /var/www/roundcube chown -R www-data:www-data /var/www/roundcube echo '0 0 * * * root bash /var/...

    RoundcubEmail在Hmail上的配置

    ### RoundcubEmail在Hmail上的配置详解 #### 引言 RoundcubEmail是一款功能强大的Web邮件客户端,因其开放源代码、丰富的插件支持以及跨平台特性(兼容Windows和Linux),深受用户喜爱。尤其值得一提的是,它允许...

    roundcubemail-0.7.tar

    在本文中,我们将深入探讨Roundcube Mail的核心特性、功能以及其在【roundcubemail-0.7.tar】这个特定版本中的亮点。 首先,让我们理解什么是Roundcube Mail。它是一个多语言支持的Webmail应用程序,允许用户通过...

    WAMP+Hmailserver+Roundcubemail

    - 访问`http://[your-domain]/roundcubemail`完成安装向导。 ### 总结 通过上述步骤,我们可以在Windows Server 2008环境下成功搭建基于WAMP平台的邮件系统。该系统不仅能够提供基本的邮件收发功能,还能通过Web...

    国外优秀的开源邮箱系统roundcubemail

    Roundcube Mail是一款在国外备受赞誉的开源Web邮件客户端,它的出现为用户提供了一种高效、美观且功能丰富的邮件管理方式。这款应用完全基于Web界面,支持多种操作系统,包括Windows和Linux,体现了其跨平台的特性。...

    最新roundcubemail版本

    tar -xf roundcubemail-1.3.3-complete.tar.gz mv roundcubemail-1.3.3 /var/www/webmail/ chown -R apache:apache /var/www/webmail/ 权限务必要设好,否则后面会出现无法生存inc文件 chmod -R 755 /var/...

    roundcubemail-1.4.3-complete.tar.gz

    下载并解压"roundcubemail-1.4.3-complete.tar.gz"文件后,将得到一个名为"roundcubemail-1.4.3"的目录。这个目录包含了所有需要的文件和配置示例。将整个目录上传到服务器的适当位置,例如公共HTML目录,以便通过...

    roundcubemail-0.8.2.tar

    安装Roundcube Mail涉及下载源代码(如roundcubemail-0.8.2.tar),解压文件,然后按照官方提供的文档进行配置和安装。这通常包括设置数据库连接、配置Web服务器(如Apache或Nginx)、安装依赖库等步骤。 5. **...

    webmail roundcubemail

    在文件名"roundcubemail-1.1.4"中,我们可以推断这是RoundCube的一个版本号,表示的是1.1.4版本。每个版本的更新可能包含错误修复、性能优化以及新功能的引入。安装或升级到这个版本,用户可以享受到该版本提供的...

    完整的roundcube邮件系统搭建过程1.rar

    wget https://github.com/roundcube/roundcubemail/releases/download/v1.5.x/roundcubemail-1.5.x.tar.gz tar -zxvf roundcubemail-1.5.x.tar.gz -C /var/www/html/ mv /var/...

    roundcubemail邮件客户端

    **圆桌邮件客户端(Roundcube Mail)详解** 圆桌邮件客户端(Roundcube Mail)是一款流行的开源Web邮件应用程序,它提供了用户友好的界面和强大的功能,让用户可以通过任何支持Web浏览器的设备来访问和管理他们的...

    roundcubemail:Roundcube Webmail套件

    Roundcube Webmail注意力这只是GIT存储库中的快照,不是Roundcube的稳定版本。 不建议用此版本替换Roundcube的现有安装。 强烈建议为此安装使用单独的数据库。介绍Roundcube Webmail是基于浏览器的多语言IMAP客户端...

    roundcubemail-源码.rar

    《Roundcube Mail源码解析与应用》 Roundcube Mail是一款基于Web的开源邮件客户端,它提供了用户友好的界面,支持多种邮箱协议,如IMAP、SMTP等,使得用户可以通过浏览器轻松管理自己的邮件。本文将深入探讨...

    搭建postfix邮件服务器-apache、php、mysql、roundcubemail、mailscanner、clamav、dovecot、postfix

    根据给定的信息,本文将详细介绍如何使用 Apache、PHP、MySQL、Roundcube Mail、MailScanner、ClamAV、Dovecot 和 Postfix 搭建一个完整的邮件服务器。 ### 一、运行环境 #### 1.1 系统配置 - **操作系统**:Red ...

    roundcubemail-0.5.3

    《Roundcube Mail 0.5.3:一款强大的开源Web邮件客户端》 圆桌邮件(Roundcube Mail)是一款广泛使用的开源Web邮件客户端,其0.5.3版本为用户提供了一个功能丰富的界面,允许用户通过任何支持Web浏览器的设备访问...

    WebMail邮件服务器搭建:postfix+dovecot+roundcube (原理加全操作-详细)

    WebMail 邮件服务器搭建:postfix+dovecot+roundcube 邮件服务器是Internet应用中一个非常重要的组件,它们负责将电子邮件从发送者传递到接收者。邮件服务器可以分为三个部分:Mail User Agent(MUA)、Mail ...

    关于修改Roundcube Webmail上传附件的大小

    ### 关于修改Roundcube Webmail上传附件的大小 在日常工作中,我们经常需要通过电子邮件发送文件,有时这些文件的大小超过了默认的限制,这就会导致发送失败或出现其他错误。对于使用Roundcube Webmail系统的用户而...

    完整的roundcube邮件系统搭建过程2.rar

    GRANT ALL PRIVILEGES ON roundcubemail.* TO 'roundcubeuser'@'localhost' IDENTIFIED BY 'yourpassword'; FLUSH PRIVILEGES; EXIT; ``` 记得将`yourpassword`替换为你的自定义密码。 现在,从Roundcube官方网站...

Global site tag (gtag.js) - Google Analytics