BUG 6664 "smpt configuration does support to saecure connections like gmail now"

* A radio group option was added into smtp configuration interface to select a secure connetion type
* The phpMailer thirdparty library was updated to support ssl and tls secure connections
This commit is contained in:
Erik Amaru Ortiz
2011-04-19 17:16:12 -04:00
parent 50bf854bee
commit cfa12468db
38 changed files with 4320 additions and 4166 deletions

View File

@@ -2756,6 +2756,7 @@ class XmlForm_Field_RadioGroup extends XmlForm_Field {
var $sqlConnection = 0; var $sqlConnection = 0;
var $sql = ''; var $sql = '';
var $sqlOption = array (); var $sqlOption = array ();
var $viewAlign = 'vertical';
var $hint; var $hint;
var $linkType; var $linkType;
@@ -2803,6 +2804,9 @@ class XmlForm_Field_RadioGroup extends XmlForm_Field {
} }
if($this->viewAlign == 'horizontal')
$html .=' ';
else
$html .='<br>'; $html .='<br>';
} }

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,407 @@
<?php
/*~ class.pop3.php
.---------------------------------------------------------------------------.
| Software: PHPMailer - PHP email class |
| Version: 5.1 |
| Contact: via sourceforge.net support pages (also www.codeworxtech.com) |
| Info: http://phpmailer.sourceforge.net |
| Support: http://sourceforge.net/projects/phpmailer/ |
| ------------------------------------------------------------------------- |
| Admin: Andy Prevost (project admininistrator) |
| Authors: Andy Prevost (codeworxtech) codeworxtech@users.sourceforge.net |
| : Marcus Bointon (coolbru) coolbru@users.sourceforge.net |
| Founder: Brent R. Matzelle (original founder) |
| Copyright (c) 2004-2009, Andy Prevost. All Rights Reserved. |
| Copyright (c) 2001-2003, Brent R. Matzelle |
| ------------------------------------------------------------------------- |
| License: Distributed under the Lesser General Public License (LGPL) |
| http://www.gnu.org/copyleft/lesser.html |
| This program is distributed in the hope that it will be useful - WITHOUT |
| ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
| FITNESS FOR A PARTICULAR PURPOSE. |
| ------------------------------------------------------------------------- |
| We offer a number of paid services (www.codeworxtech.com): |
| - Web Hosting on highly optimized fast and secure servers |
| - Technology Consulting |
| - Oursourcing (highly qualified programmers and graphic designers) |
'---------------------------------------------------------------------------'
*/
/**
* PHPMailer - PHP POP Before SMTP Authentication Class
* NOTE: Designed for use with PHP version 5 and up
* @package PHPMailer
* @author Andy Prevost
* @author Marcus Bointon
* @copyright 2004 - 2009 Andy Prevost
* @license http://www.gnu.org/copyleft/lesser.html Distributed under the Lesser General Public License (LGPL)
* @version $Id: class.pop3.php 444 2009-05-05 11:22:26Z coolbru $
*/
/**
* POP Before SMTP Authentication Class
* Version 5.0.0
*
* Author: Richard Davey (rich@corephp.co.uk)
* Modifications: Andy Prevost
* License: LGPL, see PHPMailer License
*
* Specifically for PHPMailer to allow POP before SMTP authentication.
* Does not yet work with APOP - if you have an APOP account, contact Richard Davey
* and we can test changes to this script.
*
* This class is based on the structure of the SMTP class originally authored by Chris Ryan
*
* This class is rfc 1939 compliant and implements all the commands
* required for POP3 connection, authentication and disconnection.
*
* @package PHPMailer
* @author Richard Davey
*/
class POP3 {
/**
* Default POP3 port
* @var int
*/
public $POP3_PORT = 110;
/**
* Default Timeout
* @var int
*/
public $POP3_TIMEOUT = 30;
/**
* POP3 Carriage Return + Line Feed
* @var string
*/
public $CRLF = "\r\n";
/**
* Displaying Debug warnings? (0 = now, 1+ = yes)
* @var int
*/
public $do_debug = 2;
/**
* POP3 Mail Server
* @var string
*/
public $host;
/**
* POP3 Port
* @var int
*/
public $port;
/**
* POP3 Timeout Value
* @var int
*/
public $tval;
/**
* POP3 Username
* @var string
*/
public $username;
/**
* POP3 Password
* @var string
*/
public $password;
/////////////////////////////////////////////////
// PROPERTIES, PRIVATE AND PROTECTED
/////////////////////////////////////////////////
private $pop_conn;
private $connected;
private $error; // Error log array
/**
* Constructor, sets the initial values
* @access public
* @return POP3
*/
public function __construct() {
$this->pop_conn = 0;
$this->connected = false;
$this->error = null;
}
/**
* Combination of public events - connect, login, disconnect
* @access public
* @param string $host
* @param integer $port
* @param integer $tval
* @param string $username
* @param string $password
*/
public function Authorise ($host, $port = false, $tval = false, $username, $password, $debug_level = 0) {
$this->host = $host;
// If no port value is passed, retrieve it
if ($port == false) {
$this->port = $this->POP3_PORT;
} else {
$this->port = $port;
}
// If no port value is passed, retrieve it
if ($tval == false) {
$this->tval = $this->POP3_TIMEOUT;
} else {
$this->tval = $tval;
}
$this->do_debug = $debug_level;
$this->username = $username;
$this->password = $password;
// Refresh the error log
$this->error = null;
// Connect
$result = $this->Connect($this->host, $this->port, $this->tval);
if ($result) {
$login_result = $this->Login($this->username, $this->password);
if ($login_result) {
$this->Disconnect();
return true;
}
}
// We need to disconnect regardless if the login succeeded
$this->Disconnect();
return false;
}
/**
* Connect to the POP3 server
* @access public
* @param string $host
* @param integer $port
* @param integer $tval
* @return boolean
*/
public function Connect ($host, $port = false, $tval = 30) {
// Are we already connected?
if ($this->connected) {
return true;
}
/*
On Windows this will raise a PHP Warning error if the hostname doesn't exist.
Rather than supress it with @fsockopen, let's capture it cleanly instead
*/
set_error_handler(array(&$this, 'catchWarning'));
// Connect to the POP3 server
$this->pop_conn = fsockopen($host, // POP3 Host
$port, // Port #
$errno, // Error Number
$errstr, // Error Message
$tval); // Timeout (seconds)
// Restore the error handler
restore_error_handler();
// Does the Error Log now contain anything?
if ($this->error && $this->do_debug >= 1) {
$this->displayErrors();
}
// Did we connect?
if ($this->pop_conn == false) {
// It would appear not...
$this->error = array(
'error' => "Failed to connect to server $host on port $port",
'errno' => $errno,
'errstr' => $errstr
);
if ($this->do_debug >= 1) {
$this->displayErrors();
}
return false;
}
// Increase the stream time-out
// Check for PHP 4.3.0 or later
if (version_compare(phpversion(), '5.0.0', 'ge')) {
stream_set_timeout($this->pop_conn, $tval, 0);
} else {
// Does not work on Windows
if (substr(PHP_OS, 0, 3) !== 'WIN') {
socket_set_timeout($this->pop_conn, $tval, 0);
}
}
// Get the POP3 server response
$pop3_response = $this->getResponse();
// Check for the +OK
if ($this->checkResponse($pop3_response)) {
// The connection is established and the POP3 server is talking
$this->connected = true;
return true;
}
}
/**
* Login to the POP3 server (does not support APOP yet)
* @access public
* @param string $username
* @param string $password
* @return boolean
*/
public function Login ($username = '', $password = '') {
if ($this->connected == false) {
$this->error = 'Not connected to POP3 server';
if ($this->do_debug >= 1) {
$this->displayErrors();
}
}
if (empty($username)) {
$username = $this->username;
}
if (empty($password)) {
$password = $this->password;
}
$pop_username = "USER $username" . $this->CRLF;
$pop_password = "PASS $password" . $this->CRLF;
// Send the Username
$this->sendString($pop_username);
$pop3_response = $this->getResponse();
if ($this->checkResponse($pop3_response)) {
// Send the Password
$this->sendString($pop_password);
$pop3_response = $this->getResponse();
if ($this->checkResponse($pop3_response)) {
return true;
} else {
return false;
}
} else {
return false;
}
}
/**
* Disconnect from the POP3 server
* @access public
*/
public function Disconnect () {
$this->sendString('QUIT');
fclose($this->pop_conn);
}
/////////////////////////////////////////////////
// Private Methods
/////////////////////////////////////////////////
/**
* Get the socket response back.
* $size is the maximum number of bytes to retrieve
* @access private
* @param integer $size
* @return string
*/
private function getResponse ($size = 128) {
$pop3_response = fgets($this->pop_conn, $size);
return $pop3_response;
}
/**
* Send a string down the open socket connection to the POP3 server
* @access private
* @param string $string
* @return integer
*/
private function sendString ($string) {
$bytes_sent = fwrite($this->pop_conn, $string, strlen($string));
return $bytes_sent;
}
/**
* Checks the POP3 server response for +OK or -ERR
* @access private
* @param string $string
* @return boolean
*/
private function checkResponse ($string) {
if (substr($string, 0, 3) !== '+OK') {
$this->error = array(
'error' => "Server reported an error: $string",
'errno' => 0,
'errstr' => ''
);
if ($this->do_debug >= 1) {
$this->displayErrors();
}
return false;
} else {
return true;
}
}
/**
* If debug is enabled, display the error message array
* @access private
*/
private function displayErrors () {
echo '<pre>';
foreach ($this->error as $single_error) {
print_r($single_error);
}
echo '</pre>';
}
/**
* Takes over from PHP for the socket warning handler
* @access private
* @param integer $errno
* @param string $errstr
* @param string $errfile
* @param integer $errline
*/
private function catchWarning ($errno, $errstr, $errfile, $errline) {
$this->error[] = array(
'error' => "Connecting to the POP3 server raised a PHP warning: ",
'errno' => $errno,
'errstr' => $errstr
);
}
// End of class
}
?>

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,27 @@
<?php
/**
* PHPMailer language file: refer to English translation for definitive list
* Arabic Version, UTF-8
* by : bahjat al mostafa <bahjat983@hotmail.com>
*/
$PHPMAILER_LANG['authenticate'] = 'SMTP Error: لم نستطع تأكيد الهوية.';
$PHPMAILER_LANG['connect_host'] = 'SMTP Error: لم نستطع الاتصال بمخدم SMTP.';
$PHPMAILER_LANG['data_not_accepted'] = 'SMTP Error: لم يتم قبول المعلومات .';
//$PHPMAILER_LANG['empty_message'] = 'Message body empty';
$PHPMAILER_LANG['encoding'] = 'ترميز غير معروف: ';
$PHPMAILER_LANG['execute'] = 'لم أستطع تنفيذ : ';
$PHPMAILER_LANG['file_access'] = 'لم نستطع الوصول للملف: ';
$PHPMAILER_LANG['file_open'] = 'File Error: لم نستطع فتح الملف: ';
$PHPMAILER_LANG['from_failed'] = 'البريد التالي لم نستطع ارسال البريد له : ';
$PHPMAILER_LANG['instantiate'] = 'لم نستطع توفير خدمة البريد.';
//$PHPMAILER_LANG['invalid_email'] = 'Not sending, email address is invalid: ';
$PHPMAILER_LANG['mailer_not_supported'] = ' mailer غير مدعوم.';
//$PHPMAILER_LANG['provide_address'] = 'You must provide at least one recipient email address.';
$PHPMAILER_LANG['recipients_failed'] = 'SMTP Error: الأخطاء التالية ' .
'فشل في الارسال لكل من : ';
$PHPMAILER_LANG['signing'] = 'خطأ في التوقيع: ';
//$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
//$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: ';
//$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: ';
?>

View File

@@ -1,21 +1,26 @@
<?php <?php
/** /**
* PHPMailer language file. * PHPMailer language file: refer to English translation for definitive list
* Portuguese Version * Portuguese Version
* By Paulo Henrique Garcia - paulo@controllerweb.com.br * By Paulo Henrique Garcia - paulo@controllerweb.com.br
*/ */
$PHPMAILER_LANG = array(); $PHPMAILER_LANG['authenticate'] = 'Erro de SMTP: Não foi possível autenticar.';
$PHPMAILER_LANG["provide_address"] = 'Você deve fornecer pelo menos um endereço de destinatário de email.'; $PHPMAILER_LANG['connect_host'] = 'Erro de SMTP: Não foi possível conectar com o servidor SMTP.';
$PHPMAILER_LANG["mailer_not_supported"] = ' mailer não suportado.'; $PHPMAILER_LANG['data_not_accepted'] = 'Erro de SMTP: Dados não aceitos.';
$PHPMAILER_LANG["execute"] = 'Não foi possível executar: '; //$PHPMAILER_LANG['empty_message'] = 'Message body empty';
$PHPMAILER_LANG["instantiate"] = 'Não foi possível instanciar a função mail.'; $PHPMAILER_LANG['encoding'] = 'Codificação desconhecida: ';
$PHPMAILER_LANG["authenticate"] = 'Erro de SMTP: Não foi possível autenticar.'; $PHPMAILER_LANG['execute'] = 'Não foi possível executar: ';
$PHPMAILER_LANG["from_failed"] = 'Os endereços de rementente a seguir falharam: '; $PHPMAILER_LANG['file_access'] = 'Não foi possível acessar o arquivo: ';
$PHPMAILER_LANG["recipients_failed"] = 'Erro de SMTP: Os endereços de destinatário a seguir falharam: '; $PHPMAILER_LANG['file_open'] = 'Erro de Arquivo: Não foi possível abrir o arquivo: ';
$PHPMAILER_LANG["data_not_accepted"] = 'Erro de SMTP: Dados não aceitos.'; $PHPMAILER_LANG['from_failed'] = 'Os endereços de rementente a seguir falharam: ';
$PHPMAILER_LANG["connect_host"] = 'Erro de SMTP: Não foi possível conectar com o servidor SMTP.'; $PHPMAILER_LANG['instantiate'] = 'Não foi possível instanciar a função mail.';
$PHPMAILER_LANG["file_access"] = 'Não foi possível acessar o arquivo: '; //$PHPMAILER_LANG['invalid_email'] = 'Not sending, email address is invalid: ';
$PHPMAILER_LANG["file_open"] = 'Erro de Arquivo: Não foi possível abrir o arquivo: '; $PHPMAILER_LANG['mailer_not_supported'] = ' mailer não suportado.';
$PHPMAILER_LANG["encoding"] = 'Codificação desconhecida: '; $PHPMAILER_LANG['provide_address'] = 'Você deve fornecer pelo menos um endereço de destinatário de email.';
$PHPMAILER_LANG['recipients_failed'] = 'Erro de SMTP: Os endereços de destinatário a seguir falharam: ';
//$PHPMAILER_LANG['signing'] = 'Signing Error: ';
//$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
//$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: ';
//$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: ';
?> ?>

View File

@@ -1,22 +1,26 @@
<?php <?php
/** /**
* PHPMailer language file. * PHPMailer language file: refer to English translation for definitive list
* Catalan Version * Catalan Version
* By Ivan: web AT microstudi DOT com * By Ivan: web AT microstudi DOT com
*/ */
$PHPMAILER_LANG = array(); $PHPMAILER_LANG['authenticate'] = 'Error SMTP: No s\'hapogut autenticar.';
$PHPMAILER_LANG['connect_host'] = 'Error SMTP: No es pot connectar al servidor SMTP.';
$PHPMAILER_LANG["provide_address"] = 'S\'ha de proveir almenys una adreça d\'email com a destinatari.'; $PHPMAILER_LANG['data_not_accepted'] = 'Error SMTP: Dades no acceptades.';
$PHPMAILER_LANG["mailer_not_supported"] = ' mailer no està suportat'; //$PHPMAILER_LANG['empty_message'] = 'Message body empty';
$PHPMAILER_LANG["execute"] = 'No es pot executar: '; $PHPMAILER_LANG['encoding'] = 'Codificació desconeguda: ';
$PHPMAILER_LANG["instantiate"] = 'No s\'ha pogut crear una instància de la funció Mail.'; $PHPMAILER_LANG['execute'] = 'No es pot executar: ';
$PHPMAILER_LANG["authenticate"] = 'Error SMTP: No s\'hapogut autenticar.'; $PHPMAILER_LANG['file_access'] = 'No es pot accedir a l\'arxiu: ';
$PHPMAILER_LANG["from_failed"] = 'La(s) següent(s) adreces de remitent han fallat: '; $PHPMAILER_LANG['file_open'] = 'Error d\'Arxiu: No es pot obrir l\'arxiu: ';
$PHPMAILER_LANG["recipients_failed"] = 'Error SMTP: Els següents destinataris han fallat: '; $PHPMAILER_LANG['from_failed'] = 'La(s) següent(s) adreces de remitent han fallat: ';
$PHPMAILER_LANG["data_not_accepted"] = 'Error SMTP: Dades no acceptades.'; $PHPMAILER_LANG['instantiate'] = 'No s\'ha pogut crear una instància de la funció Mail.';
$PHPMAILER_LANG["connect_host"] = 'Error SMTP: No es pot connectar al servidor SMTP.'; //$PHPMAILER_LANG['invalid_email'] = 'Not sending, email address is invalid: ';
$PHPMAILER_LANG["file_access"] = 'No es pot accedir a l\'arxiu: '; $PHPMAILER_LANG['mailer_not_supported'] = ' mailer no està suportat';
$PHPMAILER_LANG["file_open"] = 'Error d\'Arxiu: No es pot obrir l\'arxiu: '; $PHPMAILER_LANG['provide_address'] = 'S\'ha de proveir almenys una adreça d\'email com a destinatari.';
$PHPMAILER_LANG["encoding"] = 'Codificació desconeguda: '; $PHPMAILER_LANG['recipients_failed'] = 'Error SMTP: Els següents destinataris han fallat: ';
//$PHPMAILER_LANG['signing'] = 'Signing Error: ';
//$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
//$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: ';
//$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: ';
?> ?>

View File

@@ -0,0 +1,26 @@
<?php
/**
* PHPMailer language file: refer to English translation for definitive list
* Chinese Version
* By LiuXin: www.80x86.cn/blog/
*/
$PHPMAILER_LANG['authenticate'] = 'SMTP 错误:身份验证失败。';
$PHPMAILER_LANG['connect_host'] = 'SMTP 错误: 不能连接SMTP主机。';
$PHPMAILER_LANG['data_not_accepted'] = 'SMTP 错误: 数据不可接受。';
//$PHPMAILER_LANG['empty_message'] = 'Message body empty';
$PHPMAILER_LANG['encoding'] = '未知编码:';
$PHPMAILER_LANG['execute'] = '不能执行: ';
$PHPMAILER_LANG['file_access'] = '不能访问文件:';
$PHPMAILER_LANG['file_open'] = '文件错误:不能打开文件:';
$PHPMAILER_LANG['from_failed'] = '下面的发送地址邮件发送失败了: ';
$PHPMAILER_LANG['instantiate'] = '不能实现mail方法。';
//$PHPMAILER_LANG['invalid_email'] = 'Not sending, email address is invalid: ';
$PHPMAILER_LANG['mailer_not_supported'] = ' 您所选择的发送邮件的方法并不支持。';
$PHPMAILER_LANG['provide_address'] = '您必须提供至少一个 收信人的email地址。';
$PHPMAILER_LANG['recipients_failed'] = 'SMTP 错误: 下面的 收件人失败了: ';
//$PHPMAILER_LANG['signing'] = 'Signing Error: ';
//$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
//$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: ';
//$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: ';
?>

View File

@@ -1,24 +1,25 @@
<?php <?php
/** /**
* PHPMailer language file. * PHPMailer language file: refer to English translation for definitive list
* Czech Version * Czech Version
*/ */
$PHPMAILER_LANG = array(); $PHPMAILER_LANG['authenticate'] = 'SMTP Error: Chyba autentikace.';
$PHPMAILER_LANG['connect_host'] = 'SMTP Error: Nelze navázat spojení se SMTP serverem.';
$PHPMAILER_LANG["provide_address"] = 'Musíte zadat alespoò jednu ' . $PHPMAILER_LANG['data_not_accepted'] = 'SMTP Error: Data nebyla pøijata';
'emailovou adresu pøíjemce.'; //$PHPMAILER_LANG['empty_message'] = 'Message body empty';
$PHPMAILER_LANG["mailer_not_supported"] = ' mailový klient není podporován.'; $PHPMAILER_LANG['encoding'] = 'Neznámé kódování: ';
$PHPMAILER_LANG["execute"] = 'Nelze provést: '; $PHPMAILER_LANG['execute'] = 'Nelze provést: ';
$PHPMAILER_LANG["instantiate"] = 'Nelze vytvoøit instanci emailové funkce.'; $PHPMAILER_LANG['file_access'] = 'Soubor nenalezen: ';
$PHPMAILER_LANG["authenticate"] = 'SMTP Error: Chyba autentikace.'; $PHPMAILER_LANG['file_open'] = 'File Error: Nelze otevøít soubor pro ètení: ';
$PHPMAILER_LANG["from_failed"] = 'Následující adresa From je nesprávná: '; $PHPMAILER_LANG['from_failed'] = 'Následující adresa From je nesprávná: ';
$PHPMAILER_LANG["recipients_failed"] = 'SMTP Error: Adresy pøíjemcù ' . $PHPMAILER_LANG['instantiate'] = 'Nelze vytvoøit instanci emailové funkce.';
'nejsou správné ' . //$PHPMAILER_LANG['invalid_email'] = 'Not sending, email address is invalid: ';
$PHPMAILER_LANG["data_not_accepted"] = 'SMTP Error: Data nebyla pøijata'; $PHPMAILER_LANG['mailer_not_supported'] = ' mailový klient není podporován.';
$PHPMAILER_LANG["connect_host"] = 'SMTP Error: Nelze navázat spojení se ' . $PHPMAILER_LANG['provide_address'] = 'Musíte zadat alespoò jednu emailovou adresu pøíjemce.';
' SMTP serverem.'; $PHPMAILER_LANG['recipients_failed'] = 'SMTP Error: Adresy pøíjemcù nejsou správné ';
$PHPMAILER_LANG["file_access"] = 'Soubor nenalezen: '; //$PHPMAILER_LANG['signing'] = 'Signing Error: ';
$PHPMAILER_LANG["file_open"] = 'File Error: Nelze otevøít soubor pro ètení: '; //$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
$PHPMAILER_LANG["encoding"] = 'Neznámé kódování: '; //$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: ';
//$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: ';
?> ?>

View File

@@ -1,23 +1,25 @@
<?php <?php
/** /**
* PHPMailer language file. * PHPMailer language file: refer to English translation for definitive list
* German Version * German Version
*/ */
$PHPMAILER_LANG = array(); $PHPMAILER_LANG['authenticate'] = 'SMTP Fehler: Authentifizierung fehlgeschlagen.';
$PHPMAILER_LANG['connect_host'] = 'SMTP Fehler: Konnte keine Verbindung zum SMTP-Host herstellen.';
$PHPMAILER_LANG["provide_address"] = 'Bitte geben Sie mindestens eine ' . $PHPMAILER_LANG['data_not_accepted'] = 'SMTP Fehler: Daten werden nicht akzeptiert.';
'Empf&auml;nger Emailadresse an.'; $PHPMAILER_LANG['empty_message'] = 'E-Mail Inhalt ist leer.';
$PHPMAILER_LANG["mailer_not_supported"] = ' mailer wird nicht unterst&uuml;tzt.'; $PHPMAILER_LANG['encoding'] = 'Unbekanntes Encoding-Format: ';
$PHPMAILER_LANG["execute"] = 'Konnte folgenden Befehl nicht ausf&uuml;hren: '; $PHPMAILER_LANG['execute'] = 'Konnte folgenden Befehl nicht ausführen: ';
$PHPMAILER_LANG["instantiate"] = 'Mail Funktion konnte nicht initialisiert werden.'; $PHPMAILER_LANG['file_access'] = 'Zugriff auf folgende Datei fehlgeschlagen: ';
$PHPMAILER_LANG["authenticate"] = 'SMTP Fehler: Authentifizierung fehlgeschlagen.'; $PHPMAILER_LANG['file_open'] = 'Datei Fehler: konnte folgende Datei nicht öffnen: ';
$PHPMAILER_LANG["from_failed"] = 'Die folgende Absenderadresse ist nicht korrekt: '; $PHPMAILER_LANG['from_failed'] = 'Die folgende Absenderadresse ist nicht korrekt: ';
$PHPMAILER_LANG["recipients_failed"] = 'SMTP Fehler: Die folgenden ' . $PHPMAILER_LANG['instantiate'] = 'Mail Funktion konnte nicht initialisiert werden.';
'Empf&auml;nger sind nicht korrekt: '; $PHPMAILER_LANG['invalid_email'] = 'E-Mail wird nicht gesendet, die Adresse ist ungültig.';
$PHPMAILER_LANG["data_not_accepted"] = 'SMTP Fehler: Daten werden nicht akzeptiert.'; $PHPMAILER_LANG['mailer_not_supported'] = ' mailer wird nicht unterstützt.';
$PHPMAILER_LANG["connect_host"] = 'SMTP Fehler: Konnte keine Verbindung zum SMTP-Host herstellen.'; $PHPMAILER_LANG['provide_address'] = 'Bitte geben Sie mindestens eine Empfänger E-Mailadresse an.';
$PHPMAILER_LANG["file_access"] = 'Zugriff auf folgende Datei fehlgeschlagen: '; $PHPMAILER_LANG['recipients_failed'] = 'SMTP Fehler: Die folgenden Empfänger sind nicht korrekt: ';
$PHPMAILER_LANG["file_open"] = 'Datei Fehler: konnte folgende Datei nicht &ouml;ffnen: '; $PHPMAILER_LANG['signing'] = 'Fehler beim Signieren: ';
$PHPMAILER_LANG["encoding"] = 'Unbekanntes Encoding-Format: '; $PHPMAILER_LANG['smtp_connect_failed'] = 'Verbindung zu SMTP Server fehlgeschlagen.';
$PHPMAILER_LANG['smtp_error'] = 'Fehler vom SMTP Server: ';
$PHPMAILER_LANG['variable_set'] = 'Kann Variable nicht setzen oder zurücksetzen: ';
?> ?>

View File

@@ -1,24 +1,26 @@
<?php <?php
/** /**
* PHPMailer language file. * PHPMailer language file: refer to English translation for definitive list
* Danish Version * Danish Version
* Author: Mikael Stokkebro <info@stokkebro.dk> * Author: Mikael Stokkebro <info@stokkebro.dk>
*/ */
$PHPMAILER_LANG = array(); $PHPMAILER_LANG['authenticate'] = 'SMTP fejl: Kunne ikke logge på.';
$PHPMAILER_LANG['connect_host'] = 'SMTP fejl: Kunne ikke tilslutte SMTP serveren.';
$PHPMAILER_LANG["provide_address"] = 'Du skal indtaste mindst en ' . $PHPMAILER_LANG['data_not_accepted'] = 'SMTP fejl: Data kunne ikke accepteres.';
'modtagers emailadresse.'; //$PHPMAILER_LANG['empty_message'] = 'Message body empty';
$PHPMAILER_LANG["mailer_not_supported"] = ' mailer understøttes ikke.'; $PHPMAILER_LANG['encoding'] = 'Ukendt encode-format: ';
$PHPMAILER_LANG["execute"] = 'Kunne ikke køre: '; $PHPMAILER_LANG['execute'] = 'Kunne ikke køre: ';
$PHPMAILER_LANG["instantiate"] = 'Kunne ikke initialisere email funktionen.'; $PHPMAILER_LANG['file_access'] = 'Ingen adgang til fil: ';
$PHPMAILER_LANG["authenticate"] = 'SMTP fejl: Kunne ikke logge på.'; $PHPMAILER_LANG['file_open'] = 'Fil fejl: Kunne ikke åbne filen: ';
$PHPMAILER_LANG["from_failed"] = 'Følgende afsenderadresse er forkert: '; $PHPMAILER_LANG['from_failed'] = 'Følgende afsenderadresse er forkert: ';
$PHPMAILER_LANG["recipients_failed"] = 'SMTP fejl: Følgende' . $PHPMAILER_LANG['instantiate'] = 'Kunne ikke initialisere email funktionen.';
'modtagere er forkerte: '; //$PHPMAILER_LANG['invalid_email'] = 'Not sending, email address is invalid: ';
$PHPMAILER_LANG["data_not_accepted"] = 'SMTP fejl: Data kunne ikke accepteres.'; $PHPMAILER_LANG['mailer_not_supported'] = ' mailer understøttes ikke.';
$PHPMAILER_LANG["connect_host"] = 'SMTP fejl: Kunne ikke tilslutte SMTP serveren.'; $PHPMAILER_LANG['provide_address'] = 'Du skal indtaste mindst en modtagers emailadresse.';
$PHPMAILER_LANG["file_access"] = 'Ingen adgang til fil: '; $PHPMAILER_LANG['recipients_failed'] = 'SMTP fejl: Følgende modtagere er forkerte: ';
$PHPMAILER_LANG["file_open"] = 'Fil fejl: Kunne ikke åbne filen: '; //$PHPMAILER_LANG['signing'] = 'Signing Error: ';
$PHPMAILER_LANG["encoding"] = 'Ukendt encode-format: '; //$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
//$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: ';
//$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: ';
?> ?>

View File

@@ -1,23 +1,26 @@
<?php <?php
/** /**
* PHPMailer language file. * PHPMailer language file: refer to English translation for definitive list
* Spanish version
* Versión en español * Versión en español
*/ */
$PHPMAILER_LANG = array(); $PHPMAILER_LANG['authenticate'] = 'Error SMTP: No se pudo autentificar.';
$PHPMAILER_LANG['connect_host'] = 'Error SMTP: No puedo conectar al servidor SMTP.';
$PHPMAILER_LANG["provide_address"] = 'Debe proveer al menos una ' . $PHPMAILER_LANG['data_not_accepted'] = 'Error SMTP: Datos no aceptados.';
'dirección de email como destinatario.'; //$PHPMAILER_LANG['empty_message'] = 'Message body empty';
$PHPMAILER_LANG["mailer_not_supported"] = ' mailer no está soportado.'; $PHPMAILER_LANG['encoding'] = 'Codificación desconocida: ';
$PHPMAILER_LANG["execute"] = 'No puedo ejecutar: '; $PHPMAILER_LANG['execute'] = 'No puedo ejecutar: ';
$PHPMAILER_LANG["instantiate"] = 'No pude crear una instancia de la función Mail.'; $PHPMAILER_LANG['file_access'] = 'No puedo acceder al archivo: ';
$PHPMAILER_LANG["authenticate"] = 'Error SMTP: No se pudo autentificar.'; $PHPMAILER_LANG['file_open'] = 'Error de Archivo: No puede abrir el archivo: ';
$PHPMAILER_LANG["from_failed"] = 'La(s) siguiente(s) direcciones de remitente fallaron: '; $PHPMAILER_LANG['from_failed'] = 'La(s) siguiente(s) direcciones de remitente fallaron: ';
$PHPMAILER_LANG["recipients_failed"] = 'Error SMTP: Los siguientes ' . $PHPMAILER_LANG['instantiate'] = 'No pude crear una instancia de la función Mail.';
'destinatarios fallaron: '; //$PHPMAILER_LANG['invalid_email'] = 'Not sending, email address is invalid: ';
$PHPMAILER_LANG["data_not_accepted"] = 'Error SMTP: Datos no aceptados.'; $PHPMAILER_LANG['mailer_not_supported'] = ' mailer no está soportado.';
$PHPMAILER_LANG["connect_host"] = 'Error SMTP: No puedo conectar al servidor SMTP.'; $PHPMAILER_LANG['provide_address'] = 'Debe proveer al menos una dirección de email como destinatario.';
$PHPMAILER_LANG["file_access"] = 'No puedo acceder al archivo: '; $PHPMAILER_LANG['recipients_failed'] = 'Error SMTP: Los siguientes destinatarios fallaron: ';
$PHPMAILER_LANG["file_open"] = 'Error de Archivo: No puede abrir el archivo: '; $PHPMAILER_LANG['signing'] = 'Error al firmar: ';
$PHPMAILER_LANG["encoding"] = 'Codificación desconocida: '; //$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
//$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: ';
//$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: ';
?> ?>

View File

@@ -0,0 +1,26 @@
<?php
/**
* PHPMailer language file: refer to English translation for definitive list
* Estonian Version
* By Indrek Päri
*/
$PHPMAILER_LANG['authenticate'] = 'SMTP Viga: Autoriseerimise viga.';
$PHPMAILER_LANG['connect_host'] = 'SMTP Viga: Ei õnnestunud luua ühendust SMTP serveriga.';
$PHPMAILER_LANG['data_not_accepted'] = 'SMTP Viga: Vigased andmed.';
//$PHPMAILER_LANG['empty_message'] = 'Message body empty';
$PHPMAILER_LANG['encoding'] = 'Tundmatu Unknown kodeering: ';
$PHPMAILER_LANG['execute'] = 'Tegevus ebaõnnestus: ';
$PHPMAILER_LANG['file_access'] = 'Pole piisavalt õiguseid järgneva faili avamiseks: ';
$PHPMAILER_LANG['file_open'] = 'Faili Viga: Faili avamine ebaõnnestus: ';
$PHPMAILER_LANG['from_failed'] = 'Järgnev saatja e-posti aadress on vigane: ';
$PHPMAILER_LANG['instantiate'] = 'mail funktiooni käivitamine ebaõnnestus.';
//$PHPMAILER_LANG['invalid_email'] = 'Not sending, email address is invalid: ';
$PHPMAILER_LANG['provide_address'] = 'Te peate määrama vähemalt ühe saaja e-posti aadressi.';
$PHPMAILER_LANG['mailer_not_supported'] = ' maileri tugi puudub.';
$PHPMAILER_LANG['recipients_failed'] = 'SMTP Viga: Järgnevate saajate e-posti aadressid on vigased: ';
//$PHPMAILER_LANG['signing'] = 'Signing Error: ';
//$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
//$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: ';
//$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: ';
?>

View File

@@ -1,23 +1,27 @@
<?php <?php
/** /**
* PHPMailer language file. * PHPMailer language file: refer to English translation for definitive list
* Finnish Version * Finnish Version
* By Jyry Kuukanen * By Jyry Kuukanen
*/ */
$PHPMAILER_LANG = array(); $PHPMAILER_LANG['authenticate'] = 'SMTP-virhe: käyttäjätunnistus epäonnistui.';
$PHPMAILER_LANG['connect_host'] = 'SMTP-virhe: yhteys palvelimeen ei onnistu.';
$PHPMAILER_LANG["provide_address"] = 'Aseta v&auml;hint&auml;&auml;n yksi vastaanottajan ' . $PHPMAILER_LANG['data_not_accepted'] = 'SMTP-virhe: data on virheellinen.';
's&auml;hk&ouml;postiosoite.'; //$PHPMAILER_LANG['empty_message'] = 'Message body empty';
$PHPMAILER_LANG["mailer_not_supported"] = 'postiv&auml;litintyyppi&auml; ei tueta.'; $PHPMAILER_LANG['encoding'] = 'Tuntematon koodaustyyppi: ';
$PHPMAILER_LANG["execute"] = 'Suoritus ep&auml;onnistui: '; $PHPMAILER_LANG['execute'] = 'Suoritus epäonnistui: ';
$PHPMAILER_LANG["instantiate"] = 'mail-funktion luonti ep&auml;onnistui.'; $PHPMAILER_LANG['file_access'] = 'Seuraavaan tiedostoon ei ole oikeuksia: ';
$PHPMAILER_LANG["authenticate"] = 'SMTP-virhe: k&auml;ytt&auml;j&auml;tunnistus ep&auml;onnistui.'; $PHPMAILER_LANG['file_open'] = 'Tiedostovirhe: Ei voida avata tiedostoa: ';
$PHPMAILER_LANG["from_failed"] = 'Seuraava l&auml;hett&auml;j&auml;n osoite on virheellinen: '; $PHPMAILER_LANG['from_failed'] = 'Seuraava lähettäjän osoite on virheellinen: ';
$PHPMAILER_LANG["recipients_failed"] = 'SMTP-virhe: seuraava vastaanottaja osoite on virheellinen.'; $PHPMAILER_LANG['instantiate'] = 'mail-funktion luonti epäonnistui.';
$PHPMAILER_LANG["data_not_accepted"] = 'SMTP-virhe: data on virheellinen.'; //$PHPMAILER_LANG['invalid_email'] = 'Not sending, email address is invalid: ';
$PHPMAILER_LANG["connect_host"] = 'SMTP-virhe: yhteys palvelimeen ei onnistu.'; $PHPMAILER_LANG['mailer_not_supported'] = 'postivälitintyyppiä ei tueta.';
$PHPMAILER_LANG["file_access"] = 'Seuraavaan tiedostoon ei ole oikeuksia: '; $PHPMAILER_LANG['provide_address'] = 'Aseta vähintään yksi vastaanottajan sähk&ouml;postiosoite.';
$PHPMAILER_LANG["file_open"] = 'Tiedostovirhe: Ei voida avata tiedostoa: '; $PHPMAILER_LANG['recipients_failed'] = 'SMTP-virhe: seuraava vastaanottaja osoite on virheellinen.';
$PHPMAILER_LANG["encoding"] = 'Tuntematon koodaustyyppi: '; $PHPMAILER_LANG['encoding'] = 'Tuntematon koodaustyyppi: ';
//$PHPMAILER_LANG['signing'] = 'Signing Error: ';
//$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
//$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: ';
//$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: ';
?> ?>

View File

@@ -1,25 +1,27 @@
<?php <?php
/** /**
* PHPMailer language file. * PHPMailer language file: refer to English translation for definitive list
* Faroese Version [language of the Faroe Islands, a Danish dominion] * Faroese Version [language of the Faroe Islands, a Danish dominion]
* This file created: 11-06-2004 * This file created: 11-06-2004
* Supplied by Dávur Sørensen [www.profo-webdesign.dk] * Supplied by Dávur Sørensen [www.profo-webdesign.dk]
*/ */
$PHPMAILER_LANG = array(); $PHPMAILER_LANG['authenticate'] = 'SMTP feilur: Kundi ikki góðkenna.';
$PHPMAILER_LANG['connect_host'] = 'SMTP feilur: Kundi ikki knýta samband við SMTP vert.';
$PHPMAILER_LANG["provide_address"] = 'Tú skal uppgeva minst ' . $PHPMAILER_LANG['data_not_accepted'] = 'SMTP feilur: Data ikki góðkent.';
'móttakara-emailadressu(r).'; //$PHPMAILER_LANG['empty_message'] = 'Message body empty';
$PHPMAILER_LANG["mailer_not_supported"] = ' er ikki supporterað.'; $PHPMAILER_LANG['encoding'] = 'Ókend encoding: ';
$PHPMAILER_LANG["execute"] = 'Kundi ikki útføra: '; $PHPMAILER_LANG['execute'] = 'Kundi ikki útføra: ';
$PHPMAILER_LANG["instantiate"] = 'Kuni ikki instantiera mail funktión.'; $PHPMAILER_LANG['file_access'] = 'Kundi ikki tilganga fílu: ';
$PHPMAILER_LANG["authenticate"] = 'SMTP feilur: Kundi ikki góðkenna.'; $PHPMAILER_LANG['file_open'] = 'Fílu feilur: Kundi ikki opna fílu: ';
$PHPMAILER_LANG["from_failed"] = 'fylgjandi Frá/From adressa miseydnaðist: '; $PHPMAILER_LANG['from_failed'] = 'fylgjandi Frá/From adressa miseydnaðist: ';
$PHPMAILER_LANG["recipients_failed"] = 'SMTP Feilur: Fylgjandi ' . $PHPMAILER_LANG['instantiate'] = 'Kuni ikki instantiera mail funktión.';
'móttakarar miseydnaðust: '; //$PHPMAILER_LANG['invalid_email'] = 'Not sending, email address is invalid: ';
$PHPMAILER_LANG["data_not_accepted"] = 'SMTP feilur: Data ikki góðkent.'; $PHPMAILER_LANG['mailer_not_supported'] = ' er ikki supporterað.';
$PHPMAILER_LANG["connect_host"] = 'SMTP feilur: Kundi ikki knýta samband við SMTP vert.'; $PHPMAILER_LANG['provide_address'] = 'Tú skal uppgeva minst móttakara-emailadressu(r).';
$PHPMAILER_LANG["file_access"] = 'Kundi ikki tilganga fílu: '; $PHPMAILER_LANG['recipients_failed'] = 'SMTP Feilur: Fylgjandi móttakarar miseydnaðust: ';
$PHPMAILER_LANG["file_open"] = 'Fílu feilur: Kundi ikki opna fílu: '; //$PHPMAILER_LANG['signing'] = 'Signing Error: ';
$PHPMAILER_LANG["encoding"] = 'Ókend encoding: '; //$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
//$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: ';
//$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: ';
?> ?>

View File

@@ -1,24 +1,25 @@
<?php <?php
/** /**
* PHPMailer language file. * PHPMailer language file: refer to English translation for definitive list
* French Version * French Version
* bruno@ioda-net.ch 09.08.2003
*/ */
$PHPMAILER_LANG = array(); $PHPMAILER_LANG['authenticate'] = 'Erreur SMTP : Echec de l\'authentification.';
$PHPMAILER_LANG['connect_host'] = 'Erreur SMTP : Impossible de se connecter au serveur SMTP.';
$PHPMAILER_LANG["provide_address"] = 'Vous devez fournir au moins ' . $PHPMAILER_LANG['data_not_accepted'] = 'Erreur SMTP : Données incorrects.';
'une adresse de destinataire.'; $PHPMAILER_LANG['empty_message'] = 'Corps de message vide';
$PHPMAILER_LANG["mailer_not_supported"] = ' mailer non supporté.'; $PHPMAILER_LANG['encoding'] = 'Encodage inconnu : ';
$PHPMAILER_LANG["execute"] = 'Ne peut pas lancer l\'exécution: '; $PHPMAILER_LANG['execute'] = 'Impossible de lancer l\'exécution : ';
$PHPMAILER_LANG["instantiate"] = 'Impossible d\'instancier la fonction mail.'; $PHPMAILER_LANG['file_access'] = 'Impossible d\'accéder au fichier : ';
$PHPMAILER_LANG["authenticate"] = 'SMTP Erreur: Echec de l\'authentification.'; $PHPMAILER_LANG['file_open'] = 'Erreur Fichier : ouverture impossible : ';
$PHPMAILER_LANG["from_failed"] = 'L\'adresse From suivante a échoué : '; $PHPMAILER_LANG['from_failed'] = 'L\'adresse d\'expéditeur suivante a échouée : ';
$PHPMAILER_LANG["recipients_failed"] = 'SMTP Erreur: Les destinataires ' . $PHPMAILER_LANG['instantiate'] = 'Impossible d\'instancier la fonction mail.';
'suivants sont en erreur : '; //$PHPMAILER_LANG['invalid_email'] = 'Not sending, email address is invalid: ';
$PHPMAILER_LANG["data_not_accepted"] = 'SMTP Erreur: Data non accepe.'; $PHPMAILER_LANG['mailer_not_supported'] = ' client de messagerie non supporté.';
$PHPMAILER_LANG["connect_host"] = 'SMTP Erreur: Impossible de connecter le serveur SMTP .'; $PHPMAILER_LANG['provide_address'] = 'Vous devez fournir au moins une adresse de destinataire.';
$PHPMAILER_LANG["file_access"] = 'N\'arrive pas à accéder au fichier: '; $PHPMAILER_LANG['recipients_failed'] = 'Erreur SMTP : Les destinataires suivants sont en erreur : ';
$PHPMAILER_LANG["file_open"] = 'Erreur Fichier: ouverture impossible: '; //$PHPMAILER_LANG['signing'] = 'Signing Error: ';
$PHPMAILER_LANG["encoding"] = 'Encodage inconnu: '; //$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
//$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: ';
//$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: ';
?> ?>

View File

@@ -1,23 +1,25 @@
<?php <?php
/** /**
* PHPMailer language file. * PHPMailer language file: refer to English translation for definitive list
* Hungarian Version * Hungarian Version
*/ */
$PHPMAILER_LANG = array(); $PHPMAILER_LANG['authenticate'] = 'SMTP Hiba: Sikertelen autentikáció.';
$PHPMAILER_LANG['connect_host'] = 'SMTP Hiba: Nem tudtam csatlakozni az SMTP host-hoz.';
$PHPMAILER_LANG["provide_address"] = 'Meg kell adnod legalább egy ' . $PHPMAILER_LANG['data_not_accepted'] = 'SMTP Hiba: Nem elfogadható adat.';
'címzett email címet.'; //$PHPMAILER_LANG['empty_message'] = 'Message body empty';
$PHPMAILER_LANG["mailer_not_supported"] = ' levelezõ nem támogatott.'; $PHPMAILER_LANG['encoding'] = 'Ismeretlen kódolás: ';
$PHPMAILER_LANG["execute"] = 'Nem tudtam végrehajtani: '; $PHPMAILER_LANG['execute'] = 'Nem tudtam végrehajtani: ';
$PHPMAILER_LANG["instantiate"] = 'Nem sikerült példányosítani a mail funkciót.'; $PHPMAILER_LANG['file_access'] = 'Nem sikerült elérni a következõ fájlt: ';
$PHPMAILER_LANG["authenticate"] = 'SMTP Hiba: Sikertelen autentikáció.'; $PHPMAILER_LANG['file_open'] = 'Fájl Hiba: Nem sikerült megnyitni a következõ fájlt: ';
$PHPMAILER_LANG["from_failed"] = 'Az alábbi Feladó cím hibás: '; $PHPMAILER_LANG['from_failed'] = 'Az alábbi Feladó cím hibás: ';
$PHPMAILER_LANG["recipients_failed"] = 'SMTP Hiba: Az alábbi ' . $PHPMAILER_LANG['instantiate'] = 'Nem sikerült példányosítani a mail funkciót.';
'címzettek hibásak: '; //$PHPMAILER_LANG['invalid_email'] = 'Not sending, email address is invalid: ';
$PHPMAILER_LANG["data_not_accepted"] = 'SMTP Hiba: Nem elfogadható adat.'; $PHPMAILER_LANG['provide_address'] = 'Meg kell adnod legalább egy címzett email címet.';
$PHPMAILER_LANG["connect_host"] = 'SMTP Hiba: Nem tudtam csatlakozni az SMTP host-hoz.'; $PHPMAILER_LANG['mailer_not_supported'] = ' levelezõ nem támogatott.';
$PHPMAILER_LANG["file_access"] = 'Nem sikerült elérni a következõ fájlt: '; $PHPMAILER_LANG['recipients_failed'] = 'SMTP Hiba: Az alábbi címzettek hibásak: ';
$PHPMAILER_LANG["file_open"] = 'Fájl Hiba: Nem sikerült megnyitni a következõ fájlt: '; //$PHPMAILER_LANG['signing'] = 'Signing Error: ';
$PHPMAILER_LANG["encoding"] = 'Ismeretlen kódolás: '; //$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
//$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: ';
//$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: ';
?> ?>

View File

@@ -1,28 +1,27 @@
<?php <?php
/** /**
* PHPMailer language file. * PHPMailer language file: refer to English translation for definitive list
* Italian version * Italian version
* @package PHPMailer * @package PHPMailer
* @author Ilias Bartolini <brain79@inwind.it> * @author Ilias Bartolini <brain79@inwind.it>
*/ */
$PHPMAILER_LANG = array(); $PHPMAILER_LANG['authenticate'] = 'SMTP Error: Impossibile autenticarsi.';
$PHPMAILER_LANG['connect_host'] = 'SMTP Error: Impossibile connettersi all\'host SMTP.';
$PHPMAILER_LANG["provide_address"] = 'Deve essere fornito almeno un'. $PHPMAILER_LANG['data_not_accepted'] = 'SMTP Error: Data non accettati dal server.';
' indirizzo ricevente'; //$PHPMAILER_LANG['empty_message'] = 'Message body empty';
$PHPMAILER_LANG["mailer_not_supported"] = 'Mailer non supportato'; $PHPMAILER_LANG['encoding'] = 'Encoding set dei caratteri sconosciuto: ';
$PHPMAILER_LANG["execute"] = "Impossibile eseguire l'operazione: "; $PHPMAILER_LANG['execute'] = 'Impossibile eseguire l\'operazione: ';
$PHPMAILER_LANG["instantiate"] = 'Impossibile istanziare la funzione mail'; $PHPMAILER_LANG['file_access'] = 'Impossibile accedere al file: ';
$PHPMAILER_LANG["authenticate"] = 'SMTP Error: Impossibile autenticarsi.'; $PHPMAILER_LANG['file_open'] = 'File Error: Impossibile aprire il file: ';
$PHPMAILER_LANG["from_failed"] = 'I seguenti indirizzi mittenti hanno'. $PHPMAILER_LANG['from_failed'] = 'I seguenti indirizzi mittenti hanno generato errore: ';
' generato errore: '; $PHPMAILER_LANG['instantiate'] = 'Impossibile istanziare la funzione mail';
$PHPMAILER_LANG["recipients_failed"] = 'SMTP Error: I seguenti indirizzi'. //$PHPMAILER_LANG['invalid_email'] = 'Not sending, email address is invalid: ';
'destinatari hanno generato errore: '; $PHPMAILER_LANG['provide_address'] = 'Deve essere fornito almeno un indirizzo ricevente';
$PHPMAILER_LANG["data_not_accepted"] = 'SMTP Error: Data non accettati dal'. $PHPMAILER_LANG['mailer_not_supported'] = 'Mailer non supportato';
'server.'; $PHPMAILER_LANG['recipients_failed'] = 'SMTP Error: I seguenti indirizzi destinatari hanno generato errore: ';
$PHPMAILER_LANG["connect_host"] = 'SMTP Error: Impossibile connettersi'. //$PHPMAILER_LANG['signing'] = 'Signing Error: ';
' all\'host SMTP.'; //$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
$PHPMAILER_LANG["file_access"] = 'Impossibile accedere al file: '; //$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: ';
$PHPMAILER_LANG["file_open"] = 'File Error: Impossibile aprire il file: '; //$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: ';
$PHPMAILER_LANG["encoding"] = 'Encoding set dei caratteri sconosciuto: ';
?> ?>

View File

@@ -1,25 +1,26 @@
<?php <?php
/** /**
* PHPMailer language file. * PHPMailer language file: refer to English translation for definitive list
* Japanese Version * Japanese Version
* By Mitsuhiro Yoshida - http://mitstek.com/ * By Mitsuhiro Yoshida - http://mitstek.com/
* This file is written in EUC-JP.
*/ */
$PHPMAILER_LANG = array(); $PHPMAILER_LANG['authenticate'] = 'SMTPエラー: 認証できませんでした。';
$PHPMAILER_LANG['connect_host'] = 'SMTPエラー: SMTPホストに接続できませんでした。';
$PHPMAILER_LANG["provide_address"] = '¾¯¤Ê¤¯¤È¤â1¤Ä¥á¡¼¥ë¥¢¥É¥ì¥¹¤ò' . $PHPMAILER_LANG['data_not_accepted'] = 'SMTPエラー: データが受け付けられませんでした。';
'»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£'; //$PHPMAILER_LANG['empty_message'] = 'Message body empty';
$PHPMAILER_LANG["mailer_not_supported"] = ' ¥á¡¼¥é¡¼¤¬¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡£'; $PHPMAILER_LANG['encoding'] = '不明なエンコーディング: ';
$PHPMAILER_LANG["execute"] = '¼Â¹Ô¤Ç¤­¤Þ¤»¤ó¤Ç¤·¤¿: '; $PHPMAILER_LANG['execute'] = '実行できませんでした: ';
$PHPMAILER_LANG["instantiate"] = '¥á¡¼¥ë´Ø¿ô¤¬Àµ¾ï¤Ëưºî¤·¤Þ¤»¤ó¤Ç¤·¤¿¡£'; $PHPMAILER_LANG['file_access'] = 'ファイルにアクセスできません: ';
$PHPMAILER_LANG["authenticate"] = 'SMTP¥¨¥é¡¼: ǧ¾Ú¤Ç¤­¤Þ¤»¤ó¤Ç¤·¤¿¡£'; $PHPMAILER_LANG['file_open'] = 'ファイルエラー: ファイルを開けません: ';
$PHPMAILER_LANG["from_failed"] = '¼¡¤ÎFrom¥¢¥É¥ì¥¹¤Ë´Ö°ã¤¤¤¬¤¢¤ê¤Þ¤¹: '; $PHPMAILER_LANG['from_failed'] = '次のFromアドレスに間違いがあります: ';
$PHPMAILER_LANG["recipients_failed"] = 'SMTP¥¨¥é¡¼: ¼¡¤Î¼õ¿®¼Ô¥¢¥É¥ì¥¹¤Ë ' . $PHPMAILER_LANG['instantiate'] = 'メール関数が正常に動作しませんでした。';
'´Ö°ã¤¤¤¬¤¢¤ê¤Þ¤¹: '; //$PHPMAILER_LANG['invalid_email'] = 'Not sending, email address is invalid: ';
$PHPMAILER_LANG["data_not_accepted"] = 'SMTP¥¨¥é¡¼: ¥Ç¡¼¥¿¤¬¼õ¤±ÉÕ¤±¤é¤ì¤Þ¤»¤ó¤Ç¤·¤¿¡£'; $PHPMAILER_LANG['provide_address'] = '少なくとも1つメールアドレスを 指定する必要があります。';
$PHPMAILER_LANG["connect_host"] = 'SMTP¥¨¥é¡¼: SMTP¥Û¥¹¥È¤ËÀܳ¤Ç¤­¤Þ¤»¤ó¤Ç¤·¤¿¡£'; $PHPMAILER_LANG['mailer_not_supported'] = ' メーラーがサポートされていません。';
$PHPMAILER_LANG["file_access"] = '¥Õ¥¡¥¤¥ë¤Ë¥¢¥¯¥»¥¹¤Ç¤­¤Þ¤»¤ó: '; $PHPMAILER_LANG['recipients_failed'] = 'SMTPエラー: 次の受信者アドレスに 間違いがあります: ';
$PHPMAILER_LANG["file_open"] = '¥Õ¥¡¥¤¥ë¥¨¥é¡¼: ¥Õ¥¡¥¤¥ë¤ò³«¤±¤Þ¤»¤ó: '; //$PHPMAILER_LANG['signing'] = 'Signing Error: ';
$PHPMAILER_LANG["encoding"] = 'ÉÔÌÀ¤Ê¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°: '; //$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
//$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: ';
//$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: ';
?> ?>

View File

@@ -1,23 +1,25 @@
<?php <?php
/** /**
* PHPMailer language file. * PHPMailer language file: refer to English translation for definitive list
* Dutch Version * Dutch Version
*/ */
$PHPMAILER_LANG = array(); $PHPMAILER_LANG['authenticate'] = 'SMTP Fout: authenticatie mislukt.';
$PHPMAILER_LANG['connect_host'] = 'SMTP Fout: Kon niet verbinden met SMTP host.';
$PHPMAILER_LANG["provide_address"] = 'Er moet tenmiste &eacute;&eacute;n ' . $PHPMAILER_LANG['data_not_accepted'] = 'SMTP Fout: Data niet geaccepteerd.';
'ontvanger emailadres opgegeven worden.'; //$PHPMAILER_LANG['empty_message'] = 'Message body empty';
$PHPMAILER_LANG["mailer_not_supported"] = ' mailer wordt niet ondersteund.'; $PHPMAILER_LANG['encoding'] = 'Onbekende codering: ';
$PHPMAILER_LANG["execute"] = 'Kon niet uitvoeren: '; $PHPMAILER_LANG['execute'] = 'Kon niet uitvoeren: ';
$PHPMAILER_LANG["instantiate"] = 'Kon mail functie niet initialiseren.'; $PHPMAILER_LANG['file_access'] = 'Kreeg geen toegang tot bestand: ';
$PHPMAILER_LANG["authenticate"] = 'SMTP Fout: authenticatie mislukt.'; $PHPMAILER_LANG['file_open'] = 'Bestandsfout: Kon bestand niet openen: ';
$PHPMAILER_LANG["from_failed"] = 'De volgende afzender adressen zijn mislukt: '; $PHPMAILER_LANG['from_failed'] = 'De volgende afzender adressen zijn mislukt: ';
$PHPMAILER_LANG["recipients_failed"] = 'SMTP Fout: De volgende ' . $PHPMAILER_LANG['instantiate'] = 'Kon mail functie niet initialiseren.';
'ontvangers zijn mislukt: '; //$PHPMAILER_LANG['invalid_email'] = 'Not sending, email address is invalid: ';
$PHPMAILER_LANG["data_not_accepted"] = 'SMTP Fout: Data niet geaccepteerd.'; $PHPMAILER_LANG['provide_address'] = 'Er moet tenmiste één ontvanger emailadres opgegeven worden.';
$PHPMAILER_LANG["connect_host"] = 'SMTP Fout: Kon niet verbinden met SMTP host.'; $PHPMAILER_LANG['mailer_not_supported'] = ' mailer wordt niet ondersteund.';
$PHPMAILER_LANG["file_access"] = 'Kreeg geen toegang tot bestand: '; $PHPMAILER_LANG['recipients_failed'] = 'SMTP Fout: De volgende ontvangers zijn mislukt: ';
$PHPMAILER_LANG["file_open"] = 'Bestandsfout: Kon bestand niet openen: '; //$PHPMAILER_LANG['signing'] = 'Signing Error: ';
$PHPMAILER_LANG["encoding"] = 'Onbekende codering: '; //$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
//$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: ';
//$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: ';
?> ?>

View File

@@ -1,23 +1,25 @@
<?php <?php
/** /**
* PHPMailer language file. * PHPMailer language file: refer to English translation for definitive list
* Norwegian Version * Norwegian Version
*/ */
$PHPMAILER_LANG = array(); $PHPMAILER_LANG['authenticate'] = 'SMTP Feil: Kunne ikke authentisere.';
$PHPMAILER_LANG['connect_host'] = 'SMTP Feil: Kunne ikke koble til SMTP host.';
$PHPMAILER_LANG["provide_address"] = 'Du må ha med minst en' . $PHPMAILER_LANG['data_not_accepted'] = 'SMTP Feil: Data ble ikke akseptert.';
'mottager adresse.'; //$PHPMAILER_LANG['empty_message'] = 'Message body empty';
$PHPMAILER_LANG["mailer_not_supported"] = ' mailer er ikke supportert.'; $PHPMAILER_LANG['encoding'] = 'Ukjent encoding: ';
$PHPMAILER_LANG["execute"] = 'Kunne ikke utføre: '; $PHPMAILER_LANG['execute'] = 'Kunne ikke utføre: ';
$PHPMAILER_LANG["instantiate"] = 'Kunne ikke instantiate mail funksjonen.'; $PHPMAILER_LANG['file_access'] = 'Kunne ikke få tilgang til filen: ';
$PHPMAILER_LANG["authenticate"] = 'SMTP Feil: Kunne ikke authentisere.'; $PHPMAILER_LANG['file_open'] = 'Fil feil: Kunne ikke åpne filen: ';
$PHPMAILER_LANG["from_failed"] = 'Følgende Fra feilet: '; $PHPMAILER_LANG['from_failed'] = 'Følgende Fra feilet: ';
$PHPMAILER_LANG["recipients_failed"] = 'SMTP Feil: Følgende' . $PHPMAILER_LANG['instantiate'] = 'Kunne ikke instantiate mail funksjonen.';
'mottagere feilet: '; //$PHPMAILER_LANG['invalid_email'] = 'Not sending, email address is invalid: ';
$PHPMAILER_LANG["data_not_accepted"] = 'SMTP Feil: Data ble ikke akseptert.'; $PHPMAILER_LANG['provide_address'] = 'Du må ha med minst en mottager adresse.';
$PHPMAILER_LANG["connect_host"] = 'SMTP Feil: Kunne ikke koble til SMTP host.'; $PHPMAILER_LANG['mailer_not_supported'] = ' mailer er ikke supportert.';
$PHPMAILER_LANG["file_access"] = 'Kunne ikke få tilgang til filen: '; $PHPMAILER_LANG['recipients_failed'] = 'SMTP Feil: Følgende mottagere feilet: ';
$PHPMAILER_LANG["file_open"] = 'Fil feil: Kunne ikke åpne filen: '; //$PHPMAILER_LANG['signing'] = 'Signing Error: ';
$PHPMAILER_LANG["encoding"] = 'Ukjent encoding: '; //$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
//$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: ';
//$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: ';
?> ?>

View File

@@ -1,24 +1,25 @@
<?php <?php
/** /**
* PHPMailer language file. * PHPMailer language file: refer to English translation for definitive list
* Polish Version, encoding: windows-1250 * Polish Version
* translated from english lang file ver. 1.72
*/ */
$PHPMAILER_LANG = array(); $PHPMAILER_LANG['authenticate'] = 'Błąd SMTP: Nie można przeprowadzić autentykacji.';
$PHPMAILER_LANG['connect_host'] = 'Błąd SMTP: Nie można połączyć się z wybranym hostem.';
$PHPMAILER_LANG["provide_address"] = 'Nale¿y podaæ prawid³owy adres email Odbiorcy.'; $PHPMAILER_LANG['data_not_accepted'] = 'Błąd SMTP: Dane nie zostały przyjęte.';
$PHPMAILER_LANG["mailer_not_supported"] = 'Wybrana metoda wysy³ki wiadomoœci nie jest obs³ugiwana.'; //$PHPMAILER_LANG['empty_message'] = 'Message body empty';
$PHPMAILER_LANG["execute"] = 'Nie mo¿na uruchomiæ: '; $PHPMAILER_LANG['encoding'] = 'Nieznany sposób kodowania znaków: ';
$PHPMAILER_LANG["instantiate"] = 'Nie mo¿na wywo³aæ funkcji mail(). SprawdŸ konfiguracjê serwera.'; $PHPMAILER_LANG['execute'] = 'Nie można uruchomić: ';
$PHPMAILER_LANG["authenticate"] = 'B³¹d SMTP: Nie mo¿na przeprowadziæ autentykacji.'; $PHPMAILER_LANG['file_access'] = 'Brak dostępu do pliku: ';
$PHPMAILER_LANG["from_failed"] = 'Nastêpuj¹cy adres Nadawcy jest jest nieprawid³owy: '; $PHPMAILER_LANG['file_open'] = 'Nie można otworzyć pliku: ';
$PHPMAILER_LANG["recipients_failed"] = 'B³¹d SMTP: Nastêpuj¹cy ' . $PHPMAILER_LANG['from_failed'] = 'Następujący adres Nadawcy jest jest nieprawidłowy: ';
'odbiorcy s¹ nieprawid³owi: '; $PHPMAILER_LANG['instantiate'] = 'Nie można wywołać funkcji mail(). Sprawdź konfigurację serwera.';
$PHPMAILER_LANG["data_not_accepted"] = 'B³¹d SMTP: Dane nie zosta³y przyjête.'; //$PHPMAILER_LANG['invalid_email'] = 'Not sending, email address is invalid: ';
$PHPMAILER_LANG["connect_host"] = 'B³¹d SMTP: Nie mo¿na po³¹czyæ siê z wybranym hostem.'; $PHPMAILER_LANG['provide_address'] = 'Należy podać prawidłowy adres email Odbiorcy.';
$PHPMAILER_LANG["file_access"] = 'Brak dostêpu do pliku: '; $PHPMAILER_LANG['mailer_not_supported'] = 'Wybrana metoda wysyłki wiadomości nie jest obsługiwana.';
$PHPMAILER_LANG["file_open"] = 'Nie mo¿na otworzyæ pliku: '; $PHPMAILER_LANG['recipients_failed'] = 'Błąd SMTP: Następujący odbiorcy są nieprawidłowi: ';
$PHPMAILER_LANG["encoding"] = 'Nieznany sposób kodowania znaków: '; //$PHPMAILER_LANG['signing'] = 'Signing Error: ';
//$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
//$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: ';
//$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: ';
?> ?>

View File

@@ -1,23 +1,27 @@
<?php <?php
/** /**
* PHPMailer language file. * PHPMailer language file: refer to English translation for definitive list
* Romanian Version * Romanian Version
* @package PHPMailer * @package PHPMailer
* @author Catalin Constantin <catalin@dazoot.ro> * @author Catalin Constantin <catalin@dazoot.ro>
*/ */
$PHPMAILER_LANG = array(); $PHPMAILER_LANG['authenticate'] = 'Eroare SMTP: Nu a functionat autentificarea.';
$PHPMAILER_LANG['connect_host'] = 'Eroare SMTP: Nu m-am putut conecta la adresa SMTP.';
$PHPMAILER_LANG["provide_address"] = 'Trebuie sa adaugati cel putin un recipient (adresa de mail).'; $PHPMAILER_LANG['data_not_accepted'] = 'Eroare SMTP: Continutul mailului nu a fost acceptat.';
$PHPMAILER_LANG["mailer_not_supported"] = ' mailer nu este suportat.'; //$PHPMAILER_LANG['empty_message'] = 'Message body empty';
$PHPMAILER_LANG["execute"] = 'Nu pot executa: '; $PHPMAILER_LANG['encoding'] = 'Encodare necunoscuta: ';
$PHPMAILER_LANG["instantiate"] = 'Nu am putut instantia functia mail.'; $PHPMAILER_LANG['execute'] = 'Nu pot executa: ';
$PHPMAILER_LANG["authenticate"] = 'Eroare SMTP: Nu a functionat autentificarea.'; $PHPMAILER_LANG['file_access'] = 'Nu pot accesa fisierul: ';
$PHPMAILER_LANG["from_failed"] = 'Urmatoarele adrese From au dat eroare: '; $PHPMAILER_LANG['file_open'] = 'Eroare de fisier: Nu pot deschide fisierul: ';
$PHPMAILER_LANG["recipients_failed"] = 'Eroare SMTP: Urmatoarele adrese de mail au dat eroare: '; $PHPMAILER_LANG['from_failed'] = 'Urmatoarele adrese From au dat eroare: ';
$PHPMAILER_LANG["data_not_accepted"] = 'Eroare SMTP: Continutul mailului nu a fost acceptat.'; $PHPMAILER_LANG['instantiate'] = 'Nu am putut instantia functia mail.';
$PHPMAILER_LANG["connect_host"] = 'Eroare SMTP: Nu m-am putut conecta la adresa SMTP.'; //$PHPMAILER_LANG['invalid_email'] = 'Not sending, email address is invalid: ';
$PHPMAILER_LANG["file_access"] = 'Nu pot accesa fisierul: '; $PHPMAILER_LANG['mailer_not_supported'] = ' mailer nu este suportat.';
$PHPMAILER_LANG["file_open"] = 'Eroare de fisier: Nu pot deschide fisierul: '; $PHPMAILER_LANG['provide_address'] = 'Trebuie sa adaugati cel putin un recipient (adresa de mail).';
$PHPMAILER_LANG["encoding"] = 'Encodare necunoscuta: '; $PHPMAILER_LANG['recipients_failed'] = 'Eroare SMTP: Urmatoarele adrese de mail au dat eroare: ';
//$PHPMAILER_LANG['signing'] = 'Signing Error: ';
//$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
//$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: ';
//$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: ';
?> ?>

View File

@@ -1,23 +1,25 @@
<?php <?php
/** /**
* PHPMailer language file. * PHPMailer language file: refer to English translation for definitive list
* Russian Version * Russian Version by Alexey Chumakov <alex@chumakov.ru>
*/ */
$PHPMAILER_LANG = array(); $PHPMAILER_LANG['authenticate'] = 'Ошибка SMTP: ошибка авторизации.';
$PHPMAILER_LANG['connect_host'] = 'Ошибка SMTP: не удается подключиться к серверу SMTP.';
$PHPMAILER_LANG["provide_address"] = 'Ïîæàëóéñòà ââåäèòå ìèíèìóì îäèí Email' . $PHPMAILER_LANG['data_not_accepted'] = 'Ошибка SMTP: данные не приняты.';
'ïîëó÷àòåëÿ.'; //$PHPMAILER_LANG['empty_message'] = 'Message body empty';
$PHPMAILER_LANG["mailer_not_supported"] = ' mailer íå ïîääåðæèâàåòñÿ.'; $PHPMAILER_LANG['encoding'] = 'Неизвестный вид кодировки: ';
$PHPMAILER_LANG["execute"] = 'Íåâîçìîæíî âûïîëíèòü ýòó êîìàíäó: '; $PHPMAILER_LANG['execute'] = 'Невозможно выполнить команду: ';
$PHPMAILER_LANG["instantiate"] = 'Ïðîèçîøëà îøèáêà ïðè èíèöèàëèçàöèè Mail ôóíêöèè.'; $PHPMAILER_LANG['file_access'] = 'Нет доступа к файлу: ';
$PHPMAILER_LANG["authenticate"] = 'SMTP îøèáêà: îøèáêà àâòîðèçàöèè.'; $PHPMAILER_LANG['file_open'] = 'Файловая ошибка: не удается открыть файл: ';
$PHPMAILER_LANG["from_failed"] = 'Íåâåðíûé àäðåñ îòïðàâèòåëÿ: '; $PHPMAILER_LANG['from_failed'] = 'Неверный адрес отправителя: ';
$PHPMAILER_LANG["recipients_failed"] = 'SMTP îøèáêà: Ñëåäóþùèå ' . $PHPMAILER_LANG['instantiate'] = 'Невозможно запустить функцию mail.';
'àäðåñà ïîëó÷àòåëåé íåâåðíû: '; //$PHPMAILER_LANG['invalid_email'] = 'Not sending, email address is invalid: ';
$PHPMAILER_LANG["data_not_accepted"] = 'SMTP îøèáêà: Äàííûå íå áûëè ïðèíÿòû.'; $PHPMAILER_LANG['provide_address'] = 'Пожалуйста, введите хотя бы один адрес e-mail получателя.';
$PHPMAILER_LANG["connect_host"] = 'SMTP îøèáêà: SMTP-Host íåäîñòóïåí.'; $PHPMAILER_LANG['mailer_not_supported'] = ' - почтовый сервер не поддерживается.';
$PHPMAILER_LANG["file_access"] = 'Â äîñòóïå ê ñëåäóþùåìó ôàéëó áûëî îòêàçàíî: '; $PHPMAILER_LANG['recipients_failed'] = 'Ошибка SMTP: отправка по следующим адресам получателей не удалась: ';
$PHPMAILER_LANG["file_open"] = 'Íå ìîãó îòêðûòü ôàéë: '; //$PHPMAILER_LANG['signing'] = 'Signing Error: ';
$PHPMAILER_LANG["encoding"] = 'Íåèçâåñòíûé ôîðìàò êîäèðîâêè: '; //$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
//$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: ';
//$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: ';
?> ?>

View File

@@ -1,24 +1,26 @@
<?php <?php
/** /**
* PHPMailer language file. * PHPMailer language file: refer to English translation for definitive list
* Swedish Version * Swedish Version
* Author: Johan Linnér <johan@linner.biz> * Author: Johan Linnér <johan@linner.biz>
*/ */
$PHPMAILER_LANG = array(); $PHPMAILER_LANG['authenticate'] = 'SMTP fel: Kunde inte autentisera.';
$PHPMAILER_LANG['connect_host'] = 'SMTP fel: Kunde inte ansluta till SMTP-server.';
$PHPMAILER_LANG["provide_address"] = 'Du måste ange minst en ' . $PHPMAILER_LANG['data_not_accepted'] = 'SMTP fel: Data accepterades inte.';
'mottagares e-postadress.'; //$PHPMAILER_LANG['empty_message'] = 'Message body empty';
$PHPMAILER_LANG["mailer_not_supported"] = ' mailer stöds inte.'; $PHPMAILER_LANG['encoding'] = 'Okänt encode-format: ';
$PHPMAILER_LANG["execute"] = 'Kunde inte köra: '; $PHPMAILER_LANG['execute'] = 'Kunde inte köra: ';
$PHPMAILER_LANG["instantiate"] = 'Kunde inte initiera e-postfunktion.'; $PHPMAILER_LANG['file_access'] = 'Ingen åtkomst till fil: ';
$PHPMAILER_LANG["authenticate"] = 'SMTP fel: Kunde inte autentisera.'; $PHPMAILER_LANG['file_open'] = 'Fil fel: Kunde inte öppna fil: ';
$PHPMAILER_LANG["from_failed"] = 'Följande avsändaradress är felaktig: '; $PHPMAILER_LANG['from_failed'] = 'Följande avsändaradress är felaktig: ';
$PHPMAILER_LANG["recipients_failed"] = 'SMTP fel: Följande ' . $PHPMAILER_LANG['instantiate'] = 'Kunde inte initiera e-postfunktion.';
'mottagare är felaktig: '; //$PHPMAILER_LANG['invalid_email'] = 'Not sending, email address is invalid: ';
$PHPMAILER_LANG["data_not_accepted"] = 'SMTP fel: Data accepterades inte.'; $PHPMAILER_LANG['provide_address'] = 'Du måste ange minst en mottagares e-postadress.';
$PHPMAILER_LANG["connect_host"] = 'SMTP fel: Kunde inte ansluta till SMTP-server.'; $PHPMAILER_LANG['mailer_not_supported'] = ' mailer stöds inte.';
$PHPMAILER_LANG["file_access"] = 'Ingen åtkomst till fil: '; $PHPMAILER_LANG['recipients_failed'] = 'SMTP fel: Följande mottagare är felaktig: ';
$PHPMAILER_LANG["file_open"] = 'Fil fel: Kunde inte öppna fil: '; //$PHPMAILER_LANG['signing'] = 'Signing Error: ';
$PHPMAILER_LANG["encoding"] = 'Okänt encode-format: '; //$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
//$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: ';
//$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: ';
?> ?>

View File

@@ -1,25 +1,27 @@
<?php <?php
/** /**
* PHPMailer dil dosyasý. * PHPMailer language file: refer to English translation for definitive list
* Turkish version
* Türkçe Versiyonu * Türkçe Versiyonu
* ÝZYAZILIM - Elçin Özel - Can Yýlmaz - Mehmet Benlioðlu * ÝZYAZILIM - Elçin Özel - Can Yýlmaz - Mehmet Benlioðlu
*/ */
$PHPMAILER_LANG = array(); $PHPMAILER_LANG['authenticate'] = 'SMTP Hatasý: Doðrulanamýyor.';
$PHPMAILER_LANG['connect_host'] = 'SMTP Hatasý: SMTP hosta baðlanýlamýyor.';
$PHPMAILER_LANG["provide_address"] = 'En az bir tane mail adresi belirtmek zorundasýnýz ' . $PHPMAILER_LANG['data_not_accepted'] = 'SMTP Hatasý: Veri kabul edilmedi.';
'alýcýnýn email adresi.'; //$PHPMAILER_LANG['empty_message'] = 'Message body empty';
$PHPMAILER_LANG["mailer_not_supported"] = ' mailler desteklenmemektedir.'; $PHPMAILER_LANG['encoding'] = 'Bilinmeyen þifreleme: ';
$PHPMAILER_LANG["execute"] = 'Çalýþtýrýlamýyor: '; $PHPMAILER_LANG['execute'] = 'Çalýþtýrýlamýyor: ';
$PHPMAILER_LANG["instantiate"] = 'Örnek mail fonksiyonu yaratýlamadý.'; $PHPMAILER_LANG['file_access'] = 'Dosyaya eriþilemiyor: ';
$PHPMAILER_LANG["authenticate"] = 'SMTP Hatasý: Doðrulanamýyor.'; $PHPMAILER_LANG['file_open'] = 'Dosya Hatasý: Dosya açýlamýyor: ';
$PHPMAILER_LANG["from_failed"] = 'Baþarýsýz olan gönderici adresi: '; $PHPMAILER_LANG['from_failed'] = 'Baþarýsýz olan gönderici adresi: ';
$PHPMAILER_LANG["recipients_failed"] = 'SMTP Hatasý: ' . $PHPMAILER_LANG['instantiate'] = 'Örnek mail fonksiyonu yaratýlamadý.';
'alýcýlara ulaþmadý: '; //$PHPMAILER_LANG['invalid_email'] = 'Not sending, email address is invalid: ';
$PHPMAILER_LANG["data_not_accepted"] = 'SMTP Hatasý: Veri kabul edilmedi.'; $PHPMAILER_LANG['provide_address'] = 'En az bir tane mail adresi belirtmek zorundasýnýz alýcýnýn email adresi.';
$PHPMAILER_LANG["connect_host"] = 'SMTP Hatasý: SMTP hosta baðlanýlamýyor.'; $PHPMAILER_LANG['mailer_not_supported'] = ' mailler desteklenmemektedir.';
$PHPMAILER_LANG["file_access"] = 'Dosyaya eriþilemiyor: '; $PHPMAILER_LANG['recipients_failed'] = 'SMTP Hatasý: alýcýlara ulaþmadý: ';
$PHPMAILER_LANG["file_open"] = 'Dosya Hatasý: Dosya açýlamýyor: '; //$PHPMAILER_LANG['signing'] = 'Signing Error: ';
$PHPMAILER_LANG["encoding"] = 'Bilinmeyen þifreleme: '; //$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
//$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: ';
//$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: ';
?> ?>

View File

@@ -0,0 +1,26 @@
<?php
/**
* PHPMailer language file: refer to English translation for definitive list
* Traditional Chinese Version
* @author liqwei <liqwei@liqwei.com>
*/
$PHPMAILER_LANG['authenticate'] = 'SMTP 錯誤:登錄失敗。';
$PHPMAILER_LANG['connect_host'] = 'SMTP 錯誤:無法連接到 SMTP 主機。';
$PHPMAILER_LANG['data_not_accepted'] = 'SMTP 錯誤:數據不被接受。';
//$PHPMAILER_LANG['empty_message'] = 'Message body empty';
$PHPMAILER_LANG['encoding'] = '未知編碼: ';
$PHPMAILER_LANG['file_access'] = '無法訪問文件:';
$PHPMAILER_LANG['file_open'] = '文件錯誤:無法打開文件:';
$PHPMAILER_LANG['from_failed'] = '發送地址錯誤:';
$PHPMAILER_LANG['execute'] = '無法執行:';
$PHPMAILER_LANG['instantiate'] = '未知函數調用。';
//$PHPMAILER_LANG['invalid_email'] = 'Not sending, email address is invalid: ';
$PHPMAILER_LANG['provide_address'] = '必須提供至少一個收件人地址。';
$PHPMAILER_LANG['mailer_not_supported'] = '發信客戶端不被支持。';
$PHPMAILER_LANG['recipients_failed'] = 'SMTP 錯誤:收件人地址錯誤:';
//$PHPMAILER_LANG['signing'] = 'Signing Error: ';
//$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
//$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: ';
//$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: ';
?>

View File

@@ -0,0 +1,26 @@
<?php
/**
* PHPMailer language file: refer to English translation for definitive list
* Simplified Chinese Version
* @author liqwei <liqwei@liqwei.com>
*/
$PHPMAILER_LANG['authenticate'] = 'SMTP 错误:登录失败。';
$PHPMAILER_LANG['connect_host'] = 'SMTP 错误:无法连接到 SMTP 主机。';
$PHPMAILER_LANG['data_not_accepted'] = 'SMTP 错误:数据不被接受。';
//$P$PHPMAILER_LANG['empty_message'] = 'Message body empty';
$PHPMAILER_LANG['encoding'] = '未知编码: ';
$PHPMAILER_LANG['execute'] = '无法执行:';
$PHPMAILER_LANG['file_access'] = '无法访问文件:';
$PHPMAILER_LANG['file_open'] = '文件错误:无法打开文件:';
$PHPMAILER_LANG['from_failed'] = '发送地址错误:';
$PHPMAILER_LANG['instantiate'] = '未知函数调用。';
//$PHPMAILER_LANG['invalid_email'] = 'Not sending, email address is invalid: ';
$PHPMAILER_LANG['mailer_not_supported'] = '发信客户端不被支持。';
$PHPMAILER_LANG['provide_address'] = '必须提供至少一个收件人地址。';
$PHPMAILER_LANG['recipients_failed'] = 'SMTP 错误:收件人地址错误:';
//$PHPMAILER_LANG['signing'] = 'Signing Error: ';
//$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
//$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: ';
//$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: ';
?>

View File

@@ -4150,7 +4150,9 @@ class Cases {
'MESS_PORT' => $aConfiguration['MESS_PORT'], 'MESS_PORT' => $aConfiguration['MESS_PORT'],
'MESS_ACCOUNT' => $aConfiguration['MESS_ACCOUNT'], 'MESS_ACCOUNT' => $aConfiguration['MESS_ACCOUNT'],
'MESS_PASSWORD' => $aConfiguration['MESS_PASSWORD'], 'MESS_PASSWORD' => $aConfiguration['MESS_PASSWORD'],
'SMTPAuth' => $aConfiguration['MESS_RAUTH'] == '1' ? true : false)); 'SMTPAuth' => $aConfiguration['MESS_RAUTH'] == '1' ? true : false,
'SMTPSecure' => isset($aConfiguration['SMTPSecure']) ? $aConfiguration['SMTPSecure'] : ''
));
$oSpool->create(array('msg_uid' => '', $oSpool->create(array('msg_uid' => '',
'app_uid' => $sApplicationUID, 'app_uid' => $sApplicationUID,
'del_index' => $iDelegation, 'del_index' => $iDelegation,
@@ -4163,7 +4165,8 @@ class Cases {
'app_msg_bcc' => '', 'app_msg_bcc' => '',
'app_msg_attach' => '', 'app_msg_attach' => '',
'app_msg_template' => '', 'app_msg_template' => '',
'app_msg_status' => 'pending')); 'app_msg_status' => 'pending'
));
if (($aConfiguration['MESS_BACKGROUND'] == '') || ($aConfiguration['MESS_TRY_SEND_INMEDIATLY'] == '1')) { if (($aConfiguration['MESS_BACKGROUND'] == '') || ($aConfiguration['MESS_TRY_SEND_INMEDIATLY'] == '1')) {
$oSpool->sendMail(); $oSpool->sendMail();
} }

View File

@@ -1,105 +0,0 @@
<?php
/**
* class.spool.php
* @package workflow.engine.classes
* @brief insert mail into the spool database
*
* @package Tomahawk_Mail
* @author Ian K Armstrong <ika@[REMOVE_THESE_CAPITALS]openmail.cc>
* @copyright Copyright (c) 2007, Ian K Armstrong
* @license http://www.opensource.org/licenses/gpl-3.0.html GNU Public License
* @link http://www.openmail.cc
*
* @category web_mail
* @subpackage send
* @filesource
* @version
*
* @file class.insert.php
*
*/
require_once ( "classes/model/AppMessage.php" );
class insert
{
private $db_spool;
private $status;
/**
* construct of insert
*
* @param string $pPRO_UID
* @return void
*/
function __construct($db_spool=array())
{
if(count($db_spool)>0)
$db_spool = $this->db_insert($db_spool);
}
/**
* returnStatus
*
* @return $this->status;
*/
public function returnStatus()
{
return $this->status;
}
/**
* db_insert
*
* @param array $db_spool
* @return string $sUID;
*/
public function db_insert($db_spool)
{
$sUID = G::generateUniqueID();
$spool = new AppMessage();
$spool->setAppMsgUid($sUID);
$spool->setMsgUid($db_spool['msg_uid']);
$spool->setAppUid($db_spool['app_uid']);
$spool->setDelIndex($db_spool['del_index']);
$spool->setAppMsgType($db_spool['app_msg_type']);
$spool->setAppMsgSubject($db_spool['app_msg_subject']);
$spool->setAppMsgFrom($db_spool['app_msg_from']);
$spool->setAppMsgTo($db_spool['app_msg_to']);
$spool->setAppMsgBody($db_spool['app_msg_body']);
$spool->setAppMsgDate(date('Y-m-d H:i:s'));
$spool->setAppMsgCc($db_spool['app_msg_cc']);
$spool->setAppMsgBcc($db_spool['app_msg_bcc']);
$spool->setappMsgAttach($db_spool['app_msg_attach']);
$spool->setAppMsgTemplate($db_spool['app_msg_template']);
$spool->setAppMsgStatus($db_spool['app_msg_status']);
$spool->setAppMsgSendDate(date('Y-m-d H:i:s')); // Add by Ankit
if(!$spool->validate()) {
$errors = $spool->getValidationFailures();
$this->status = 'error';
foreach($errors as $key => $value) {
echo "Validation error - " . $value->getMessage($key) . "\n";
}
}
else {
//echo "Saving - validation ok\n";
$this->status = 'success';
$spool->save();
}
return $sUID;
}
} // end of class
?>

File diff suppressed because it is too large Load Diff

View File

@@ -129,9 +129,7 @@ class spoolRun {
* @return none * @return none
*/ */
public function create($aData) { public function create($aData) {
G::LoadClass('insert'); $sUID = $this->db_insert($aData);
$oInsert = new insert();
$sUID = $oInsert->db_insert($aData);
$aData['app_msg_date'] = isset($aData['app_msg_date']) ? $aData['app_msg_date'] : ''; $aData['app_msg_date'] = isset($aData['app_msg_date']) ? $aData['app_msg_date'] : '';
@@ -274,10 +272,13 @@ class spoolRun {
$this->fileData['envelope_to'][] = "$val"; $this->fileData['envelope_to'][] = "$val";
} }
} }
} else { } else if($text != '') {
$this->fileData['envelope_to'][] = "$text"; $this->fileData['envelope_to'][] = "$text";
} else {
$this->fileData['envelope_to'] = Array();
} }
//for cc add by alvaro
//CC
if( false !== (strpos($textcc, ',')) ) { if( false !== (strpos($textcc, ',')) ) {
$holdcc = explode(',', $textcc); $holdcc = explode(',', $textcc);
@@ -286,10 +287,13 @@ class spoolRun {
$this->fileData['envelope_cc'][] = "$valcc"; $this->fileData['envelope_cc'][] = "$valcc";
} }
} }
} else { } else if($textcc != '') {
$this->fileData['envelope_cc'][] = "$textcc"; $this->fileData['envelope_cc'][] = "$textcc";
} else {
$this->fileData['envelope_cc'] = Array();
} }
//forbcc add by alvaro
//BCC
if( false !== (strpos($textbcc, ',')) ) { if( false !== (strpos($textbcc, ',')) ) {
$holdbcc = explode(',', $textbcc); $holdbcc = explode(',', $textbcc);
@@ -298,8 +302,10 @@ class spoolRun {
$this->fileData['envelope_bcc'][] = "$valbcc"; $this->fileData['envelope_bcc'][] = "$valbcc";
} }
} }
} else { } else if($textbcc != '') {
$this->fileData['envelope_bcc'][] = "$textbcc"; $this->fileData['envelope_bcc'][] = "$textbcc";
} else {
$this->fileData['envelope_bcc'] = Array();
} }
@@ -349,9 +355,18 @@ class spoolRun {
break; break;
case 'PHPMAILER': case 'PHPMAILER':
G::LoadThirdParty('phpmailer', 'class.phpmailer'); G::LoadThirdParty('phpmailer', 'class.phpmailer');
$oPHPMailer = new PHPMailer(); $oPHPMailer = new PHPMailer(true);
$oPHPMailer->Mailer = 'smtp'; $oPHPMailer->Mailer = 'smtp';
$oPHPMailer->SMTPAuth = (isset($this->config['SMTPAuth']) ? $this->config['SMTPAuth'] : ''); $oPHPMailer->SMTPAuth = (isset($this->config['SMTPAuth']) ? $this->config['SMTPAuth'] : '');
/**
* Posible Options for SMTPSecure are: "", "ssl" or "tls"
*/
if (preg_match('/^(ssl|tls)$/', $this->config['SMTPSecure'])) {
$oPHPMailer->SMTPSecure = $this->config['SMTPSecure'];
}
$oPHPMailer->Host = $this->config['MESS_SERVER']; $oPHPMailer->Host = $this->config['MESS_SERVER'];
$oPHPMailer->Port = $this->config['MESS_PORT']; $oPHPMailer->Port = $this->config['MESS_PORT'];
$oPHPMailer->Username = $this->config['MESS_ACCOUNT']; $oPHPMailer->Username = $this->config['MESS_ACCOUNT'];
@@ -373,7 +388,8 @@ class spoolRun {
$oPHPMailer->AddAddress($sEmail); $oPHPMailer->AddAddress($sEmail);
} }
} }
//add cc add by alvaro
//CC
foreach( $this->fileData['envelope_cc'] as $sEmail ) { foreach( $this->fileData['envelope_cc'] as $sEmail ) {
$evalMail = strpos($sEmail, '<'); $evalMail = strpos($sEmail, '<');
@@ -386,7 +402,8 @@ class spoolRun {
$oPHPMailer->AddCC($sEmail); $oPHPMailer->AddCC($sEmail);
} }
} }
//add bcc add by alvaro
//BCC
foreach( $this->fileData['envelope_bcc'] as $sEmail ) { foreach( $this->fileData['envelope_bcc'] as $sEmail ) {
$evalMail = strpos($sEmail, '<'); $evalMail = strpos($sEmail, '<');
@@ -491,5 +508,49 @@ class spoolRun {
} }
return false; return false;
} }
/**
* db_insert
*
* @param array $db_spool
* @return string $sUID;
*/
public function db_insert($db_spool)
{
$sUID = G::generateUniqueID();
$spool = new AppMessage();
$spool->setAppMsgUid($sUID);
$spool->setMsgUid($db_spool['msg_uid']);
$spool->setAppUid($db_spool['app_uid']);
$spool->setDelIndex($db_spool['del_index']);
$spool->setAppMsgType($db_spool['app_msg_type']);
$spool->setAppMsgSubject($db_spool['app_msg_subject']);
$spool->setAppMsgFrom($db_spool['app_msg_from']);
$spool->setAppMsgTo($db_spool['app_msg_to']);
$spool->setAppMsgBody($db_spool['app_msg_body']);
$spool->setAppMsgDate(date('Y-m-d H:i:s'));
$spool->setAppMsgCc($db_spool['app_msg_cc']);
$spool->setAppMsgBcc($db_spool['app_msg_bcc']);
$spool->setappMsgAttach($db_spool['app_msg_attach']);
$spool->setAppMsgTemplate($db_spool['app_msg_template']);
$spool->setAppMsgStatus($db_spool['app_msg_status']);
$spool->setAppMsgSendDate(date('Y-m-d H:i:s')); // Add by Ankit
if(!$spool->validate()) {
$errors = $spool->getValidationFailures();
$this->status = 'error';
foreach($errors as $key => $value) {
echo "Validation error - " . $value->getMessage($key) . "\n";
}
}
else {
//echo "Saving - validation ok\n";
$this->status = 'success';
$spool->save();
}
return $sUID;
}
} }
?> ?>

View File

@@ -82,6 +82,14 @@ function testConnection() {
params += '&send_test_mail='+ (getField('MESS_TEST_MAIL').checked ? 'yes' : 'no'); params += '&send_test_mail='+ (getField('MESS_TEST_MAIL').checked ? 'yes' : 'no');
params += '&mail_to=' + $('form[MESS_TEST_MAIL_TO]').value; params += '&mail_to=' + $('form[MESS_TEST_MAIL_TO]').value;
if(getField('SMTPSecure][ssl').checked) {
params +='&SMTPSecure=ssl';
} else if(getField('SMTPSecure][tls').checked) {
params +='&SMTPSecure=tls';
} else {
params +='&SMTPSecure=';
}
oPanel = new leimnud.module.panel(); oPanel = new leimnud.module.panel();
oPanel.options = { oPanel.options = {
size : {w : 590, h : 350}, size : {w : 590, h : 350},
@@ -108,7 +116,7 @@ function testConnection() {
oRPC.callback = function(rpc) { oRPC.callback = function(rpc) {
oPanel.loader.hide(); oPanel.loader.hide();
oPanel.addContent(rpc.xmlhttp.responseText); oPanel.addContent(rpc.xmlhttp.responseText);
testSMTPHost(1); // execution de init test testSMTPHost(1, params); // execution de init test
}.extend(this); }.extend(this);
oRPC.make(); oRPC.make();
}; };
@@ -152,19 +160,11 @@ function testConnectionMail() {
}; };
var resultset = true; var resultset = true;
function testSMTPHost(step) { function testSMTPHost(step, params) {
$("test_" + step).style.display = "block"; $("test_" + step).style.display = "block";
var requestfile = PROCESS_REQUEST_FILE; var requestfile = PROCESS_REQUEST_FILE;
var uri = 'request=testConnection&step=' + step +'&'+ params;
var params = 'request=testConnection&step=' + step;
params += '&srv=' + getField('MESS_SERVER').value.trim();
params += '&port='+ ((getField('MESS_PORT').value.trim() != '') ? getField('MESS_PORT').value : 'default');
params += '&account=' + getField('MESS_ACCOUNT').value;
params += '&passwd=' + getField('MESS_PASSWORD').value;
params += '&auth_required='+ (getField('MESS_RAUTH').checked ? 'yes' : 'no');
params += '&send_test_mail='+ (getField('MESS_TEST_MAIL').checked ? 'yes' : 'no');
params += '&mail_to=' + $('form[MESS_TEST_MAIL_TO]').value;
var ajax = AJAX(); var ajax = AJAX();
ajax.open("POST", requestfile, true); ajax.open("POST", requestfile, true);
@@ -193,7 +193,7 @@ function testSMTPHost(step) {
} }
} }
step += 1; step += 1;
testSMTPHost(step); testSMTPHost(step, params);
} catch (e) { } catch (e) {
if (resultset) { if (resultset) {
$('form[SAVE_CHANGES]').disabled = false; $('form[SAVE_CHANGES]').disabled = false;
@@ -207,7 +207,7 @@ function testSMTPHost(step) {
$('status_' + step).innerHTML = "<img src='/images/ajax-loader.gif' width=12 height=12 border=0><br/>"; $('status_' + step).innerHTML = "<img src='/images/ajax-loader.gif' width=12 height=12 border=0><br/>";
} }
} }
ajax.send(params); ajax.send(uri);
} }
function cancelTestConnection() { function cancelTestConnection() {
@@ -256,6 +256,7 @@ function initSet() {
hideRowById('MESS_TEST_MAIL'); hideRowById('MESS_TEST_MAIL');
hideRowById('MESS_TEST_MAIL_TO'); hideRowById('MESS_TEST_MAIL_TO');
hideRowById('TEST'); hideRowById('TEST');
hideRowById('SMTPSecure');
hideRowById('SAVE_CHANGES'); hideRowById('SAVE_CHANGES');
$('form[SAVE_CHANGES]').disabled = false; $('form[SAVE_CHANGES]').disabled = false;
} else { } else {

View File

@@ -59,6 +59,8 @@ else {
} }
} }
$aFields['SMTPSecure'] = $aFields['SMTPSecure'] == ''? 'none' : $aFields['SMTPSecure'];
$rows[] = array ( 'uid' => 'char', 'name' => 'char', 'age' => 'integer', 'balance' => 'float' ); $rows[] = array ( 'uid' => 'char', 'name' => 'char', 'age' => 'integer', 'balance' => 'float' );
$rows[] = array ( 'uid' => 'PHPMAILER', 'name' => 'SMTP (PHPMailer)' ); $rows[] = array ( 'uid' => 'PHPMAILER', 'name' => 'SMTP (PHPMailer)' );
// ending OpenMail support // ending OpenMail support

View File

@@ -60,7 +60,7 @@ switch ($request) {
case 'testConnection': case 'testConnection':
G::LoadClass('net'); G::LoadClass('net');
require_once('classes/class.smtp.rfc-821.php'); G::LoadThirdParty('phpmailer', 'class.smtp');
define("SUCCESSFUL", 'SUCCESSFUL'); define("SUCCESSFUL", 'SUCCESSFUL');
define("FAILED", 'FAILED'); define("FAILED", 'FAILED');
@@ -77,9 +77,11 @@ switch ($request) {
$auth_required = $_POST['auth_required']; $auth_required = $_POST['auth_required'];
$send_test_mail = $_POST['send_test_mail']; $send_test_mail = $_POST['send_test_mail'];
$mail_to = $_POST['mail_to']; $mail_to = $_POST['mail_to'];
$SMTPSecure = $_POST['SMTPSecure'];
$timeout = 10;
$Server = new NET($srv); $Server = new NET($srv);
$oSMTP = new ESMTP; $smtp = new SMTP;
switch ($step) { switch ($step) {
case 1: case 1:
@@ -92,7 +94,7 @@ switch ($request) {
case 2: case 2:
if($port == 0){ if($port == 0){
$port = $oSMTP->SMTP_PORT; $port = $smtp->SMTP_PORT;
} }
$Server->scannPort($port); $Server->scannPort($port);
if ($Server->getErrno() == 0) { if ($Server->getErrno() == 0) {
@@ -104,37 +106,70 @@ switch ($request) {
#try to connect to host #try to connect to host
case 3: case 3:
if($port == 0){ $hostinfo = array();
$resp = $oSMTP->Connect($srv);
if (preg_match('/^(.+):([0-9]+)$/', $srv, $hostinfo)) {
$host = $hostinfo[1];
$port = $hostinfo[2];
} else { } else {
$resp = $oSMTP->Connect($srv, $port); $host = $srv;
} }
if( !$resp) {
print(FAILED.','.$oSMTP->error['error']); $tls = ($SMTPSecure == 'tls');
$ssl = ($SMTPSecure == 'ssl');
$resp = $smtp->Connect(($ssl ? 'ssl://':'').$host, $port, $timeout);
if ($resp) {
print(SUCCESSFUL.','.$smtp->status);
} else { } else {
print(SUCCESSFUL.','.$oSMTP->status); print(FAILED.','.$smtp->error['error']);
} }
break; break;
#try login to host #try login to host
case 4: case 4:
if($auth_required == 'yes') { if($auth_required == 'yes') {
if($port == 0){ try {
$resp = $oSMTP->Connect($srv); $hostinfo = array();
if (preg_match('/^(.+):([0-9]+)$/', $srv, $hostinfo)) {
$host = $hostinfo[1];
$port = $hostinfo[2];
} else { } else {
$resp = $oSMTP->Connect($srv, $port); $host = $srv;
} }
$tls = ($SMTPSecure == 'tls');
$ssl = ($SMTPSecure == 'ssl');
$resp = $smtp->Connect(($ssl ? 'ssl://':'').$host, $port, $timeout);
if ($resp) { if ($resp) {
$oSMTP->do_debug = false;
$oSMTP->Hello($srv); $hello = $_SERVER['SERVER_NAME'];
if( !$oSMTP->Authenticate($user, $passwd) ) { $smtp->Hello($hello);
print(FAILED.','.$oSMTP->error['error']);
} else { if ($tls) {
print(SUCCESSFUL.','.$oSMTP->status); if (!$smtp->StartTLS()) {
// problem with tls
} }
//We must resend HELO after tls negotiation
$smtp->Hello($hello);
}
if( $smtp->Authenticate($user, $passwd) ) {
print(SUCCESSFUL.','.$smtp->status);
} else { } else {
print(FAILED.','.$oSMTP->error['error']); print(FAILED.','.$smtp->error['error']);
}
} else {
print(FAILED.','.$smtp->error['error']);
}
} catch (Exception $e) {
print(FAILED.','.$e->getMessage());
} }
} else { } else {
print(SUCCESSFUL.', No authentication required!'); print(SUCCESSFUL.', No authentication required!');
@@ -143,6 +178,7 @@ switch ($request) {
case 5: case 5:
if($send_test_mail == 'yes'){ if($send_test_mail == 'yes'){
try {
//print(SUCCESSFUL.',ok'); //print(SUCCESSFUL.',ok');
$_POST['FROM_NAME'] = 'Process Maker O.S. [Test mail]'; $_POST['FROM_NAME'] = 'Process Maker O.S. [Test mail]';
$_POST['FROM_EMAIL'] = $user; $_POST['FROM_EMAIL'] = $user;
@@ -165,6 +201,10 @@ switch ($request) {
} else { } else {
print(FAILED.','.$resp->msg); print(FAILED.','.$resp->msg);
} }
} catch (Exception $e) {
print(FAILED.','.$e->getMessage());
}
} else { } else {
print('jump this step'); print('jump this step');
} }
@@ -177,7 +217,7 @@ switch ($request) {
} }
function sendTestMail() { function sendTestMail() {
G::LoadClass("system");
$sFrom = ($_POST['FROM_NAME'] != '' ? $_POST['FROM_NAME'] . ' ' : '') . '<' . $_POST['FROM_EMAIL'] . '>'; $sFrom = ($_POST['FROM_NAME'] != '' ? $_POST['FROM_NAME'] . ' ' : '') . '<' . $_POST['FROM_EMAIL'] . '>';
$sSubject = G::LoadTranslation('ID_MESS_TEST_SUBJECT'); $sSubject = G::LoadTranslation('ID_MESS_TEST_SUBJECT');
$msg = G::LoadTranslation('ID_MESS_TEST_BODY'); $msg = G::LoadTranslation('ID_MESS_TEST_BODY');
@@ -194,13 +234,12 @@ function sendTestMail() {
break; break;
} }
$colosa_msg = "This Business Process is powered by <b>ProcessMaker</b>.";
$sBody = " $sBody = "
<table style=\"background-color: white; font-family: Arial,Helvetica,sans-serif; color: black; font-size: 11px; text-align: left;\" cellpadding='10' cellspacing='0' width='100%'> <table style=\"background-color: white; font-family: Arial,Helvetica,sans-serif; color: black; font-size: 11px; text-align: left;\" cellpadding='10' cellspacing='0' width='100%'>
<tbody><tr><td><img id='logo' src='http://".$_SERVER['SERVER_NAME']."/images/processmaker.logo.jpg' /></td></tr> <tbody><tr><td><img id='logo' src='http://".$_SERVER['SERVER_NAME']."/images/processmaker.logo.jpg' /></td></tr>
<tr><td style='font-size: 14px;'>$msg [".date('H:i:s')."] - $engine</td></tr> <tr><td style='font-size: 14px;'>$msg [".date('H:i:s')."] - $engine</td></tr>
<tr><td style='vertical-align:middel;'> <tr><td style='vertical-align:middel;'>
<br /><hr><b>This Business Process is powered by ProcessMaker.<b><br /> <br /><hr><b>This Business Process is powered by ProcessMaker ver. ".System::getVersion().".<b><br />
<a href='http://www.processmaker.com' style='color:#c40000;'>www.processmaker.com</a><br /></td> <a href='http://www.processmaker.com' style='color:#c40000;'>www.processmaker.com</a><br /></td>
</tr></tbody></table>"; </tr></tbody></table>";
@@ -214,7 +253,8 @@ function sendTestMail() {
'MESS_PORT' => $_POST['MESS_PORT'], 'MESS_PORT' => $_POST['MESS_PORT'],
'MESS_ACCOUNT' => $_POST['MESS_ACCOUNT'], 'MESS_ACCOUNT' => $_POST['MESS_ACCOUNT'],
'MESS_PASSWORD' => $_POST['MESS_PASSWORD'], 'MESS_PASSWORD' => $_POST['MESS_PASSWORD'],
'SMTPAuth' => $_POST['SMTPAuth'] 'SMTPAuth' => $_POST['SMTPAuth'],
'SMTPSecure' => $_POST['SMTPSecure']
)); ));
$oSpool->create(array( $oSpool->create(array(

View File

@@ -35,12 +35,15 @@ $aFields['MESS_PASSWORD'] = $_POST['form']['MESS_PASSWORD'];
$aFields['MESS_BACKGROUND'] = isset($_POST['form']['MESS_BACKGROUND']) ? $_POST['form']['MESS_BACKGROUND'] : ''; $aFields['MESS_BACKGROUND'] = isset($_POST['form']['MESS_BACKGROUND']) ? $_POST['form']['MESS_BACKGROUND'] : '';
$aFields['MESS_EXECUTE_EVERY'] = $_POST['form']['MESS_EXECUTE_EVERY']; $aFields['MESS_EXECUTE_EVERY'] = $_POST['form']['MESS_EXECUTE_EVERY'];
$aFields['MESS_SEND_MAX'] = $_POST['form']['MESS_SEND_MAX']; $aFields['MESS_SEND_MAX'] = $_POST['form']['MESS_SEND_MAX'];
$aFields['SMTPSecure'] = $_POST['form']['SMTPSecure'];
$aFields['MESS_TRY_SEND_INMEDIATLY'] = isset($_POST['form']['MESS_TRY_SEND_INMEDIATLY']) ? $_POST['form']['MESS_TRY_SEND_INMEDIATLY'] : ''; $aFields['MESS_TRY_SEND_INMEDIATLY'] = isset($_POST['form']['MESS_TRY_SEND_INMEDIATLY']) ? $_POST['form']['MESS_TRY_SEND_INMEDIATLY'] : '';
$oConfiguration->update(array('CFG_UID' => 'Emails', $oConfiguration->update(array(
'CFG_UID' => 'Emails',
'OBJ_UID' => '', 'OBJ_UID' => '',
'CFG_VALUE' => serialize($aFields), 'CFG_VALUE' => serialize($aFields),
'PRO_UID' => '', 'PRO_UID' => '',
'USR_UID' => '', 'USR_UID' => '',
'APP_UID' => '')); 'APP_UID' => '')
G::SendMessageText(G::LoadTranslation('ID_CHANGES_SAVED'), 'info'); );
G::SendTemporalMessage('ID_CHANGES_SAVED', 'TMP-INFO', 'label', 4, '100%');
G::header('location: emails'); G::header('location: emails');

View File

@@ -49,6 +49,15 @@
<td class="FormFieldContent" width="{$form_fieldContentWidth}">{$form.MESS_TEST_MAIL_TO}</td> <td class="FormFieldContent" width="{$form_fieldContentWidth}">{$form.MESS_TEST_MAIL_TO}</td>
</tr> </tr>
<tr> <tr>
<tr>
<td class="FormLabel" width="{$form_labelWidth}"><font color="red">* </font>{$SMTPSecure}</td>
<td class="FormFieldContent" width="{$form_fieldContentWidth}">{$form.SMTPSecure}</td>
</tr>
<tr>
<td class="FormLabel" width="{$form_labelWidth}"></td> <td class="FormLabel" width="{$form_labelWidth}"></td>
<td class="FormFieldContent" width="{$form_fieldContentWidth}">{$form.MESS_BACKGROUND }</td> <td class="FormFieldContent" width="{$form_fieldContentWidth}">{$form.MESS_BACKGROUND }</td>
</tr> </tr>

View File

@@ -19,7 +19,7 @@
</MESS_SERVER> </MESS_SERVER>
<MESS_PORT type="text" size="5" maxlength="5" validate="Int"> <MESS_PORT type="text" size="5" maxlength="5" validate="Int">
<en>Port</en> <en>Port (default 25)</en>
</MESS_PORT> </MESS_PORT>
<MESS_RAUTH type="checkbox" value="1"> <MESS_RAUTH type="checkbox" value="1">
@@ -42,6 +42,14 @@
<en>Mail to</en> <en>Mail to</en>
</MESS_TEST_MAIL_TO> </MESS_TEST_MAIL_TO>
<SMTPSecure type="radiogroup" required="0" mode="edit" options="Array" viewAlign ="horizontal" defaultValue="none">
<en>Use Secure Connection
<option name="none">No</option>
<option name="tls">TLS</option>
<option name="ssl">SSL</option>
</en>
</SMTPSecure>
<MESS_BACKGROUND type="checkbox" value="1"> <MESS_BACKGROUND type="checkbox" value="1">
<en>Run in the background</en> <en>Run in the background</en>
</MESS_BACKGROUND> </MESS_BACKGROUND>
@@ -96,6 +104,7 @@
hideRowById('MESS_ACCOUNT'); hideRowById('MESS_ACCOUNT');
hideRowById('MESS_PASSWORD'); hideRowById('MESS_PASSWORD');
hideRowById('SAVE_CHANGES2'); hideRowById('SAVE_CHANGES2');
hideRowById('SMTPSecure');
showRowById('TEST'); showRowById('TEST');
showRowById('MESS_TEST_MAIL'); showRowById('MESS_TEST_MAIL');
if ( getField('MESS_TEST_MAIL').checked ) if ( getField('MESS_TEST_MAIL').checked )
@@ -108,13 +117,12 @@
case 'PHPMAILER': case 'PHPMAILER':
hideRowById('SAVE_CHANGES2'); hideRowById('SAVE_CHANGES2');
case 'OPENMAIL':
showRowById('MESS_SERVER'); showRowById('MESS_SERVER');
showRowById('MESS_PORT'); showRowById('MESS_PORT');
showRowById('MESS_ACCOUNT'); showRowById('MESS_ACCOUNT');
showRowById('MESS_PASSWORD'); showRowById('MESS_PASSWORD');
showRowById('TEST'); showRowById('TEST');
showRowById('SMTPSecure');
showRowById('MESS_RAUTH'); showRowById('MESS_RAUTH');
showRowById('MESS_TEST_MAIL'); showRowById('MESS_TEST_MAIL');
@@ -148,6 +156,7 @@
hideRowById('MESS_SEND_MAX'); hideRowById('MESS_SEND_MAX');
hideRowById('MESS_TRY_SEND_INMEDIATLY'); hideRowById('MESS_TRY_SEND_INMEDIATLY');
hideRowById('TEST'); hideRowById('TEST');
hideRowById('SMTPSecure');
hideRowById('MESS_RAUTH'); hideRowById('MESS_RAUTH');
hideRowById('MESS_TEST_MAIL'); hideRowById('MESS_TEST_MAIL');
hideRowById('MESS_TEST_MAIL_TO'); hideRowById('MESS_TEST_MAIL_TO');