Overview

Packages

  • Imap
    • Client

Classes

  • Horde_Imap_Client
  • Horde_Imap_Client_Auth_DigestMD5
  • Horde_Imap_Client_Base
  • Horde_Imap_Client_Cache
  • Horde_Imap_Client_Data_Acl
  • Horde_Imap_Client_Data_AclCommon
  • Horde_Imap_Client_Data_AclNegative
  • Horde_Imap_Client_Data_AclRights
  • Horde_Imap_Client_Data_Envelope
  • Horde_Imap_Client_Data_Fetch
  • Horde_Imap_Client_Data_Fetch_Pop3
  • Horde_Imap_Client_Data_Thread
  • Horde_Imap_Client_DateTime
  • Horde_Imap_Client_Exception
  • Horde_Imap_Client_Exception_NoSupportExtension
  • Horde_Imap_Client_Fetch_Query
  • Horde_Imap_Client_Ids
  • Horde_Imap_Client_Ids_Pop3
  • Horde_Imap_Client_Mailbox
  • Horde_Imap_Client_Search_Query
  • Horde_Imap_Client_Socket
  • Horde_Imap_Client_Socket_Pop3
  • Horde_Imap_Client_Sort
  • Horde_Imap_Client_Translation
  • Horde_Imap_Client_Utf7imap
  • Horde_Imap_Client_Utils
  • Horde_Imap_Client_Utils_Pop3
  • Overview
  • Package
  • Class
  • Tree

Class Horde_Imap_Client_Utf7imap

Allows conversions between UTF-8 and UTF7-IMAP (RFC 3501 [5.1.3]).

Originally based on code: Copyright (C) 2000 Edmund Grimley Evans edmundo@rano.org Released under the GPL (version 2) Translated from C to PHP by Thomas Bruederli roundcube@gmail.com Code extracted from the RoundCube Webmail (http://roundcube.net) project, SVN revision 1757 The RoundCube project is released under the GPL (version 2)

Copyright 2008-2012 Horde LLC (http://www.horde.org/)

See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.

Package: Imap\Client
Category: Horde
License: LGPL 2.1
Author: Michael Slusarz slusarz@horde.org
Located at Horde/Imap/Client/Utf7imap.php
Methods summary
public static string
# Utf7ImapToUtf8( string $str )

Convert a string from UTF7-IMAP to UTF-8.

Convert a string from UTF7-IMAP to UTF-8.

Parameters

$str
The UTF7-IMAP string.

Returns

string
The converted UTF-8 string.

Throws

Horde_Imap_Client_Exception
public static string
# Utf8ToUtf7Imap( string $str, boolean $force = false )

Convert a string from UTF-8 to UTF7-IMAP.

Convert a string from UTF-8 to UTF7-IMAP.

Parameters

$str
The UTF-8 string.
$force
<p>Assume $str is UTF-8 (no-autodetection)? If false, attempts to auto-detect if string is already in UTF7-IMAP. (Since 1.2.0)</p>

Returns

string
The converted UTF7-IMAP string.

Throws

Horde_Imap_Client_Exception
API documentation generated by ApiGen