File/plugins/autoresponder/backend/hmailserver.php

Description

hMailServer autoresponder backend Copyright (c) 2007 The NaSMail Project This file is part of NaSMail autoresponder plugin.

This plugin is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This plugin is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with plugin; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

  • version: $Id: $
  • copyright: (c) 2007 The NaSMail Project
Includes
 include_once (SM_PATH.'functions/mime.php') (line 30)

load mime functions

Functions
arp_hmailserver_test_charconv (line 226)

Tests conversion from utf-8 (NaSMail internal charset) to iso-8859-1 (charset supported by hMailServer v4)

Currently function is used due to broken MIME support in hMailServer v4.

  • return: true, if text can be converted to iso-8859-1, false, if conversion fails.
boolean arp_hmailserver_test_charconv (string $string)
  • string $string: text in utf-8
autoresponder_conn_hmailserver (line 154)

Creates COM connection to hMailServer

  • return: hMailServer Account object or boolean false on error
object|boolean autoresponder_conn_hmailserver (array &$aErrors)
  • array &$aErrors: Variable used for error messages. If you alreay have some error messages in error array, preserve them somewhere or stop script execution before calling this function. Function will remove all existing error messages.
autoresponder_init_hmailserver (line 47)
void autoresponder_init_hmailserver ()
autoresponder_save_hmailserver (line 78)

Saves auto-reply data

array autoresponder_save_hmailserver ()

Documentation generated on Sun, 22 Nov 2009 17:36:37 +0200 by phpDocumentor 1.4.3