<?php

/*
  MailBeez Automatic Trigger Email Campaigns
  http://www.mailbeez.com

  Copyright (c) 2010 - 2014 MailBeez

  inspired and in parts based on
  Copyright (c) 2003 osCommerce

  Released under the GNU General Public License
  
  
  V2.9.7
 */

///////////////////////////////////////////////////////////////////////////////
///																																					 //
///                 MailBeez Core file - do not edit                         //
///                                                                          //
///////////////////////////////////////////////////////////////////////////////

require_once(MH_DIR_FS_CATALOG . MH_ROOT_PATH . 'common/classes/configbeez.php');

class config_email_engine_n2g extends configbeez
{

// class constructor
    function __construct()
    {
        parent::__construct();
        $this->code = 'config_email_engine_n2g';
        $this->module = 'config_email_engine_n2g'; // same as folder name
        $this->version = '1.0'; // float value
        $this->title = mh_lng('MAILBEEZ_CONFIG_EMAIL_ENGINE_N2G_TEXT_TITLE');
        $this->description = mh_lng('MAILBEEZ_CONFIG_EMAIL_ENGINE_N2G_TEXT_DESCRIPTION');
        $this->description_image = '../../common/images/icon_system_64.png';
        $this->icon = '../../common/images/icon_system.png';
        $this->removable = false; // can't be removed
        $this->stealth = true; // don't list as an installed module
        $this->display_as_submodule_of = 'config';
        $this->sort_order = 1.3;
        $this->enabled = false;
        $this->hidden = true;

    }

    function config_email_engine_n2g()
    {
        self::__construct();
    }

// class methods

    function getAudience()
    {
        return false;
    }

    function check()
    {
        return true;
    }

    function remove()
    {
        return false;
    }

    // installation methods

    function keys()
    {

        $keys_array = array('MAILBEEZ_CONFIG_EMAIL_ENGINE_N2G', 'MAILBEEZ_CONFIG_EMAIL_ENGINE_N2G_API_VERSION', 'MAILBEEZ_CONFIG_EMAIL_ENCODE_SUBJECT', 'MAILBEEZ_CONFIG_EMAIL_ENGINE_N2G_ENCODING', 'MAILBEEZ_CONFIG_EMAIL_ENGINE_N2G_WORDWRAP',  /* 'MAILBEEZ_EMAIL_TRANSPORT', */
            'MAILBEEZ_CONFIG_EMAIL_ENGINE_N2G_DEBUG_MODE', 'MAILBEEZ_SMTP_USERNAME', 'MAILBEEZ_SMTP_PASSWORD', 'MAILBEEZ_SMTP_MAIN_SERVER', 'MAILBEEZ_SMTP_BACKUP_SERVER', 'MAILBEEZ_SMTP_AUTH', 'MAILBEEZ_SMTP_SECURE', 'MAILBEEZ_SMTP_PORT', 'MAILBEEZ_CONFIG_EMAIL_BUGFIX_1');

        $keys_array = array_merge($keys_array, array('MAILBEEZ_EMAIL_USE_TXT_ONLY' /*, 'MAILBEEZ_SENDMAIL_PATH' */));


        return $keys_array;
    }

    function install()
    {
        return false;
    }

}
