PHPMailer updated to v2.0.2
authorRoland Häder <roland@mxchange.org>
Thu, 5 Jun 2008 10:00:32 +0000 (10:00 +0000)
committerRoland Häder <roland@mxchange.org>
Thu, 5 Jun 2008 10:00:32 +0000 (10:00 +0000)
36 files changed:
.gitattributes
inc/phpmailer/ChangeLog.txt
inc/phpmailer/README
inc/phpmailer/class.phpmailer.php
inc/phpmailer/class.pop3.php
inc/phpmailer/class.smtp.php
inc/phpmailer/codeworxtech.html
inc/phpmailer/docs/faq.html
inc/phpmailer/docs/phpmailer_sm.gif [new file with mode: 0644]
inc/phpmailer/docs/use_gmail.txt
inc/phpmailer/examples/index.html
inc/phpmailer/examples/test_gmail.php [new file with mode: 0644]
inc/phpmailer/examples/test_mail.php [new file with mode: 0644]
inc/phpmailer/examples/test_sendmail.php [new file with mode: 0644]
inc/phpmailer/examples/test_smtp.php [new file with mode: 0644]
inc/phpmailer/language/phpmailer.lang-br.php
inc/phpmailer/language/phpmailer.lang-ca.php
inc/phpmailer/language/phpmailer.lang-cz.php
inc/phpmailer/language/phpmailer.lang-de.php
inc/phpmailer/language/phpmailer.lang-dk.php
inc/phpmailer/language/phpmailer.lang-en.php
inc/phpmailer/language/phpmailer.lang-es.php
inc/phpmailer/language/phpmailer.lang-et.php
inc/phpmailer/language/phpmailer.lang-fi.php
inc/phpmailer/language/phpmailer.lang-fo.php
inc/phpmailer/language/phpmailer.lang-fr.php
inc/phpmailer/language/phpmailer.lang-hu.php
inc/phpmailer/language/phpmailer.lang-it.php
inc/phpmailer/language/phpmailer.lang-ja.php
inc/phpmailer/language/phpmailer.lang-nl.php
inc/phpmailer/language/phpmailer.lang-no.php
inc/phpmailer/language/phpmailer.lang-pl.php
inc/phpmailer/language/phpmailer.lang-ro.php
inc/phpmailer/language/phpmailer.lang-ru.php
inc/phpmailer/language/phpmailer.lang-se.php
inc/phpmailer/language/phpmailer.lang-tr.php

index f81ab98f4d231d019ce4cb81adbc84984ef8660c..5d3e807debc2ebcf99740b0f3be2651895c3c784 100644 (file)
@@ -464,6 +464,7 @@ inc/phpmailer/class.smtp.php -text
 inc/phpmailer/codeworxtech.html -text
 inc/phpmailer/docs/extending.html -text
 inc/phpmailer/docs/faq.html -text
 inc/phpmailer/codeworxtech.html -text
 inc/phpmailer/docs/extending.html -text
 inc/phpmailer/docs/faq.html -text
+inc/phpmailer/docs/phpmailer_sm.gif -text
 inc/phpmailer/docs/pop3_article.txt -text
 inc/phpmailer/docs/use_gmail.txt -text
 inc/phpmailer/examples/contents.html -text
 inc/phpmailer/docs/pop3_article.txt -text
 inc/phpmailer/docs/use_gmail.txt -text
 inc/phpmailer/examples/contents.html -text
@@ -474,6 +475,10 @@ inc/phpmailer/examples/images/phpmailer_mini.gif -text
 inc/phpmailer/examples/index.html -text
 inc/phpmailer/examples/pop3_before_smtp_test.php -text
 inc/phpmailer/examples/test1.php -text
 inc/phpmailer/examples/index.html -text
 inc/phpmailer/examples/pop3_before_smtp_test.php -text
 inc/phpmailer/examples/test1.php -text
+inc/phpmailer/examples/test_gmail.php -text
+inc/phpmailer/examples/test_mail.php -text
+inc/phpmailer/examples/test_sendmail.php -text
+inc/phpmailer/examples/test_smtp.php -text
 inc/phpmailer/language/phpmailer.lang-br.php -text
 inc/phpmailer/language/phpmailer.lang-ca.php -text
 inc/phpmailer/language/phpmailer.lang-cz.php -text
 inc/phpmailer/language/phpmailer.lang-br.php -text
 inc/phpmailer/language/phpmailer.lang-ca.php -text
 inc/phpmailer/language/phpmailer.lang-cz.php -text
@@ -487,7 +492,7 @@ inc/phpmailer/language/phpmailer.lang-fo.php -text
 inc/phpmailer/language/phpmailer.lang-fr.php -text
 inc/phpmailer/language/phpmailer.lang-hu.php -text
 inc/phpmailer/language/phpmailer.lang-it.php -text
 inc/phpmailer/language/phpmailer.lang-fr.php -text
 inc/phpmailer/language/phpmailer.lang-hu.php -text
 inc/phpmailer/language/phpmailer.lang-it.php -text
-inc/phpmailer/language/phpmailer.lang-ja.php -text
+inc/phpmailer/language/phpmailer.lang-ja.php -text svneol=unset#unset
 inc/phpmailer/language/phpmailer.lang-nl.php -text
 inc/phpmailer/language/phpmailer.lang-no.php -text
 inc/phpmailer/language/phpmailer.lang-pl.php -text
 inc/phpmailer/language/phpmailer.lang-nl.php -text
 inc/phpmailer/language/phpmailer.lang-no.php -text
 inc/phpmailer/language/phpmailer.lang-pl.php -text
index acf4eb3b8ec331040205332386ccb68799323165..44e4e87e44a696fee7b757a6fbc51e25fc8e8b69 100644 (file)
@@ -1,10 +1,38 @@
 ChangeLog
 
 ChangeLog
 
+Version 2.0.2 (June 04 2008)
+
+** NOTE: WE HAVE A NEW LANGUAGE VARIABLE FOR DIGITALLY SIGNED S/MIME EMAILS.
+   IF YOU CAN HELP WITH LANGUAGES OTHER THAN ENGLISH AND SPANISH, IT WOULD BE
+   APPRECIATED.
+
+* added S/MIME functionality (ability to digitally sign emails)
+  BIG THANKS TO "sergiocambra" for posting this patch back in November 2007.
+       The "Signed Emails" functionality adds the Sign method to pass the private key
+       filename and the password to read it, and then email will be sent with
+       content-type multipart/signed and with the digital signature attached.
+* added ability to define path (mainly for embedded images)
+  function MsgHTML($message,$basedir='') ... where:
+  $basedir is the fully qualified path
+* fixed MsgHTML() function:
+  - Embedded Images where images are specified by <protocol>:// will not be altered or embedded
+* fixed the return value of SMTP exit code ( pclose )
+* addressed issue of multibyte characters in subject line and truncating
+* added ability to have user specified Message ID
+  (default is still that PHPMailer create a unique Message ID)
+* corrected unidentified message type to 'application/octet-stream'
+* fixed chunk_split() multibyte issue (thanks to Colin Brown, et al).
+* added check for added attachments
+* enhanced conversion of HTML to text in MsgHTML (thanks to "brunny")
+
+Version 2.0.1 (Sun, Dec 02 2007)
+* corrected incorrect version numbers in all three classes
+
 Version 2.0.0 (Sun, Dec 02 2007)
 * implemented updated EncodeQP (thanks to coolbru, aka Marcus Bointon)
 * finished all testing, all known bugs corrected, enhancements tested
 - note: designed for PHP4, but will work with PHP5 (not compatible with
 Version 2.0.0 (Sun, Dec 02 2007)
 * implemented updated EncodeQP (thanks to coolbru, aka Marcus Bointon)
 * finished all testing, all known bugs corrected, enhancements tested
 - note: designed for PHP4, but will work with PHP5 (not compatible with
-  E_STRICT) ... full PHP5 version of PHPMailer released separately. 
+  E_STRICT) ... full PHP5 version of PHPMailer released separately.
   PHP5 version will NOT work with PHP4.
 
 Version 2.0.0 rc2 (Fri, Nov 16 2007), interim release
   PHP5 version will NOT work with PHP4.
 
 Version 2.0.0 rc2 (Fri, Nov 16 2007), interim release
@@ -19,9 +47,9 @@ Version 2.0.0 rc2 (Fri, Nov 16 2007), interim release
 ******************
 A note on sending bulk emails:
 
 ******************
 A note on sending bulk emails:
 
-If the email you are sending is not personalized, consider using the 
+If the email you are sending is not personalized, consider using the
 "undisclosed-recipient:;" strategy. That is, put all of your recipients
 "undisclosed-recipient:;" strategy. That is, put all of your recipients
-in the Bcc field and set the To field to "undisclosed-recipients:;". 
+in the Bcc field and set the To field to "undisclosed-recipients:;".
 It's a lot faster (only one send) and saves quite a bit on resources.
 Contrary to some opinions, this will not get you listed in spam engines -
 it's a legitimate way for you to send emails.
 It's a lot faster (only one send) and saves quite a bit on resources.
 Contrary to some opinions, this will not get you listed in spam engines -
 it's a legitimate way for you to send emails.
@@ -40,17 +68,21 @@ less than your limit, and put a pause in your script.
 *******************
 
 Version 2.0.0 rc1 (Thu, Nov 08 2007), interim release
 *******************
 
 Version 2.0.0 rc1 (Thu, Nov 08 2007), interim release
-* dramatically simplified using inline graphics ... it's fully automated and requires no user input
+* dramatically simplified using inline graphics ... it's fully automated and
+  requires no user input
 * added automatic document type detection for attachments and pictures
 * added MsgHTML() function to replace Body tag for HTML emails
 * fixed the SendMail security issues (input validation vulnerability)
 * added automatic document type detection for attachments and pictures
 * added MsgHTML() function to replace Body tag for HTML emails
 * fixed the SendMail security issues (input validation vulnerability)
-* enhanced the AddAddresses functionality so that the "Name" portion is used in the email address
-* removed the need to use the AltBody method (set from the HTML, or default text used)
+* enhanced the AddAddresses functionality so that the "Name" portion is used
+  in the email address
+* removed the need to use the AltBody method (set from the HTML, or default
+  text used)
 * set the PHP Mail() function as the default (still support SendMail, SMTP Mail)
 * removed the need to set the IsHTML property (set automatically)
 * added Estonian language file by Indrek P&auml;ri
 * added header injection patch
 * set the PHP Mail() function as the default (still support SendMail, SMTP Mail)
 * removed the need to set the IsHTML property (set automatically)
 * added Estonian language file by Indrek P&auml;ri
 * added header injection patch
-* added "set" method to permit users to create their own pseudo-properties like 'X-Headers', etc.
+* added "set" method to permit users to create their own pseudo-properties
+  like 'X-Headers', etc.
   example of use:
   $mail->set('X-Priority', '3');
   $mail->set('X-MSMail-Priority', 'Normal');
   example of use:
   $mail->set('X-Priority', '3');
   $mail->set('X-MSMail-Priority', 'Normal');
@@ -75,7 +107,7 @@ Version 1.73 (Sun, Jun 10 2005)
 
 Version 1.72 (Wed, May 25 2004)
 * Added Dutch, Swedish, Czech, Norwegian, and Turkish translations.
 
 Version 1.72 (Wed, May 25 2004)
 * Added Dutch, Swedish, Czech, Norwegian, and Turkish translations.
-* Received: Removed this method because spam filter programs like 
+* Received: Removed this method because spam filter programs like
 SpamAssassin reject this header.
 * Fixed error count bug.
 * SetLanguage default is now "language/".
 SpamAssassin reject this header.
 * Fixed error count bug.
 * SetLanguage default is now "language/".
index 900c63043e418c0e6c865f658d4969798863eae2..75b76c10a4bba89fc9c7d5340b4e93dc455c9947 100644 (file)
@@ -1,7 +1,38 @@
+/*******************************************************************\r
+* The http://phpmailer.codeworxtech.com/ website now carries a few *\r
+* advertisements through the Google Adsense network. Please visit  *\r
+* the advertiser sites and help us offset some of our costs.       *\r
+* Thanks ....                                                      *\r
+********************************************************************/\r
+\r
 PHPMailer\r
 Full Featured Email Transfer Class for PHP\r
 ==========================================\r
 \r
 PHPMailer\r
 Full Featured Email Transfer Class for PHP\r
 ==========================================\r
 \r
+Version 2.0.2 (June 04 2008)\r
+\r
+With this release, we are announcing that the development of PHPMailer for PHP5\r
+will be our focus from this date on. We have implemented all the enhancements\r
+and fixes from the sourceforge.net Tracker.\r
+\r
+** NOTE: WE HAVE A NEW LANGUAGE VARIABLE FOR DIGITALLY SIGNED S/MIME EMAILS.\r
+   IF YOU CAN HELP WITH LANGUAGES OTHER THAN ENGLISH AND SPANISH, IT WOULD BE\r
+   APPRECIATED.\r
+\r
+We have now added S/MIME functionality (ability to digitally sign emails).\r
+BIG THANKS TO "sergiocambra" for posting this patch back in November 2007.\r
+The "Signed Emails" functionality adds the Sign method to pass the private key\r
+filename and the password to read it, and then email will be sent with\r
+content-type multipart/signed and with the digital signature attached.\r
+\r
+We have also included more example files to show the use of "sendmail", "mail()",\r
+"smtp", and "gmail".\r
+\r
+We are also looking for more programmers to join the volunteer development team.\r
+If you have an interest in this, please let us know.\r
+\r
+Enjoy!\r
+\r
 ** NOTE:\r
 \r
 As of November 2007, PHPMailer has a new project team headed by industry\r
 ** NOTE:\r
 \r
 As of November 2007, PHPMailer has a new project team headed by industry\r
@@ -16,7 +47,7 @@ its leadership position. Our goals are to simplify use of PHPMailer, provide
 good documentation and examples, and retain backward compatibility to level\r
 1.7.3 standards.\r
 \r
 good documentation and examples, and retain backward compatibility to level\r
 1.7.3 standards.\r
 \r
-If you are interested in helping out, visit http://sourceforge.net/phpmailer \r
+If you are interested in helping out, visit http://sourceforge.net/phpmailer\r
 and indicate your interest.\r
 \r
 **\r
 and indicate your interest.\r
 \r
 **\r
@@ -58,14 +89,14 @@ Installation:
 \r
 Copy class.phpmailer.php into your php.ini include_path. If you are\r
 using the SMTP mailer then place class.smtp.php in your path as well.\r
 \r
 Copy class.phpmailer.php into your php.ini include_path. If you are\r
 using the SMTP mailer then place class.smtp.php in your path as well.\r
-In the language directory you will find several files like \r
-phpmailer.lang-en.php.  If you look right before the .php extension \r
-that there are two letters.  These represent the language type of the \r
-translation file.  For instance "en" is the English file and "br" is \r
-the Portuguese file.  Chose the file that best fits with your language \r
-and place it in the PHP include path.  If your language is English \r
-then you have nothing more to do.  If it is a different language then \r
-you must point PHPMailer to the correct translation.  To do this, call \r
+In the language directory you will find several files like\r
+phpmailer.lang-en.php.  If you look right before the .php extension\r
+that there are two letters.  These represent the language type of the\r
+translation file.  For instance "en" is the English file and "br" is\r
+the Portuguese file.  Chose the file that best fits with your language\r
+and place it in the PHP include path.  If your language is English\r
+then you have nothing more to do.  If it is a different language then\r
+you must point PHPMailer to the correct translation.  To do this, call\r
 the PHPMailer SetLanguage method like so:\r
 \r
 // To load the Portuguese version\r
 the PHPMailer SetLanguage method like so:\r
 \r
 // To load the Portuguese version\r
index 0879aff5e298b6bcfba2c23fe4d0c93d8505077e..2ddc30fd27af80fa5e445e440ab9a4f792b6338f 100644 (file)
@@ -2,7 +2,7 @@
 /*~ class.phpmailer.php
 .---------------------------------------------------------------------------.
 |  Software: PHPMailer - PHP email class                                    |
 /*~ class.phpmailer.php
 .---------------------------------------------------------------------------.
 |  Software: PHPMailer - PHP email class                                    |
-|   Version: 2.0.0 rc3                                                      |
+|   Version: 2.0.2                                                          |
 |   Contact: via sourceforge.net support pages (also www.codeworxtech.com)  |
 |      Info: http://phpmailer.sourceforge.net                               |
 |   Support: http://sourceforge.net/projects/phpmailer/                     |
 |   Contact: via sourceforge.net support pages (also www.codeworxtech.com)  |
 |      Info: http://phpmailer.sourceforge.net                               |
 |   Support: http://sourceforge.net/projects/phpmailer/                     |
@@ -28,7 +28,7 @@
  * PHPMailer - PHP email transport class
  * @package PHPMailer
  * @author Andy Prevost
  * PHPMailer - PHP email transport class
  * @package PHPMailer
  * @author Andy Prevost
- * @copyright 2004 - 2007 Andy Prevost
+ * @copyright 2004 - 2008 Andy Prevost
  */
 
 class PHPMailer {
  */
 
 class PHPMailer {
@@ -66,7 +66,7 @@ class PHPMailer {
    * Holds the most recent mailer error message.
    * @var string
    */
    * Holds the most recent mailer error message.
    * @var string
    */
-  var $ErrorInfo         = "";
+  var $ErrorInfo         = '';
 
   /**
    * Sets the From email address for the message.
 
   /**
    * Sets the From email address for the message.
@@ -85,20 +85,20 @@ class PHPMailer {
    * will be sent via -f to sendmail or as 'MAIL FROM' in smtp mode.
    * @var string
    */
    * will be sent via -f to sendmail or as 'MAIL FROM' in smtp mode.
    * @var string
    */
-  var $Sender            = "";
+  var $Sender            = '';
 
   /**
    * Sets the Subject of the message.
    * @var string
    */
 
   /**
    * Sets the Subject of the message.
    * @var string
    */
-  var $Subject           = "";
+  var $Subject           = '';
 
   /**
    * Sets the Body of the message.  This can be either an HTML or text body.
    * If HTML then run IsHTML(true).
    * @var string
    */
 
   /**
    * Sets the Body of the message.  This can be either an HTML or text body.
    * If HTML then run IsHTML(true).
    * @var string
    */
-  var $Body              = "";
+  var $Body              = '';
 
   /**
    * Sets the text-only body of the message.  This automatically sets the
 
   /**
    * Sets the text-only body of the message.  This automatically sets the
@@ -107,7 +107,7 @@ class PHPMailer {
    * that can read HTML will view the normal Body.
    * @var string
    */
    * that can read HTML will view the normal Body.
    * @var string
    */
-  var $AltBody           = "";
+  var $AltBody           = '';
 
   /**
    * Sets word wrapping on the body of the message to a given number of
 
   /**
    * Sets word wrapping on the body of the message to a given number of
@@ -133,19 +133,19 @@ class PHPMailer {
    * is in a different directory than the PHP include path.
    * @var string
    */
    * is in a different directory than the PHP include path.
    * @var string
    */
-  var $PluginDir         = "";
+  var $PluginDir         = '';
 
   /**
    * Holds PHPMailer version.
    * @var string
    */
 
   /**
    * Holds PHPMailer version.
    * @var string
    */
-  var $Version           = "2.0.0 rc3";
+  var $Version           = "2.0.2";
 
   /**
    * Sets the email address that a reading confirmation will be sent.
    * @var string
    */
 
   /**
    * Sets the email address that a reading confirmation will be sent.
    * @var string
    */
-  var $ConfirmReadingTo  = "";
+  var $ConfirmReadingTo  = '';
 
   /**
    * Sets the hostname to use in Message-Id and Received headers
 
   /**
    * Sets the hostname to use in Message-Id and Received headers
@@ -153,7 +153,14 @@ class PHPMailer {
    * by SERVER_NAME is used or 'localhost.localdomain'.
    * @var string
    */
    * by SERVER_NAME is used or 'localhost.localdomain'.
    * @var string
    */
-  var $Hostname          = "";
+  var $Hostname          = '';
+
+  /**
+   * Sets the message ID to be used in the Message-Id header.
+   * If empty, a unique id will be generated.
+   * @var string
+   */
+  var $MessageID         = '';
 
   /////////////////////////////////////////////////
   // PROPERTIES FOR SMTP
 
   /////////////////////////////////////////////////
   // PROPERTIES FOR SMTP
@@ -179,7 +186,7 @@ class PHPMailer {
    * Sets the SMTP HELO of the message (Default is $Hostname).
    * @var string
    */
    * Sets the SMTP HELO of the message (Default is $Hostname).
    * @var string
    */
-  var $Helo        = "";
+  var $Helo        = '';
 
   /**
    * Sets connection prefix.
 
   /**
    * Sets connection prefix.
@@ -198,13 +205,13 @@ class PHPMailer {
    * Sets SMTP username.
    * @var string
    */
    * Sets SMTP username.
    * @var string
    */
-  var $Username     = "";
+  var $Username     = '';
 
   /**
    * Sets SMTP password.
    * @var string
    */
 
   /**
    * Sets SMTP password.
    * @var string
    */
-  var $Password     = "";
+  var $Password     = '';
 
   /**
    * Sets the SMTP server timeout in seconds. This function will not
 
   /**
    * Sets the SMTP server timeout in seconds. This function will not
@@ -245,11 +252,13 @@ class PHPMailer {
   var $ReplyTo         = array();
   var $attachment      = array();
   var $CustomHeader    = array();
   var $ReplyTo         = array();
   var $attachment      = array();
   var $CustomHeader    = array();
-  var $message_type    = "";
+  var $message_type    = '';
   var $boundary        = array();
   var $language        = array();
   var $error_count     = 0;
   var $LE              = "\n";
   var $boundary        = array();
   var $language        = array();
   var $error_count     = 0;
   var $LE              = "\n";
+  var $sign_key_file   = "";
+  var $sign_key_pass   = "";
 
   /////////////////////////////////////////////////
   // METHODS, VARIABLES
 
   /////////////////////////////////////////////////
   // METHODS, VARIABLES
@@ -311,7 +320,7 @@ class PHPMailer {
    * @param string $name
    * @return void
    */
    * @param string $name
    * @return void
    */
-  function AddAddress($address, $name = "") {
+  function AddAddress($address, $name = '') {
     $cur = count($this->to);
     $this->to[$cur][0] = trim($address);
     $this->to[$cur][1] = $name;
     $cur = count($this->to);
     $this->to[$cur][0] = trim($address);
     $this->to[$cur][1] = $name;
@@ -325,7 +334,7 @@ class PHPMailer {
    * @param string $name
    * @return void
    */
    * @param string $name
    * @return void
    */
-  function AddCC($address, $name = "") {
+  function AddCC($address, $name = '') {
     $cur = count($this->cc);
     $this->cc[$cur][0] = trim($address);
     $this->cc[$cur][1] = $name;
     $cur = count($this->cc);
     $this->cc[$cur][0] = trim($address);
     $this->cc[$cur][1] = $name;
@@ -339,7 +348,7 @@ class PHPMailer {
    * @param string $name
    * @return void
    */
    * @param string $name
    * @return void
    */
-  function AddBCC($address, $name = "") {
+  function AddBCC($address, $name = '') {
     $cur = count($this->bcc);
     $this->bcc[$cur][0] = trim($address);
     $this->bcc[$cur][1] = $name;
     $cur = count($this->bcc);
     $this->bcc[$cur][0] = trim($address);
     $this->bcc[$cur][1] = $name;
@@ -351,7 +360,7 @@ class PHPMailer {
    * @param string $name
    * @return void
    */
    * @param string $name
    * @return void
    */
-  function AddReplyTo($address, $name = "") {
+  function AddReplyTo($address, $name = '') {
     $cur = count($this->ReplyTo);
     $this->ReplyTo[$cur][0] = trim($address);
     $this->ReplyTo[$cur][1] = $name;
     $cur = count($this->ReplyTo);
     $this->ReplyTo[$cur][0] = trim($address);
     $this->ReplyTo[$cur][1] = $name;
@@ -368,8 +377,8 @@ class PHPMailer {
    * @return bool
    */
   function Send() {
    * @return bool
    */
   function Send() {
-    $header = "";
-    $body = "";
+    $header = '';
+    $body = '';
     $result = true;
 
     if((count($this->to) + count($this->cc) + count($this->bcc)) < 1) {
     $result = true;
 
     if((count($this->to) + count($this->cc) + count($this->bcc)) < 1) {
@@ -387,7 +396,7 @@ class PHPMailer {
     $header .= $this->CreateHeader();
     $body = $this->CreateBody();
 
     $header .= $this->CreateHeader();
     $body = $this->CreateBody();
 
-    if($body == "") {
+    if($body == '') {
       return false;
     }
 
       return false;
     }
 
@@ -433,12 +442,14 @@ class PHPMailer {
     fputs($mail, $header);
     fputs($mail, $body);
 
     fputs($mail, $header);
     fputs($mail, $body);
 
-    $result = pclose($mail) >> 8 & 0xFF;
+    $result = pclose($mail);
+    if (version_compare(phpversion(), '4.2.3') == -1) {
+      $result = $result >> 8 & 0xFF;
+    }
     if($result != 0) {
       $this->SetError($this->Lang('execute') . $this->Sendmail);
       return false;
     }
     if($result != 0) {
       $this->SetError($this->Lang('execute') . $this->Sendmail);
       return false;
     }
-
     return true;
   }
 
     return true;
   }
 
@@ -449,7 +460,7 @@ class PHPMailer {
    */
   function MailSend($header, $body) {
 
    */
   function MailSend($header, $body) {
 
-    $to = "";
+    $to = '';
     for($i = 0; $i < count($this->to); $i++) {
       if($i != 0) { $to .= ', '; }
       $to .= $this->AddrFormat($this->to[$i]);
     for($i = 0; $i < count($this->to); $i++) {
       if($i != 0) { $to .= ', '; }
       $to .= $this->AddrFormat($this->to[$i]);
@@ -457,10 +468,10 @@ class PHPMailer {
 
     $toArr = split(',', $to);
 
 
     $toArr = split(',', $to);
 
-    if ($this->Sender != '' && strlen(ini_get('safe_mode'))< 1) {
+    $params = sprintf("-oi -f %s", $this->Sender);
+    if ($this->Sender != '' && strlen(ini_get('safe_mode')) < 1) {
       $old_from = ini_get('sendmail_from');
       ini_set('sendmail_from', $this->Sender);
       $old_from = ini_get('sendmail_from');
       ini_set('sendmail_from', $this->Sender);
-      $params = sprintf("-oi -f %s", $this->Sender);
       if ($this->SingleTo === true && count($toArr) > 1) {
         foreach ($toArr as $key => $val) {
           $rt = @mail($val, $this->EncodeHeader($this->SecureHeader($this->Subject)), $body, $header, $params);
       if ($this->SingleTo === true && count($toArr) > 1) {
         foreach ($toArr as $key => $val) {
           $rt = @mail($val, $this->EncodeHeader($this->SecureHeader($this->Subject)), $body, $header, $params);
@@ -499,14 +510,14 @@ class PHPMailer {
    */
   function SmtpSend($header, $body) {
     include_once($this->PluginDir . 'class.smtp.php');
    */
   function SmtpSend($header, $body) {
     include_once($this->PluginDir . 'class.smtp.php');
-    $error = "";
+    $error = '';
     $bad_rcpt = array();
 
     if(!$this->SmtpConnect()) {
       return false;
     }
 
     $bad_rcpt = array();
 
     if(!$this->SmtpConnect()) {
       return false;
     }
 
-    $smtp_from = ($this->Sender == "") ? $this->From : $this->Sender;
+    $smtp_from = ($this->Sender == '') ? $this->From : $this->Sender;
     if(!$this->smtp->Mail($smtp_from)) {
       $error = $this->Lang('from_failed') . $smtp_from;
       $this->SetError($error);
     if(!$this->smtp->Mail($smtp_from)) {
       $error = $this->Lang('from_failed') . $smtp_from;
       $this->SetError($error);
@@ -585,7 +596,7 @@ class PHPMailer {
         $port = $this->Port;
       }
 
         $port = $this->Port;
       }
 
-      if($this->smtp->Connect(((!empty($this->SMTPSecure))?$this->SMTPSecure.'://':"").$host, $port, $this->Timeout)) {
+      if($this->smtp->Connect(((!empty($this->SMTPSecure))?$this->SMTPSecure.'://':'').$host, $port, $this->Timeout)) {
         if ($this->Helo != '') {
           $this->smtp->Hello($this->Helo);
         } else {
         if ($this->Helo != '') {
           $this->smtp->Hello($this->Helo);
         } else {
@@ -692,6 +703,9 @@ class PHPMailer {
    */
   function WrapText($message, $length, $qp_mode = false) {
     $soft_break = ($qp_mode) ? sprintf(" =%s", $this->LE) : $this->LE;
    */
   function WrapText($message, $length, $qp_mode = false) {
     $soft_break = ($qp_mode) ? sprintf(" =%s", $this->LE) : $this->LE;
+    // If utf-8 encoding is used, we will need to make sure we don't
+    // split multibyte characters when we wrap
+    $is_utf8 = (strtolower($this->CharSet) == "utf-8");
 
     $message = $this->FixEOL($message);
     if (substr($message, -1) == $this->LE) {
 
     $message = $this->FixEOL($message);
     if (substr($message, -1) == $this->LE) {
@@ -699,10 +713,10 @@ class PHPMailer {
     }
 
     $line = explode($this->LE, $message);
     }
 
     $line = explode($this->LE, $message);
-    $message = "";
+    $message = '';
     for ($i=0 ;$i < count($line); $i++) {
       $line_part = explode(' ', $line[$i]);
     for ($i=0 ;$i < count($line); $i++) {
       $line_part = explode(' ', $line[$i]);
-      $buf = "";
+      $buf = '';
       for ($e = 0; $e<count($line_part); $e++) {
         $word = $line_part[$e];
         if ($qp_mode and (strlen($word) > $length)) {
       for ($e = 0; $e<count($line_part); $e++) {
         $word = $line_part[$e];
         if ($qp_mode and (strlen($word) > $length)) {
@@ -710,9 +724,11 @@ class PHPMailer {
           if ($e != 0) {
             if ($space_left > 20) {
               $len = $space_left;
           if ($e != 0) {
             if ($space_left > 20) {
               $len = $space_left;
-              if (substr($word, $len - 1, 1) == '=') {
+              if ($is_utf8) {
+                $len = $this->UTF8CharBoundary($word, $len);
+              } elseif (substr($word, $len - 1, 1) == "=") {
                 $len--;
                 $len--;
-              } elseif (substr($word, $len - 2, 1) == '=') {
+              } elseif (substr($word, $len - 2, 1) == "=") {
                 $len -= 2;
               }
               $part = substr($word, 0, $len);
                 $len -= 2;
               }
               $part = substr($word, 0, $len);
@@ -722,13 +738,15 @@ class PHPMailer {
             } else {
               $message .= $buf . $soft_break;
             }
             } else {
               $message .= $buf . $soft_break;
             }
-            $buf = "";
+            $buf = '';
           }
           while (strlen($word) > 0) {
             $len = $length;
           }
           while (strlen($word) > 0) {
             $len = $length;
-            if (substr($word, $len - 1, 1) == '=') {
+            if ($is_utf8) {
+              $len = $this->UTF8CharBoundary($word, $len);
+            } elseif (substr($word, $len - 1, 1) == "=") {
               $len--;
               $len--;
-            } elseif (substr($word, $len - 2, 1) == '=') {
+            } elseif (substr($word, $len - 2, 1) == "=") {
               $len -= 2;
             }
             $part = substr($word, 0, $len);
               $len -= 2;
             }
             $part = substr($word, 0, $len);
@@ -756,6 +774,47 @@ class PHPMailer {
     return $message;
   }
 
     return $message;
   }
 
+  /**
+   * Finds last character boundary prior to maxLength in a utf-8
+   * quoted (printable) encoded string.
+   * Original written by Colin Brown.
+   * @access private
+   * @param string $encodedText utf-8 QP text
+   * @param int    $maxLength   find last character boundary prior to this length
+   * @return int
+   */
+  function UTF8CharBoundary($encodedText, $maxLength) {
+    $foundSplitPos = false;
+    $lookBack = 3;
+    while (!$foundSplitPos) {
+      $lastChunk = substr($encodedText, $maxLength - $lookBack, $lookBack);
+      $encodedCharPos = strpos($lastChunk, "=");
+      if ($encodedCharPos !== false) {
+        // Found start of encoded character byte within $lookBack block.
+        // Check the encoded byte value (the 2 chars after the '=')
+        $hex = substr($encodedText, $maxLength - $lookBack + $encodedCharPos + 1, 2);
+        $dec = hexdec($hex);
+        if ($dec < 128) { // Single byte character.
+          // If the encoded char was found at pos 0, it will fit
+          // otherwise reduce maxLength to start of the encoded char
+          $maxLength = ($encodedCharPos == 0) ? $maxLength :
+          $maxLength - ($lookBack - $encodedCharPos);
+          $foundSplitPos = true;
+        } elseif ($dec >= 192) { // First byte of a multi byte character
+          // Reduce maxLength to split at start of character
+          $maxLength = $maxLength - ($lookBack - $encodedCharPos);
+          $foundSplitPos = true;
+        } elseif ($dec < 192) { // Middle byte of a multi byte character, look further back
+          $lookBack += 3;
+        }
+      } else {
+        // No encoded character found
+        $foundSplitPos = true;
+      }
+    }
+    return $maxLength;
+  }
+
   /**
    * Set the body wrapping.
    * @access private
   /**
    * Set the body wrapping.
    * @access private
@@ -784,7 +843,7 @@ class PHPMailer {
    * @return string
    */
   function CreateHeader() {
    * @return string
    */
   function CreateHeader() {
-    $result = "";
+    $result = '';
 
     /* Set the boundaries */
     $uniq_id = md5(uniqid(time()));
 
     /* Set the boundaries */
     $uniq_id = md5(uniqid(time()));
@@ -792,7 +851,7 @@ class PHPMailer {
     $this->boundary[2] = 'b2_' . $uniq_id;
 
     $result .= $this->HeaderLine('Date', $this->RFCDate());
     $this->boundary[2] = 'b2_' . $uniq_id;
 
     $result .= $this->HeaderLine('Date', $this->RFCDate());
-    if($this->Sender == "") {
+    if($this->Sender == '') {
       $result .= $this->HeaderLine('Return-Path', trim($this->From));
     } else {
       $result .= $this->HeaderLine('Return-Path', trim($this->Sender));
       $result .= $this->HeaderLine('Return-Path', trim($this->From));
     } else {
       $result .= $this->HeaderLine('Return-Path', trim($this->Sender));
@@ -834,7 +893,11 @@ class PHPMailer {
       $result .= $this->HeaderLine('Subject', $this->EncodeHeader($this->SecureHeader($this->Subject)));
     }
 
       $result .= $this->HeaderLine('Subject', $this->EncodeHeader($this->SecureHeader($this->Subject)));
     }
 
-    $result .= sprintf("Message-ID: <%s@%s>%s", $uniq_id, $this->ServerHostname(), $this->LE);
+    if($this->MessageID != '') {
+      $result .= $this->HeaderLine('Message-ID',$this->MessageID);
+    } else {
+      $result .= sprintf("Message-ID: <%s@%s>%s", $uniq_id, $this->ServerHostname(), $this->LE);
+    }
     $result .= $this->HeaderLine('X-Priority', $this->Priority);
     $result .= $this->HeaderLine('X-Mailer', 'PHPMailer (phpmailer.sourceforge.net) [version ' . $this->Version . ']');
 
     $result .= $this->HeaderLine('X-Priority', $this->Priority);
     $result .= $this->HeaderLine('X-Mailer', 'PHPMailer (phpmailer.sourceforge.net) [version ' . $this->Version . ']');
 
@@ -846,8 +909,21 @@ class PHPMailer {
     for($index = 0; $index < count($this->CustomHeader); $index++) {
       $result .= $this->HeaderLine(trim($this->CustomHeader[$index][0]), $this->EncodeHeader(trim($this->CustomHeader[$index][1])));
     }
     for($index = 0; $index < count($this->CustomHeader); $index++) {
       $result .= $this->HeaderLine(trim($this->CustomHeader[$index][0]), $this->EncodeHeader(trim($this->CustomHeader[$index][1])));
     }
-    $result .= $this->HeaderLine('MIME-Version', '1.0');
+    if (!$this->sign_key_file) {
+      $result .= $this->HeaderLine('MIME-Version', '1.0');
+      $result .= $this->GetMailMIME();
+    }
+
+    return $result;
+  }
 
 
+  /**
+   * Returns the message MIME.
+   * @access private
+   * @return string
+   */
+  function GetMailMIME() {
+    $result = '';
     switch($this->message_type) {
       case 'plain':
         $result .= $this->HeaderLine('Content-Transfer-Encoding', $this->Encoding);
     switch($this->message_type) {
       case 'plain':
         $result .= $this->HeaderLine('Content-Transfer-Encoding', $this->Encoding);
@@ -882,16 +958,19 @@ class PHPMailer {
    * @return string
    */
   function CreateBody() {
    * @return string
    */
   function CreateBody() {
-    $result = "";
+    $result = '';
+    if ($this->sign_key_file) {
+      $result .= $this->GetMailMIME();
+    }
 
     $this->SetWordWrap();
 
     switch($this->message_type) {
       case 'alt':
 
     $this->SetWordWrap();
 
     switch($this->message_type) {
       case 'alt':
-        $result .= $this->GetBoundary($this->boundary[1], "", 'text/plain', "");
+        $result .= $this->GetBoundary($this->boundary[1], '', 'text/plain', '');
         $result .= $this->EncodeString($this->AltBody, $this->Encoding);
         $result .= $this->LE.$this->LE;
         $result .= $this->EncodeString($this->AltBody, $this->Encoding);
         $result .= $this->LE.$this->LE;
-        $result .= $this->GetBoundary($this->boundary[1], "", 'text/html', "");
+        $result .= $this->GetBoundary($this->boundary[1], '', 'text/html', '');
         $result .= $this->EncodeString($this->Body, $this->Encoding);
         $result .= $this->LE.$this->LE;
         $result .= $this->EndBoundary($this->boundary[1]);
         $result .= $this->EncodeString($this->Body, $this->Encoding);
         $result .= $this->LE.$this->LE;
         $result .= $this->EndBoundary($this->boundary[1]);
@@ -900,7 +979,7 @@ class PHPMailer {
         $result .= $this->EncodeString($this->Body, $this->Encoding);
         break;
       case 'attachments':
         $result .= $this->EncodeString($this->Body, $this->Encoding);
         break;
       case 'attachments':
-        $result .= $this->GetBoundary($this->boundary[1], "", "", "");
+        $result .= $this->GetBoundary($this->boundary[1], '', '', '');
         $result .= $this->EncodeString($this->Body, $this->Encoding);
         $result .= $this->LE;
         $result .= $this->AttachAll();
         $result .= $this->EncodeString($this->Body, $this->Encoding);
         $result .= $this->LE;
         $result .= $this->AttachAll();
@@ -908,18 +987,37 @@ class PHPMailer {
       case 'alt_attachments':
         $result .= sprintf("--%s%s", $this->boundary[1], $this->LE);
         $result .= sprintf("Content-Type: %s;%s" . "\tboundary=\"%s\"%s", 'multipart/alternative', $this->LE, $this->boundary[2], $this->LE.$this->LE);
       case 'alt_attachments':
         $result .= sprintf("--%s%s", $this->boundary[1], $this->LE);
         $result .= sprintf("Content-Type: %s;%s" . "\tboundary=\"%s\"%s", 'multipart/alternative', $this->LE, $this->boundary[2], $this->LE.$this->LE);
-        $result .= $this->GetBoundary($this->boundary[2], "", 'text/plain', "") . $this->LE; // Create text body
+        $result .= $this->GetBoundary($this->boundary[2], '', 'text/plain', '') . $this->LE; // Create text body
         $result .= $this->EncodeString($this->AltBody, $this->Encoding);
         $result .= $this->LE.$this->LE;
         $result .= $this->EncodeString($this->AltBody, $this->Encoding);
         $result .= $this->LE.$this->LE;
-        $result .= $this->GetBoundary($this->boundary[2], "", 'text/html', "") . $this->LE; // Create the HTML body
+        $result .= $this->GetBoundary($this->boundary[2], '', 'text/html', '') . $this->LE; // Create the HTML body
         $result .= $this->EncodeString($this->Body, $this->Encoding);
         $result .= $this->LE.$this->LE;
         $result .= $this->EndBoundary($this->boundary[2]);
         $result .= $this->AttachAll();
         break;
     }
         $result .= $this->EncodeString($this->Body, $this->Encoding);
         $result .= $this->LE.$this->LE;
         $result .= $this->EndBoundary($this->boundary[2]);
         $result .= $this->AttachAll();
         break;
     }
+
     if($this->IsError()) {
     if($this->IsError()) {
-      $result = "";
+      $result = '';
+    } else if ($this->sign_key_file) {
+      $file = tempnam("", "mail");
+      $fp = fopen($file, "w");
+      fwrite($fp, $result);
+      fclose($fp);
+      $signed = tempnam("", "signed");
+
+      if (@openssl_pkcs7_sign($file, $signed, "file://".$this->sign_key_file, array("file://".$this->sign_key_file, $this->sign_key_pass), null)) {
+        $fp = fopen($signed, "r");
+        $result = fread($fp, filesize($this->sign_key_file));
+        fclose($fp);
+      } else {
+        $this->SetError($this->Lang("signing").openssl_error_string());
+        $result = '';
+      }
+
+      unlink($file);
+      unlink($signed);
     }
 
     return $result;
     }
 
     return $result;
@@ -930,14 +1028,14 @@ class PHPMailer {
    * @access private
    */
   function GetBoundary($boundary, $charSet, $contentType, $encoding) {
    * @access private
    */
   function GetBoundary($boundary, $charSet, $contentType, $encoding) {
-    $result = "";
-    if($charSet == "") {
+    $result = '';
+    if($charSet == '') {
       $charSet = $this->CharSet;
     }
       $charSet = $this->CharSet;
     }
-    if($contentType == "") {
+    if($contentType == '') {
       $contentType = $this->ContentType;
     }
       $contentType = $this->ContentType;
     }
-    if($encoding == "") {
+    if($encoding == '') {
       $encoding = $this->Encoding;
     }
     $result .= $this->TextLine('--' . $boundary);
       $encoding = $this->Encoding;
     }
     $result .= $this->TextLine('--' . $boundary);
@@ -1009,14 +1107,14 @@ class PHPMailer {
    * @param string $type File extension (MIME) type.
    * @return bool
    */
    * @param string $type File extension (MIME) type.
    * @return bool
    */
-  function AddAttachment($path, $name = "", $encoding = 'base64', $type = 'application/octet-stream') {
+  function AddAttachment($path, $name = '', $encoding = 'base64', $type = 'application/octet-stream') {
     if(!@is_file($path)) {
       $this->SetError($this->Lang('file_access') . $path);
       return false;
     }
 
     $filename = basename($path);
     if(!@is_file($path)) {
       $this->SetError($this->Lang('file_access') . $path);
       return false;
     }
 
     $filename = basename($path);
-    if($name == "") {
+    if($name == '') {
       $name = $filename;
     }
 
       $name = $filename;
     }
 
@@ -1074,13 +1172,13 @@ class PHPMailer {
       if($bString) {
         $mime[] = $this->EncodeString($string, $encoding);
         if($this->IsError()) {
       if($bString) {
         $mime[] = $this->EncodeString($string, $encoding);
         if($this->IsError()) {
-          return "";
+          return '';
         }
         $mime[] = $this->LE.$this->LE;
       } else {
         $mime[] = $this->EncodeFile($path, $encoding);
         if($this->IsError()) {
         }
         $mime[] = $this->LE.$this->LE;
       } else {
         $mime[] = $this->EncodeFile($path, $encoding);
         if($this->IsError()) {
-          return "";
+          return '';
         }
         $mime[] = $this->LE.$this->LE;
       }
         }
         $mime[] = $this->LE.$this->LE;
       }
@@ -1088,7 +1186,7 @@ class PHPMailer {
 
     $mime[] = sprintf("--%s--%s", $this->boundary[1], $this->LE);
 
 
     $mime[] = sprintf("--%s--%s", $this->boundary[1], $this->LE);
 
-    return join("", $mime);
+    return join('', $mime);
   }
 
   /**
   }
 
   /**
@@ -1100,7 +1198,7 @@ class PHPMailer {
   function EncodeFile ($path, $encoding = 'base64') {
     if(!@$fd = fopen($path, 'rb')) {
       $this->SetError($this->Lang('file_open') . $path);
   function EncodeFile ($path, $encoding = 'base64') {
     if(!@$fd = fopen($path, 'rb')) {
       $this->SetError($this->Lang('file_open') . $path);
-      return "";
+      return '';
     }
     $magic_quotes = get_magic_quotes_runtime();
     set_magic_quotes_runtime(0);
     }
     $magic_quotes = get_magic_quotes_runtime();
     set_magic_quotes_runtime(0);
@@ -1119,7 +1217,7 @@ class PHPMailer {
    * @return string
    */
   function EncodeString ($str, $encoding = 'base64') {
    * @return string
    */
   function EncodeString ($str, $encoding = 'base64') {
-    $encoded = "";
+    $encoded = '';
     switch(strtolower($encoding)) {
       case 'base64':
         /* chunk_split is found in PHP >= 3.0.6 */
     switch(strtolower($encoding)) {
       case 'base64':
         /* chunk_split is found in PHP >= 3.0.6 */
@@ -1182,9 +1280,15 @@ class PHPMailer {
     /* Try to select the encoding which should produce the shortest output */
     if (strlen($str)/3 < $x) {
       $encoding = 'B';
     /* Try to select the encoding which should produce the shortest output */
     if (strlen($str)/3 < $x) {
       $encoding = 'B';
-      $encoded = base64_encode($str);
-      $maxlen -= $maxlen % 4;
-      $encoded = trim(chunk_split($encoded, $maxlen, "\n"));
+      if (function_exists('mb_strlen') && $this->HasMultiBytes($str)) {
+     // Use a custom function which correctly encodes and wraps long
+     // multibyte strings without breaking lines within a character
+        $encoded = $this->Base64EncodeWrapMB($str);
+      } else {
+        $encoded = base64_encode($str);
+        $maxlen -= $maxlen % 4;
+        $encoded = trim(chunk_split($encoded, $maxlen, "\n"));
+      }
     } else {
       $encoding = 'Q';
       $encoded = $this->EncodeQ($str, $position);
     } else {
       $encoding = 'Q';
       $encoded = $this->EncodeQ($str, $position);
@@ -1198,20 +1302,74 @@ class PHPMailer {
     return $encoded;
   }
 
     return $encoded;
   }
 
+  /**
+   * Checks if a string contains multibyte characters.
+   * @access private
+   * @param string $str multi-byte text to wrap encode
+   * @return bool
+   */
+  function HasMultiBytes($str) {
+    if (function_exists('mb_strlen')) {
+      return (strlen($str) > mb_strlen($str, $this->CharSet));
+    } else { // Assume no multibytes (we can't handle without mbstring functions anyway)
+      return False;
+    }
+  }
+
+  /**
+   * Correctly encodes and wraps long multibyte strings for mail headers
+   * without breaking lines within a character.
+   * Adapted from a function by paravoid at http://uk.php.net/manual/en/function.mb-encode-mimeheader.php
+   * @access private
+   * @param string $str multi-byte text to wrap encode
+   * @return string
+   */
+  function Base64EncodeWrapMB($str) {
+    $start = "=?".$this->CharSet."?B?";
+    $end = "?=";
+    $encoded = "";
+
+    $mb_length = mb_strlen($str, $this->CharSet);
+    // Each line must have length <= 75, including $start and $end
+    $length = 75 - strlen($start) - strlen($end);
+    // Average multi-byte ratio
+    $ratio = $mb_length / strlen($str);
+    // Base64 has a 4:3 ratio
+    $offset = $avgLength = floor($length * $ratio * .75);
+
+    for ($i = 0; $i < $mb_length; $i += $offset) {
+      $lookBack = 0;
+
+      do {
+        $offset = $avgLength - $lookBack;
+        $chunk = mb_substr($str, $i, $offset, $this->CharSet);
+        $chunk = base64_encode($chunk);
+        $lookBack++;
+      }
+      while (strlen($chunk) > $length);
+
+      $encoded .= $chunk . $this->LE;
+    }
+
+    // Chomp the last linefeed
+    $encoded = substr($encoded, 0, -strlen($this->LE));
+    return $encoded;
+  }
+
   /**
    * Encode string to quoted-printable.
    * @access private
    * @return string
    */
   /**
    * Encode string to quoted-printable.
    * @access private
    * @return string
    */
-  function EncodeQP( $input = "", $line_max = 76, $space_conv = false ) {
+  function EncodeQP( $input = '', $line_max = 76, $space_conv = false ) {
     $hex = array('0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F');
     $lines = preg_split('/(?:\r\n|\r|\n)/', $input);
     $eol = "\r\n";
     $escape = '=';
     $hex = array('0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F');
     $lines = preg_split('/(?:\r\n|\r|\n)/', $input);
     $eol = "\r\n";
     $escape = '=';
-    $output = "";
+    $output = '';
     while( list(, $line) = each($lines) ) {
       $linlen = strlen($line);
     while( list(, $line) = each($lines) ) {
       $linlen = strlen($line);
-      $newline = "";
+      $newline = '';
       for($i = 0; $i < $linlen; $i++) {
         $c = substr( $line, $i, 1 );
         $dec = ord( $c );
       for($i = 0; $i < $linlen; $i++) {
         $c = substr( $line, $i, 1 );
         $dec = ord( $c );
@@ -1231,7 +1389,7 @@ class PHPMailer {
         }
         if ( (strlen($newline) + strlen($c)) >= $line_max ) { // CRLF is not counted
           $output .= $newline.$escape.$eol; //  soft line break; " =\r\n" is okay
         }
         if ( (strlen($newline) + strlen($c)) >= $line_max ) { // CRLF is not counted
           $output .= $newline.$escape.$eol; //  soft line break; " =\r\n" is okay
-          $newline = "";
+          $newline = '';
           // check if newline first character will be point or not
           if ( $dec == 46 ) {
             $c = '=2E';
           // check if newline first character will be point or not
           if ( $dec == 46 ) {
             $c = '=2E';
@@ -1251,7 +1409,7 @@ class PHPMailer {
    */
   function EncodeQ ($str, $position = 'text') {
     /* There should not be any EOL in the string */
    */
   function EncodeQ ($str, $position = 'text') {
     /* There should not be any EOL in the string */
-    $encoded = preg_replace("[\r\n]", "", $str);
+    $encoded = preg_replace("[\r\n]", '', $str);
 
     switch (strtolower($position)) {
       case 'phrase':
 
     switch (strtolower($position)) {
       case 'phrase':
@@ -1309,7 +1467,7 @@ class PHPMailer {
    * @param string $type File extension (MIME) type.
    * @return bool
    */
    * @param string $type File extension (MIME) type.
    * @return bool
    */
-  function AddEmbeddedImage($path, $cid, $name = "", $encoding = 'base64', $type = 'application/octet-stream') {
+  function AddEmbeddedImage($path, $cid, $name = '', $encoding = 'base64', $type = 'application/octet-stream') {
 
     if(!@is_file($path)) {
       $this->SetError($this->Lang('file_access') . $path);
 
     if(!@is_file($path)) {
       $this->SetError($this->Lang('file_access') . $path);
@@ -1317,7 +1475,7 @@ class PHPMailer {
     }
 
     $filename = basename($path);
     }
 
     $filename = basename($path);
-    if($name == "") {
+    if($name == '') {
       $name = $filename;
     }
 
       $name = $filename;
     }
 
@@ -1467,7 +1625,7 @@ class PHPMailer {
     if(isset($_SERVER[$varName])) {
       return $_SERVER[$varName];
     } else {
     if(isset($_SERVER[$varName])) {
       return $_SERVER[$varName];
     } else {
-      return "";
+      return '';
     }
   }
 
     }
   }
 
@@ -1538,23 +1696,31 @@ class PHPMailer {
    * @access public
    * @return $message
    */
    * @access public
    * @return $message
    */
-  function MsgHTML($message) {
+  function MsgHTML($message,$basedir='') {
     preg_match_all("/(src|background)=\"(.*)\"/Ui", $message, $images);
     if(isset($images[2])) {
       foreach($images[2] as $i => $url) {
     preg_match_all("/(src|background)=\"(.*)\"/Ui", $message, $images);
     if(isset($images[2])) {
       foreach($images[2] as $i => $url) {
-        $filename  = basename($url);
-        $directory = dirname($url);
-        $cid       = 'cid:' . md5($filename);
-        $fileParts = split("\.", $filename);
-        $ext       = $fileParts[1];
-        $mimeType  = $this->_mime_types($ext);
-        $message = preg_replace("/".$images[1][$i]."=\"".preg_quote($url, '/')."\"/Ui", $images[1][$i]."=\"".$cid."\"", $message);
-        $this->AddEmbeddedImage($url, md5($filename), $filename, 'base64', $mimeType);
+        // do not change urls for absolute images (thanks to corvuscorax)
+        if (!preg_match('/^[A-z][A-z]*:\/\//',$url)) {
+          $filename = basename($url);
+          $directory = dirname($url);
+          ($directory == '.')?$directory='':'';
+          $cid = 'cid:' . md5($filename);
+          $fileParts = split("\.", $filename);
+          $ext = $fileParts[1];
+          $mimeType = $this->_mime_types($ext);
+          if ( strlen($basedir) > 1 && substr($basedir,-1) != '/') { $basedir .= '/'; }
+          if ( strlen($directory) > 1 && substr($basedir,-1) != '/') { $directory .= '/'; }
+          $this->AddEmbeddedImage($basedir.$directory.$filename, md5($filename), $filename, 'base64', $mimeType);
+          if ( $this->AddEmbeddedImage($basedir.$directory.$filename, md5($filename), $filename, 'base64',$mimeType) ) {
+            $message = preg_replace("/".$images[1][$i]."=\"".preg_quote($url, '/')."\"/Ui", $images[1][$i]."=\"".$cid."\"", $message);
+          }
+        }
       }
     }
     $this->IsHTML(true);
     $this->Body = $message;
       }
     }
     $this->IsHTML(true);
     $this->Body = $message;
-    $textMsg = trim(strip_tags($message));
+    $textMsg = trim(strip_tags(preg_replace('/<(head|title|style|script)[^>]*>.*?<\/\\1>/s','',$message)));
     if ( !empty($textMsg) && empty($this->AltBody) ) {
       $this->AltBody = $textMsg;
     }
     if ( !empty($textMsg) && empty($this->AltBody) ) {
       $this->AltBody = $textMsg;
     }
@@ -1568,7 +1734,7 @@ class PHPMailer {
    * @access private
    * @return mime type of ext
    */
    * @access private
    * @return mime type of ext
    */
-  function _mime_types($ext = "") {
+  function _mime_types($ext = '') {
     $mimes = array(
       'hqx'  =>  'application/mac-binhex40',
       'cpt'   =>  'application/mac-compactpro',
     $mimes = array(
       'hqx'  =>  'application/mac-binhex40',
       'cpt'   =>  'application/mac-compactpro',
@@ -1658,7 +1824,7 @@ class PHPMailer {
       'xl'    =>  'application/excel',
       'eml'   =>  'message/rfc822'
     );
       'xl'    =>  'application/excel',
       'eml'   =>  'message/rfc822'
     );
-    return ( ! isset($mimes[strtolower($ext)])) ? 'application/x-unknown-content-type' : $mimes[strtolower($ext)];
+    return ( ! isset($mimes[strtolower($ext)])) ? 'application/octet-stream' : $mimes[strtolower($ext)];
   }
 
   /**
   }
 
   /**
@@ -1672,7 +1838,7 @@ class PHPMailer {
    * @param mixed $value Parameter Value
    * NOTE: will not work with arrays, there are no arrays to set/reset
    */
    * @param mixed $value Parameter Value
    * NOTE: will not work with arrays, there are no arrays to set/reset
    */
-  function set ( $name, $value = "" ) {
+  function set ( $name, $value = '' ) {
     if ( isset($this->$name) ) {
       $this->$name = $value;
     } else {
     if ( isset($this->$name) ) {
       $this->$name = $value;
     } else {
@@ -1688,7 +1854,7 @@ class PHPMailer {
    * @param string $filename Parameter File Name
    */
   function getFile($filename) {
    * @param string $filename Parameter File Name
    */
   function getFile($filename) {
-    $return = "";
+    $return = '';
     if ($fp = fopen($filename, 'rb')) {
       while (!feof($fp)) {
         $return .= fread($fp, 1024);
     if ($fp = fopen($filename, 'rb')) {
       while (!feof($fp)) {
         $return .= fread($fp, 1024);
@@ -1713,6 +1879,18 @@ class PHPMailer {
     return $str;
   }
 
     return $str;
   }
 
+  /**
+   * Set the private key file and password to sign the message.
+   *
+   * @access public
+   * @param string $key_filename Parameter File Name
+   * @param string $key_pass Password for private key
+   */
+  function Sign($key_filename, $key_pass) {
+    $this->sign_key_file = $key_filename;
+    $this->sign_key_pass = $key_pass;
+  }
+
 }
 
 ?>
 }
 
 ?>
index 901a174119c332aa409b6fd69f9b827e2747b4ef..e97a0c9c90494a80dadb8c0e93664d1fbb80e92f 100644 (file)
@@ -2,7 +2,7 @@
 /*~ class.pop3.php
 .---------------------------------------------------------------------------.
 |  Software: PHPMailer - PHP email class                                    |
 /*~ class.pop3.php
 .---------------------------------------------------------------------------.
 |  Software: PHPMailer - PHP email class                                    |
-|   Version: 2.0.0 rc2                                                      |
+|   Version: 2.0.2                                                          |
 |   Contact: via sourceforge.net support pages (also www.codeworxtech.com)  |
 |      Info: http://phpmailer.sourceforge.net                               |
 |   Support: http://sourceforge.net/projects/phpmailer/                     |
 |   Contact: via sourceforge.net support pages (also www.codeworxtech.com)  |
 |      Info: http://phpmailer.sourceforge.net                               |
 |   Support: http://sourceforge.net/projects/phpmailer/                     |
@@ -26,7 +26,6 @@
 
 /**
  * POP Before SMTP Authentication Class
 
 /**
  * POP Before SMTP Authentication Class
- * Version 1.0
  *
  * Author: Richard Davey (rich@corephp.co.uk)
  * License: LGPL, see PHPMailer License
  *
  * Author: Richard Davey (rich@corephp.co.uk)
  * License: LGPL, see PHPMailer License
@@ -275,7 +274,7 @@ class POP3
      * @param string $password
      * @return boolean
      */
      * @param string $password
      * @return boolean
      */
-    function Login ($username = "", $password = "")
+    function Login ($username = '', $password = '')
     {
       if ($this->connected == false)
       {
     {
       if ($this->connected == false)
       {
@@ -382,7 +381,7 @@ class POP3
         $this->error = array(
           'error' => "Server reported an error: $string",
           'errno' => 0,
         $this->error = array(
           'error' => "Server reported an error: $string",
           'errno' => 0,
-          'errstr' => ""
+          'errstr' => ''
         );
 
         if ($this->do_debug >= 1)
         );
 
         if ($this->do_debug >= 1)
index 92b999f454034942c6f17bf8e8ed925e3b63eae9..398c3ffbac2392bf3f2a6bd82f07202144e45bdd 100644 (file)
@@ -2,7 +2,7 @@
 /*~ class.smtp.php
 .---------------------------------------------------------------------------.
 |  Software: PHPMailer - PHP email class                                    |
 /*~ class.smtp.php
 .---------------------------------------------------------------------------.
 |  Software: PHPMailer - PHP email class                                    |
-|   Version: 2.0.0 rc1                                                      |
+|   Version: 2.0.2                                                          |
 |   Contact: via sourceforge.net support pages (also www.codeworxtech.com)  |
 |      Info: http://phpmailer.sourceforge.net                               |
 |   Support: http://sourceforge.net/projects/phpmailer/                     |
 |   Contact: via sourceforge.net support pages (also www.codeworxtech.com)  |
 |      Info: http://phpmailer.sourceforge.net                               |
 |   Support: http://sourceforge.net/projects/phpmailer/                     |
index 9129a4d5912ea2233670847564efca4bb3517db2..4a5cfd38f2dc402bb2364ea6af3e9b566480b65a 100644 (file)
@@ -1,4 +1,4 @@
-<html>
+<html>
 <head>
 <style>
 body, p {
 <head>
 <style>
 body, p {
@@ -10,51 +10,100 @@ div.width {
   text-align: left;
 }
 </style>
   text-align: left;
 }
 </style>
+<script>
+<!--
+var popsite="http://phpmailer.codeworxtech.com"
+var withfeatures="width=960,height=760,scrollbars=1,resizable=1,toolbar=1,location=1,menubar=1,status=1,directories=0"
+var once_per_session=0
+function get_cookie(Name) {
+  var search = Name + "="
+  var returnvalue = "";
+  if (document.cookie.length > 0) {
+    offset = document.cookie.indexOf(search)
+    if (offset != -1) { // if cookie exists
+      offset += search.length
+      // set index of beginning of value
+      end = document.cookie.indexOf(";", offset);
+      // set index of end of cookie value
+      if (end == -1)
+         end = document.cookie.length;
+      returnvalue=unescape(document.cookie.substring(offset, end))
+      }
+   }
+  return returnvalue;
+}
+function loadornot(){
+  if (get_cookie('popsite')=='') {
+    loadpopsite()
+    document.cookie="popsite=yes"
+  }
+}
+function loadpopsite(){
+  win2=window.open(popsite,"",withfeatures)
+  win2.blur()
+  window.focus()
+}
+if (once_per_session==0) {
+  loadpopsite()
+} else {
+  loadornot()
+}
+-->
+</script>
 </head>
 <body>
 <center>
 <div class="width">
 </head>
 <body>
 <center>
 <div class="width">
-<p><b>My name is Andy Prevost, AKA "codeworxtech".</b><br>
-<a href="http://www.codeworxtech.com">www.codeworxtech.com</a> for more information.<br>
-<a href="http://www.worxhost.com">www.worxhost.com</a> our webhosting division.</p>
-<p>Before I introduce myself, our company and our developer tools to you, let me answer a huge question you likely have:</p>
+<hr>
+The http://phpmailer.codeworxtech.com/ website now carries a few
+advertisements through the Google Adsense network. Please visit
+the advertiser sites and help us offset some of our costs.<br />
+Thanks ....<br />
+<hr>
+<p><b>My name is Andy Prevost, AKA "codeworxtech".</b><br />
+<a href="http://www.codeworxtech.com">www.codeworxtech.com</a> for more information.<br />
+</p>
 <p><strong>WHY USE OUR TOOLS &amp; WHAT&#39;S IN IT FOR YOU?</strong></p>
 <p>A valid question. We're developers too. We've been writing software, primarily for the internet, for more than 15 years. Along the way, there are two major things that had tremendous impact of our company: PHP and Open Source. PHP is without doubt the most popular platform for the internet. There has been more progress in this area of technology because of Open Source software than in any other IT segment. We have used many open source tools, some as learning tools, some as components in projects we were working on. To us, it's not about popularity ... we're committed to robust, stable, and efficient tools you can use to get your projects in your user's hands quickly. So the shorter answer: what's in it for you? rapid development and rapid deployment without fuss and with straight forward open source licensing.</p>
 <p>Now, the introductions:</p>
 <p><strong>WHY USE OUR TOOLS &amp; WHAT&#39;S IN IT FOR YOU?</strong></p>
 <p>A valid question. We're developers too. We've been writing software, primarily for the internet, for more than 15 years. Along the way, there are two major things that had tremendous impact of our company: PHP and Open Source. PHP is without doubt the most popular platform for the internet. There has been more progress in this area of technology because of Open Source software than in any other IT segment. We have used many open source tools, some as learning tools, some as components in projects we were working on. To us, it's not about popularity ... we're committed to robust, stable, and efficient tools you can use to get your projects in your user's hands quickly. So the shorter answer: what's in it for you? rapid development and rapid deployment without fuss and with straight forward open source licensing.</p>
 <p>Now, the introductions:</p>
-<p>Our company, <strong>Codeworx Technologies</strong>, is the publisher of several Open Source applications and developer tools as well as several commercial PHP applications. The Open Source applications are ttCMS and DCP Portal. The Open Source developer tools include QuickComponents (QuickSkin, QuickCache, and QuickTabs) and now PHPMailer. 
-We have staff and offices in the United States, Canada, Caribbean, the Middle 
-East, and our primary development center in India. Our company is represented by 
+<p>Our company, <strong>Codeworx Technologies</strong>, is the publisher of several Open Source applications and developer tools as well as several commercial PHP applications. The Open Source applications are ttCMS and DCP Portal. The Open Source developer tools include QuickComponents (QuickSkin, QuickCache, and QuickTabs) and now PHPMailer.
+We have staff and offices in the United States, Canada, Caribbean, the Middle
+East, and our primary development center in India. Our company is represented by
 agents and resellers globally.</p>
 <p><strong>Codeworx Technologies</strong> is at the forefront of developing PHP applications. Our staff are all Zend Certified university educated and experts at object oriented programming. While <strong>Codeworx Technologies</strong> can handle any project from trouble shooting programs written by others all the way to finished mission-critical applications, we specialize in taking projects from inception all the way through to implementation - on budget, and on time. If you need help with your projects, we&#39;re the team to get it done right at a reasonable price.</p>
 <p>Over the years, there have been a number of tools that have been constant favorites in all of our projects. We have become the project administrators for most of these tools.</p>
 <p>Our developer tools are all Open Source. Here&#39;s a brief description:</p>
 <ul>
 agents and resellers globally.</p>
 <p><strong>Codeworx Technologies</strong> is at the forefront of developing PHP applications. Our staff are all Zend Certified university educated and experts at object oriented programming. While <strong>Codeworx Technologies</strong> can handle any project from trouble shooting programs written by others all the way to finished mission-critical applications, we specialize in taking projects from inception all the way through to implementation - on budget, and on time. If you need help with your projects, we&#39;re the team to get it done right at a reasonable price.</p>
 <p>Over the years, there have been a number of tools that have been constant favorites in all of our projects. We have become the project administrators for most of these tools.</p>
 <p>Our developer tools are all Open Source. Here&#39;s a brief description:</p>
 <ul>
-  <li><strong>PHPMailer</strong>. Originally authored by Brent Matzelle, PHPMailer is the leading "email transfer class" for PHP. PHPMailer is downloaded more than 18000 times each and every month by developers looking for a stable, simple email solution. We used it ourselves for years as our favorite tool. It&#39;s always been small (the entire footprint is around 100 Kb), stable, and as complete a solution as you can find. Other tools are nowhere near as simple. And more importantly, most of our applications (including PHPMailer) is implemented in a smaller footprint than one competing email class. Our thanks to Brent Matzelle for this superb tool - our commitment is to keep it lean, keep it focused, and compliant with standards. Visit the PHPMailer website at
-  <a href="http://phpmailer.codeworxtech.com/">http://phpmailer.codeworxtech.com/</a>.<br>
-  <br>
+  <li><span style="background-color: #FFFF00"><strong>PHPMailer</strong></span>. Originally authored by Brent Matzelle, PHPMailer is the leading "email transfer class" for PHP. PHPMailer is downloaded more than 18000 times each and every month by developers looking for a stable, simple email solution. We used it ourselves for years as our favorite tool. It&#39;s always been small (the entire footprint is around 100 Kb), stable, and as complete a solution as you can find. Other tools are nowhere near as simple. And more importantly, most of our applications (including PHPMailer) is implemented in a smaller footprint than one competing email class. Our thanks to Brent Matzelle for this superb tool - our commitment is to keep it lean, keep it focused, and compliant with standards. Visit the PHPMailer website at
+  <a href="http://phpmailer.codeworxtech.com/">http://phpmailer.codeworxtech.com/</a>. <br />
+  Please note: <strong>all of our focus is now on the PHPMailer for PHP5.</strong><br />
+  <span style="background-color: #FFFF00">PS. While you are at it, please visit our sponsor&#39;s sites, click on their ads.
+  It helps offset some of our costs.</span><br />
+  Want to help? We're looking for progressive developers to join our team of volunteer professionals working on PHPMailer. Our entire focus is on PHPMailer for PHP5, and our next major task is to enhance our
+  exception/error handling with PHP 5's object oriented try/throw/catch mechanisms. If you are interested, let us know.<br />
+  <br />
   </li>
   </li>
-  <li><strong>QuickCache</strong>. Originally authored by Jean Pierre Deckers as jpCache, QuickCache is an HTTP OpCode caching strategy that works on your entire site with only one line of code at the top of your script. The cached pages can be stored as files or as database objects. The benefits are absolutely astounding: bandwidth savings of up to 80% and screen display times increased by 8 - 10x. Visit the QuickCache website at
-  <a href="http://quickcache.codeworxtech.com/">http://quickcache.codeworxtech.com/</a>.<br>
-  <br>
+  <li><strong><span style="background-color: #FFFF00">QuickCache</span></strong>. Originally authored by Jean Pierre Deckers as jpCache, QuickCache is an HTTP OpCode caching strategy that works on your entire site with only one line of code at the top of your script. The cached pages can be stored as files or as database objects. The benefits are absolutely astounding: bandwidth savings of up to 80% and screen display times increased by 8 - 10x. Visit the QuickCache website at
+  <a href="http://quickcache.codeworxtech.com/">http://quickcache.codeworxtech.com/</a>.<br />
+  <br />
   </li>
   </li>
-  <li><strong>QuickSkin</strong>. Originally authored by Philipp v. Criegern and named "SmartTemplate". The project was taken over by Manuel 'EndelWar' Dalla Lana and now by "codeworxtech". QuickSkin is one of the truly outstanding templating engines available, but has always been confused with Smarty Templating Engine. QuickSkin is even more relevant today than when it was launched. It&#39;s a small footprint with big impact on your projects. It features a built in caching technology, token based substitution, and works on the concept of one single HTML file as the template. The HTML template file can contain variable information making it one small powerful tool for your developer tool kit. Visit the QuickSkin website at
-  <a href="http://quickskin.codeworxtech.com/">http://quickskin.codeworxtech.com/</a>.<br>
-  <br>
+  <li><strong><span style="background-color: #FFFF00">QuickSkin</span></strong>. Originally authored by Philipp v. Criegern and named "SmartTemplate". The project was taken over by Manuel 'EndelWar' Dalla Lana and now by "codeworxtech". QuickSkin is one of the truly outstanding templating engines available, but has always been confused with Smarty Templating Engine. QuickSkin is even more relevant today than when it was launched. It&#39;s a small footprint with big impact on your projects. It features a built in caching technology, token based substitution, and works on the concept of one single HTML file as the template. The HTML template file can contain variable information making it one small powerful tool for your developer tool kit. Visit the QuickSkin website at
+  <a href="http://quickskin.codeworxtech.com/">http://quickskin.codeworxtech.com/</a>.<br />
+  <br />
   </li>
   </li>
-  <li><strong>QuickTabs</strong>. If you read about the projects above, you'll get the sense that we are minimalists and that's pretty accurate. We prefer using tools that are small, efficient, and effective. We have no use for software bloat. QuickTabs came to life in several of our projects where we needed to display complex information in a simplified manner to users. It had to function something like a "wizard" interface, but with more flexibility to float from one item to another. We looked at various Ajax-based solutions, but found one annoying problem with Ajax - page reloads if switching between items (with corresponding data loss if changed by the customer). QuickTabs is our solution to this by presenting complex data in a Javascript show/hide div set. It&#39;s not a complex architecture, but it works! Visit the QuickTabs website at <a href="http://quicktabs.codeworxtech.com/">http://quicktabs.codeworxtech.com/</a>.</li>
+  <li><strong><span style="background-color: #FFFF00">QuickTabs</span></strong>. If you read about the projects above, you'll get the sense that we are minimalists and that's pretty accurate. We prefer using tools that are small, efficient, and effective. We have no use for software bloat. QuickTabs came to life in several of our projects where we needed to display complex information in a simplified manner to users. It had to function something like a "wizard" interface, but with more flexibility to float from one item to another. We looked at various Ajax-based solutions, but found one annoying problem with Ajax - page reloads if switching between items (with corresponding data loss if changed by the customer). QuickTabs is our solution to this by presenting complex data in a Javascript show/hide div set. It&#39;s not a complex architecture, but it works! Visit the QuickTabs website at <a href="http://quicktabs.codeworxtech.com/">http://quicktabs.codeworxtech.com/</a>.</li>
 </ul>
 <p>We're committed to PHP and to the Open Source community.</p>
 <p>Opportunities with <strong>Codeworx Technologies</strong>:</p>
 <ul>
 </ul>
 <p>We're committed to PHP and to the Open Source community.</p>
 <p>Opportunities with <strong>Codeworx Technologies</strong>:</p>
 <ul>
-<li>Resellers/Agents: We're always interested in talking with companies that 
+<li><span style="background-color: #FFFF00">Resellers/Agents</span>: We're always interested in talking with companies that
 want to represent
 <strong>Codeworx Technologies</strong> in their markets. We also have private label programs for our commercial products (in certain circumstances).</li>
 <li>Programmers/Developers: We are usually fully staffed, however, if you would like to be considered for a career with
 want to represent
 <strong>Codeworx Technologies</strong> in their markets. We also have private label programs for our commercial products (in certain circumstances).</li>
 <li>Programmers/Developers: We are usually fully staffed, however, if you would like to be considered for a career with
-<strong>Codeworx Technologies</strong>, we would be pleased to hear from you.<br>
-A few things to note:<br>
+<strong>Codeworx Technologies</strong>, we would be pleased to hear from you.<br />
+A few things to note:<br />
 <ul>
 <ul>
-  <li>we do not hire contractors and we do not outsource (these are services we offer)</li>
-  <li>experience level does not matter: from fresh out of college to multi-year experience - it&#39;s your 
+  <li>experience level does not matter: from fresh out of college to multi-year experience - it&#39;s your
   creative mind and a positive attitude we want</li>
   <li>if you contact us looking for employment, include a cover letter, indicate what type of work/career you are looking for and expected compensation</li>
   <li>if you are representing someone else looking for work, do not contact us. We have an exclusive relationship with a recruiting partner already and not interested in altering the arrangement. We will not hire your candidate under any circumstances unless they wish to approach us individually.</li>
   creative mind and a positive attitude we want</li>
   <li>if you contact us looking for employment, include a cover letter, indicate what type of work/career you are looking for and expected compensation</li>
   <li>if you are representing someone else looking for work, do not contact us. We have an exclusive relationship with a recruiting partner already and not interested in altering the arrangement. We will not hire your candidate under any circumstances unless they wish to approach us individually.</li>
@@ -62,10 +111,10 @@ A few things to note:<br>
 </ul></li>
 <li>Affiliates/Partnerships: We are interested in partnering with other firms who are leaders in their field. We clearly understand that successful companies are built on successful relationships in all industries world-wide. We currently have innovative relationships throughout the world that are mutually beneficial. Drop us a line and let&#39;s talk.</li>
 </ul>
 </ul></li>
 <li>Affiliates/Partnerships: We are interested in partnering with other firms who are leaders in their field. We clearly understand that successful companies are built on successful relationships in all industries world-wide. We currently have innovative relationships throughout the world that are mutually beneficial. Drop us a line and let&#39;s talk.</li>
 </ul>
-Regards,<br>
-Andy Prevost (aka, codeworxtech)<br>
-<a href="mailto:codeworxtech@users.sourceforge.net">codeworxtech@users.sourceforge.net</a><br>
-<br>
+Regards,<br />
+Andy Prevost (aka, codeworxtech)<br />
+<a href="mailto:codeworxtech@users.sourceforge.net">codeworxtech@users.sourceforge.net</a><br />
+<br />
 </div>
 </center>
 </body>
 </div>
 </center>
 </body>
index 283e651789574010deffc121ba14bad83fd47284..54ac18370ea9f25dfa43c0dc0edc4e3a44b3b29e 100644 (file)
@@ -1,66 +1,67 @@
-<html>
-<head>
-<title>phpmailer FAQ</title>
-</head>
-
-<body bgcolor="#FFFFFF">
-
-<h2>phpmailer FAQ</h2>
-
-<p>
-<b>I'm using the SMTP mailer and I keep on getting a timeout message 
-well before the X seconds I set it for.  What gives?</b>
-<br>
-PHP versions 4.0.4pl1 and earlier have a bug in which sockets timeout 
-early.  You can fix this by re-compiling PHP 4.0.4pl1 with this fix: 
-<a href="timeoutfix.diff">timeoutfix.diff</a>. Otherwise you can wait 
-for the new PHP release.
-</p>
-
-<p>
-<b>I am concerned that using include files will take up too much
-processing time on my computer.  How can I make it run faster?</b>
-<br>
-PHP by itself is very fast.  Much faster than ASP or JSP running on
-the same type of server.  This is because it has very little overhead compared
-to its competitors and it pre-compiles all of
-its code before it runs each script (in PHP4).  However, all of
-this compiling and re-compiling can take up a lot of valuable
-computer resources.  However, there are programs out there that compile
-PHP code and store it in memory (or on mmaped files) to reduce the
-processing immensely.  Two of these: <a href="http://apc.communityconnect.com">APC
-(Alternative PHP Cache)</a> and <a href="http://bwcache.bware.it/index.htm">Afterburner</a> 
-(<a href="http://www.mm4.de/php4win/mod_php4_win32/">Win32 download</a>) 
-are excellent free tools that do just this.  If you have the money
-you might also try <a href="http://www.zend.com">Zend Cache</a>, it is
-even faster than the open source varieties.  All of these tools make your
-scripts run faster while also reducing the load on your server. I have tried
-them myself and they are quite stable too.
-</p>
-
-
-<p>
-<b>What mailer gives me the best performance?</b>
-<br>
-On a single machine the mail() or sendmail mailers give you the best 
-performance because they do not have the added overhead of SMTP.
-If you have you have your mail server on a another machine then
-SMTP is your only option, but you do get the benefit of redundant
-mail servers.
-</p>
-
-<p>
-<b>When I try to attach a file with on my server I get a 
-"Could not find {file} on filesystem error".  Why is this?</b>
-<br>
-If you are using a Unix machine this is probably because the user 
-running your web server does not have read access to the directory 
-in question.  If you are using Windows, then the problem probably is 
-that you have used single backslashes to denote directories ("\").  
-A single backslash has a special meaning to PHP so these are not 
-valid.  Instead use double backslashes ("\\") or a single forward 
-slash ("/").
-</p>
-
-</body>
-</html>
\ No newline at end of file
+<html>\r
+<head>\r
+<title>PHPMailer FAQ</title>\r
+<style>\r
+body, p {\r
+  font-family: Arial, Helvetica, sans-serif;\r
+  font-size: 12px;\r
+}\r
+div.width {\r
+  width: 500px;\r
+  text-align: left;\r
+}\r
+</style>\r
+</head>\r
+<body bgcolor="#FFFFFF">\r
+<center>\r
+<div class="width">\r
+<h2>PHPMailer FAQ</h2>\r
+<ul>\r
+\r
+  <li><b style="background-color: #FFFF00">Q:</b> <b>I&#039;m using the SMTP mailer and I keep on getting a timeout message\r
+  well before the X seconds I set it for.  What gives?</b><br />\r
+  <b style="background-color: #FFFF00">A:</b> PHP versions 4.0.4pl1 and earlier have a bug in which sockets timeout\r
+  early.  You can fix this by re-compiling PHP 4.0.4pl1 with this fix:\r
+  <a href="timeoutfix.diff">timeoutfix.diff</a>. Otherwise you can wait for the new PHP release.<br /><br /></li>\r
+\r
+  <li><b style="background-color: #FFFF00">Q:</b> <b>I am concerned that using include files will take up too much\r
+  processing time on my computer.  How can I make it run faster?</b><br />\r
+  <b style="background-color: #FFFF00">A:</b>  PHP by itself is very fast.  Much faster than ASP or JSP running on\r
+  the same type of server.  This is because it has very little overhead compared\r
+  to its competitors and it pre-compiles all of\r
+  its code before it runs each script (in PHP4).  However, all of\r
+  this compiling and re-compiling can take up a lot of valuable\r
+  computer resources.  However, there are programs out there that compile\r
+  PHP code and store it in memory (or on mmaped files) to reduce the\r
+  processing immensely.  Two of these: <a href="http://apc.communityconnect.com">APC\r
+  (Alternative PHP Cache)</a> and <a href="http://bwcache.bware.it/index.htm">Afterburner</a>\r
+  (<a href="http://www.mm4.de/php4win/mod_php4_win32/">Win32 download</a>)\r
+  are excellent free tools that do just this.  If you have the money\r
+  you might also try <a href="http://www.zend.com">Zend Cache</a>, it is\r
+  even faster than the open source varieties.  All of these tools make your\r
+  scripts run faster while also reducing the load on your server. I have tried\r
+  them myself and they are quite stable too.<br /><br /></li>\r
+\r
+  <li><b style="background-color: #FFFF00">Q:</b> <b>What mailer gives me the best performance?</b><br />\r
+  <b style="background-color: #FFFF00">A:</b> On a single machine the <b>sendmail (or Qmail)</b> is fastest overall.\r
+  Next fastest is mail() to give you the best performance. Both do not have the overhead of SMTP.\r
+  If you have you have your mail server on a another machine then\r
+  SMTP is your only option, but you do get the benefit of redundant mail servers.<br />\r
+  If you are running a mailing list with thousands of names, the fastest mailers in order are: SMTP, sendmail (or Qmail), mail().<br /><br /></li>\r
+\r
+  <li><b style="background-color: #FFFF00">Q:</b> <b>When I try to attach a file with on my server I get a\r
+  "Could not find {file} on filesystem error".  Why is this?</b><br />\r
+  <b style="background-color: #FFFF00">A:</b> If you are using a Unix machine this is probably because the user\r
+  running your web server does not have read access to the directory in question.  If you are using Windows,\r
+  then the problem probably is that you have used single backslashes to denote directories (\).\r
+  A single backslash has a special meaning to PHP so these are not\r
+  valid.  Instead use double backslashes ("\\") or a single forward\r
+  slash ("/").<br /><br /></li>\r
+\r
+</ul>\r
+\r
+</div>\r
+</center>\r
+\r
+</body>\r
+</html>\r
diff --git a/inc/phpmailer/docs/phpmailer_sm.gif b/inc/phpmailer/docs/phpmailer_sm.gif
new file mode 100644 (file)
index 0000000..0244d29
Binary files /dev/null and b/inc/phpmailer/docs/phpmailer_sm.gif differ
index 3f384eb0dabe1b64bc91f6219e5a604e79cac2ce..3669f5d2321fb0687e368df4de781f7640d76dc0 100644 (file)
@@ -1,40 +1,45 @@
-<?php
-
-// example on using PHPMailer with GMAIL 
-
-include("class.phpmailer.php");
-include("class.smtp.php");
-
-$mail=new PHPMailer();
-
-$mail->IsSMTP();
-$mail->SMTPAuth   = true;                  // enable SMTP authentication
-$mail->SMTPSecure = "ssl";                 // sets the prefix to the servier
-$mail->Host       = "smtp.gmail.com";      // sets GMAIL as the SMTP server
-$mail->Port       = 465;                   // set the SMTP port 
-
-$mail->Username   = "yourname@gmail.com";  // GMAIL username
-$mail->Password   = "password";            // GMAIL password
-
-$mail->From       = "replyto@yourdomain.com";
-$mail->FromName   = "Webmaster";
-$mail->Subject    = "This is the subject";
-$mail->Body       = "Hi,<br>This is the HTML BODY<br>";                      //HTML Body
-$mail->AltBody    = "This is the body when user views in plain text format"; //Text Body
-
-$mail->WordWrap   = 50; // set word wrap
-
-$mail->AddAddress("username@domain.com","First Last");
-$mail->AddReplyTo("replyto@yourdomain.com","Webmaster");
-$mail->AddAttachment("/path/to/file.zip");             // attachment
-$mail->AddAttachment("/path/to/image.jpg", "new.jpg"); // attachment
-
-$mail->IsHTML(true); // send as HTML
-
-if(!$mail->Send()) {
-  echo "Mailer Error: " . $mail->ErrorInfo;
-} else {
-  echo "Message has been sent";
-}
-
-?>
+<?php\r
+\r
+// example on using PHPMailer with GMAIL\r
+\r
+include("class.phpmailer.php");\r
+include("class.smtp.php"); // note, this is optional - gets called from main class if not already loaded\r
+\r
+$mail             = new PHPMailer();\r
+\r
+$body             = $mail->getFile('contents.html');\r
+$body             = eregi_replace("[\]",'',$body);\r
+\r
+$mail->IsSMTP();\r
+$mail->SMTPAuth   = true;                  // enable SMTP authentication\r
+$mail->SMTPSecure = "ssl";                 // sets the prefix to the servier\r
+$mail->Host       = "smtp.gmail.com";      // sets GMAIL as the SMTP server\r
+$mail->Port       = 465;                   // set the SMTP port\r
+\r
+$mail->Username   = "yourname@gmail.com";  // GMAIL username\r
+$mail->Password   = "password";            // GMAIL password\r
+\r
+$mail->From       = "replyto@yourdomain.com";\r
+$mail->FromName   = "Webmaster";\r
+$mail->Subject    = "This is the subject";\r
+$mail->AltBody    = "This is the body when user views in plain text format"; //Text Body\r
+$mail->WordWrap   = 50; // set word wrap\r
+\r
+$mail->MsgHTML($body);\r
+\r
+$mail->AddReplyTo("replyto@yourdomain.com","Webmaster");\r
+\r
+$mail->AddAttachment("/path/to/file.zip");             // attachment\r
+$mail->AddAttachment("/path/to/image.jpg", "new.jpg"); // attachment\r
+\r
+$mail->AddAddress("username@domain.com","First Last");\r
+\r
+$mail->IsHTML(true); // send as HTML\r
+\r
+if(!$mail->Send()) {\r
+  echo "Mailer Error: " . $mail->ErrorInfo;\r
+} else {\r
+  echo "Message has been sent";\r
+}\r
+\r
+?>\r
index 1dbc47bec3675798127bcb2b587bc1ed0075b5d6..d0a8b9d952ee4d99a56c913b8ff1dc7e2084a918 100644 (file)
@@ -1,73 +1,73 @@
-<p>The example file &quot;test1.php&quot; contents include:</p>
-<div style="width: 600px; background-color: #CCCCCC;">
-<code>
-&lt;?php<br>
-<br>
-include_once('../class.phpmailer.php');<br>
-<br>
-$mail    = new PHPMailer();<br>
-<br>
-$body    = $mail->getFile('contents.html');<br>
-<br>
-$body    = eregi_replace("[\]",'',$body);<br>
-$subject = eregi_replace("[\]",'',$subject);<br>
-<br>
-$mail->From     = "name@yourdomain.com";<br>
-$mail->FromName = "First Last";<br>
-<br>
-$mail->Subject = "PHPMailer Test Subject";<br>
-<br>
-$mail->AltBody = "To view the message, please use an HTML compatible email viewer!"; // optional, comment out and test<br>
-<br>
-$mail->MsgHTML($body);<br>
-<br>
-$mail->AddAddress("whoto@otherdomain.com", "John Doe");<br>
-<br>
-if(!$mail->Send()) {<br>
-  echo 'Failed to send mail';<br>
-} else {<br>
-  echo 'Mail sent';<br>
-}<br>
-<br>
-?&gt;
-</code>
-</div>
-<br>
-Although you could use full compabitility with PHPMailer 1.7.3, this example
-shows how to use the new features. If you view 'contents.html', you will note
-that there is a background image used in the &lt;body tag as well as an image used
-with a regular &lt;img tag. Here&#39;s what the HTML file looks like:<br>
-<br>
-<div style="width: 600px; background-color: #CCCCCC;">
-<code>
-&lt;body background="images/bkgrnd.gif" style="margin: 0px;"&gt;<br>
-&lt;div style="width: 640px; font-family: Arial, Helvetica, sans-serif; font-size: 11px;"&gt;<br>
-&lt;div align="center"&gt;&lt;img src="images/phpmailer.gif" style="height: 90px; width: 340px"&gt;&lt;/div&gt;&lt;br&gt;<br>
-&lt;br&gt;<br>
-&nbsp;This is a test of PHPMailer v2.0.0 rc1.&lt;br&gt;<br>
-&lt;br&gt;<br>
-This particular example uses &lt;strong&gt;HTML&lt;/strong&gt;, with a &lt;div&gt; tag and inline&lt;br&gt;<br>
-styles.&lt;br&gt;<br>
-&lt;br&gt;<br>
-Also note the use of the PHPMailer at the top with no specific code to handle<br>
-including it in the body of the email.&lt;/div&gt;<br>
-&lt;/body&gt;<br>
-</code>
-</div>
-<br>
-A few things to notice in the PHP script that generates the email:
-<ul>
-  <li>the use of $mail-&gt;AltBody is completely optional. If not used, PHPMailer
-  will use the HTML text with htmlentities().</li>
-  <li>the background= and &lt;img src= images were processed without any directives
-  or methods from the PHP script</li>
-  <li>there is no specific code to define the image type ... that is handled
-  automatically by PHPMailer when it parses the images</li>
-  <li>we are using a new class method '$mail->MsgHTML($body)' ... that is what will handle the parsing of the images and creating the AltBody text</li>
-</ul>
-<p>Of course, you can still use PHPMailer the same way you have in the past.
-That provides full compatibility with all existing scripts, while new scripts
-can take advantage of the new features.</p>
-<p>Modify test1.php now with your own email address and try it out.</p>
-To see what the email SHOULD look like in your HTML compatible email viewer: <a href="contents.html">click here</a><br>
-
+<p>The example file &quot;test_mail.php&quot; contents include:</p>\r
+<div style="width: 600px; background-color: #CCCCCC;">\r
+<code>\r
+&lt;?php<br>\r
+<br>\r
+include_once('../class.phpmailer.php');<br>\r
+<br>\r
+$mail    = new PHPMailer();<br>\r
+<br>\r
+$body    = $mail->getFile('contents.html');<br>\r
+<br>\r
+$body    = eregi_replace("[\]",'',$body);<br>\r
+$subject = eregi_replace("[\]",'',$subject);<br>\r
+<br>\r
+$mail->From     = "name@yourdomain.com";<br>\r
+$mail->FromName = "First Last";<br>\r
+<br>\r
+$mail->Subject = "PHPMailer Test Subject";<br>\r
+<br>\r
+$mail->AltBody = "To view the message, please use an HTML compatible email viewer!"; // optional, comment out and test<br>\r
+<br>\r
+$mail->MsgHTML($body);<br>\r
+<br>\r
+$mail->AddAddress("whoto@otherdomain.com", "John Doe");<br>\r
+<br>\r
+if(!$mail->Send()) {<br>\r
+  echo 'Failed to send mail';<br>\r
+} else {<br>\r
+  echo 'Mail sent';<br>\r
+}<br>\r
+<br>\r
+?&gt;\r
+</code>\r
+</div>\r
+<br>\r
+Although you could use full compabitility with PHPMailer 1.7.3, this example\r
+shows how to use the new features. If you view 'contents.html', you will note\r
+that there is a background image used in the &lt;body tag as well as an image used\r
+with a regular &lt;img tag. Here&#39;s what the HTML file looks like:<br>\r
+<br>\r
+<div style="width: 600px; background-color: #CCCCCC;">\r
+<code>\r
+&lt;body background="images/bkgrnd.gif" style="margin: 0px;"&gt;<br>\r
+&lt;div style="width: 640px; font-family: Arial, Helvetica, sans-serif; font-size: 11px;"&gt;<br>\r
+&lt;div align="center"&gt;&lt;img src="images/phpmailer.gif" style="height: 90px; width: 340px"&gt;&lt;/div&gt;&lt;br&gt;<br>\r
+&lt;br&gt;<br>\r
+&nbsp;This is a test of PHPMailer v2.0.0 rc1.&lt;br&gt;<br>\r
+&lt;br&gt;<br>\r
+This particular example uses &lt;strong&gt;HTML&lt;/strong&gt;, with a &lt;div&gt; tag and inline&lt;br&gt;<br>\r
+styles.&lt;br&gt;<br>\r
+&lt;br&gt;<br>\r
+Also note the use of the PHPMailer at the top with no specific code to handle<br>\r
+including it in the body of the email.&lt;/div&gt;<br>\r
+&lt;/body&gt;<br>\r
+</code>\r
+</div>\r
+<br>\r
+A few things to notice in the PHP script that generates the email:\r
+<ul>\r
+  <li>the use of $mail-&gt;AltBody is completely optional. If not used, PHPMailer\r
+  will use the HTML text with htmlentities().</li>\r
+  <li>the background= and &lt;img src= images were processed without any directives\r
+  or methods from the PHP script</li>\r
+  <li>there is no specific code to define the image type ... that is handled\r
+  automatically by PHPMailer when it parses the images</li>\r
+  <li>we are using a new class method '$mail->MsgHTML($body)' ... that is what will handle the parsing of the images and creating the AltBody text</li>\r
+</ul>\r
+<p>Of course, you can still use PHPMailer the same way you have in the past.\r
+That provides full compatibility with all existing scripts, while new scripts\r
+can take advantage of the new features.</p>\r
+<p>Modify test_mail.php now with your own email address and try it out.</p>\r
+To see what the email SHOULD look like in your HTML compatible email viewer: <a href="contents.html">click here</a><br>\r
+\r
diff --git a/inc/phpmailer/examples/test_gmail.php b/inc/phpmailer/examples/test_gmail.php
new file mode 100644 (file)
index 0000000..9b951f8
--- /dev/null
@@ -0,0 +1,45 @@
+<?php\r
+\r
+include("class.phpmailer.php");\r
+//include("class.smtp.php"); // optional, gets called from within class.phpmailer.php if not already loaded\r
+\r
+$mail             = new PHPMailer();\r
+\r
+$body             = $mail->getFile('contents.html');\r
+$body             = eregi_replace("[\]",'',$body);\r
+\r
+$mail->IsSMTP();\r
+$mail->SMTPAuth   = true;                  // enable SMTP authentication\r
+$mail->SMTPSecure = "ssl";                 // sets the prefix to the servier\r
+$mail->Host       = "smtp.gmail.com";      // sets GMAIL as the SMTP server\r
+$mail->Port       = 465;                   // set the SMTP port for the GMAIL server\r
+\r
+$mail->Username   = "yourusername@gmail.com";  // GMAIL username\r
+$mail->Password   = "yourpassword";            // GMAIL password\r
+\r
+$mail->AddReplyTo("yourusername@gmail.com","First Last");\r
+\r
+$mail->From       = "name@yourdomain.com";\r
+$mail->FromName   = "First Last";\r
+\r
+$mail->Subject    = "PHPMailer Test Subject via gmail";\r
+\r
+//$mail->Body       = "Hi,<br>This is the HTML BODY<br>";                      //HTML Body\r
+$mail->AltBody    = "To view the message, please use an HTML compatible email viewer!"; // optional, comment out and test\r
+$mail->WordWrap   = 50; // set word wrap\r
+\r
+$mail->MsgHTML($body);\r
+\r
+$mail->AddAddress("whoto@otherdomain.com", "John Doe");\r
+\r
+$mail->AddAttachment("images/phpmailer.gif");             // attachment\r
+\r
+$mail->IsHTML(true); // send as HTML\r
+\r
+if(!$mail->Send()) {\r
+  echo "Mailer Error: " . $mail->ErrorInfo;\r
+} else {\r
+  echo "Message sent!";\r
+}\r
+\r
+?>\r
diff --git a/inc/phpmailer/examples/test_mail.php b/inc/phpmailer/examples/test_mail.php
new file mode 100644 (file)
index 0000000..e87056e
--- /dev/null
@@ -0,0 +1,29 @@
+<?php\r
+\r
+include_once('../class.phpmailer.php');\r
+\r
+$mail             = new PHPMailer(); // defaults to using php "mail()"\r
+\r
+$body             = $mail->getFile('contents.html');\r
+$body             = eregi_replace("[\]",'',$body);\r
+\r
+$mail->From       = "name@yourdomain.com";\r
+$mail->FromName   = "First Last";\r
+\r
+$mail->Subject    = "PHPMailer Test Subject via mail()";\r
+\r
+$mail->AltBody    = "To view the message, please use an HTML compatible email viewer!"; // optional, comment out and test\r
+\r
+$mail->MsgHTML($body);\r
+\r
+$mail->AddAddress("whoto@otherdomain.com", "John Doe");\r
+\r
+$mail->AddAttachment("images/phpmailer.gif");             // attachment\r
+\r
+if(!$mail->Send()) {\r
+  echo "Mailer Error: " . $mail->ErrorInfo;\r
+} else {\r
+  echo "Message sent!";\r
+}\r
+\r
+?>\r
diff --git a/inc/phpmailer/examples/test_sendmail.php b/inc/phpmailer/examples/test_sendmail.php
new file mode 100644 (file)
index 0000000..f031166
--- /dev/null
@@ -0,0 +1,30 @@
+<?php\r
+\r
+include_once('class.phpmailer.php');\r
+\r
+$mail             = new PHPMailer();\r
+$body             = $mail->getFile('contents.html');\r
+$body             = eregi_replace("[\]",'',$body);\r
+\r
+$mail->IsSendmail(); // telling the class to use SendMail transport\r
+\r
+$mail->From       = "name@yourdomain.com";\r
+$mail->FromName   = "First Last";\r
+\r
+$mail->Subject    = "PHPMailer Test Subject via smtp";\r
+\r
+$mail->AltBody    = "To view the message, please use an HTML compatible email viewer!"; // optional, comment out and test\r
+\r
+$mail->MsgHTML($body);\r
+\r
+$mail->AddAddress("whoto@otherdomain.com", "John Doe");\r
+\r
+$mail->AddAttachment("images/phpmailer.gif");             // attachment\r
+\r
+if(!$mail->Send()) {\r
+  echo "Mailer Error: " . $mail->ErrorInfo;\r
+} else {\r
+  echo "Message sent!";\r
+}\r
+\r
+?>\r
diff --git a/inc/phpmailer/examples/test_smtp.php b/inc/phpmailer/examples/test_smtp.php
new file mode 100644 (file)
index 0000000..189f8da
--- /dev/null
@@ -0,0 +1,33 @@
+<?php\r
+\r
+include_once('class.phpmailer.php');\r
+//include("class.smtp.php"); // optional, gets called from within class.phpmailer.php if not already loaded\r
+\r
+$mail             = new PHPMailer();\r
+\r
+$body             = $mail->getFile('contents.html');\r
+$body             = eregi_replace("[\]",'',$body);\r
+\r
+$mail->IsSMTP(); // telling the class to use SMTP\r
+$mail->Host       = "mail.yourdomain.com"; // SMTP server\r
+\r
+$mail->From       = "name@yourdomain.com";\r
+$mail->FromName   = "First Last";\r
+\r
+$mail->Subject    = "PHPMailer Test Subject via smtp";\r
+\r
+$mail->AltBody    = "To view the message, please use an HTML compatible email viewer!"; // optional, comment out and test\r
+\r
+$mail->MsgHTML($body);\r
+\r
+$mail->AddAddress("whoto@otherdomain.com", "John Doe");\r
+\r
+$mail->AddAttachment("images/phpmailer.gif");             // attachment\r
+\r
+if(!$mail->Send()) {\r
+  echo "Mailer Error: " . $mail->ErrorInfo;\r
+} else {\r
+  echo "Message sent!";\r
+}\r
+\r
+?>\r
index 7e79e1866e983497198b026fcb61046f4467ee5b..601d3b81011621e57c7e8006d54c9a10935b1a27 100644 (file)
@@ -1,21 +1,24 @@
 <?php
 /**
 <?php
 /**
- * PHPMailer language file.  
+ * PHPMailer language file.
  * Portuguese Version
  * By Paulo Henrique Garcia - paulo@controllerweb.com.br
  */
 
 $PHPMAILER_LANG = array();
  * Portuguese Version
  * By Paulo Henrique Garcia - paulo@controllerweb.com.br
  */
 
 $PHPMAILER_LANG = array();
-$PHPMAILER_LANG["provide_address"] = 'Voc� deve fornecer pelo menos um endere�o de destinat�rio de email.';
-$PHPMAILER_LANG["mailer_not_supported"] = ' mailer n�o suportado.';
-$PHPMAILER_LANG["execute"] = 'N�o foi poss�vel executar: ';
-$PHPMAILER_LANG["instantiate"] = 'N�o foi poss�vel instanciar a fun��o mail.';
-$PHPMAILER_LANG["authenticate"] = 'Erro de SMTP: N�o foi poss�vel autenticar.';
-$PHPMAILER_LANG["from_failed"] = 'Os endere�os de rementente a seguir falharam: ';
-$PHPMAILER_LANG["recipients_failed"] = 'Erro de SMTP: Os endere�os de destinat�rio a seguir falharam: ';
-$PHPMAILER_LANG["data_not_accepted"] = 'Erro de SMTP: Dados n�o aceitos.';
-$PHPMAILER_LANG["connect_host"] = 'Erro de SMTP: N�o foi poss�vel conectar com o servidor SMTP.';
-$PHPMAILER_LANG["file_access"] = 'N�o foi poss�vel acessar o arquivo: ';
-$PHPMAILER_LANG["file_open"] = 'Erro de Arquivo: N�o foi poss�vel abrir o arquivo: ';
-$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["mailer_not_supported"] = ' mailer não suportado.';
+$PHPMAILER_LANG["execute"]              = 'Não foi possível executar: ';
+$PHPMAILER_LANG["instantiate"]          = 'Não foi possível instanciar a função mail.';
+$PHPMAILER_LANG["authenticate"]         = 'Erro de SMTP: Não foi possível autenticar.';
+$PHPMAILER_LANG["from_failed"]          = 'Os endereços de rementente a seguir falharam: ';
+$PHPMAILER_LANG["recipients_failed"]    = 'Erro de SMTP: Os endereços de destinatário a seguir falharam: ';
+$PHPMAILER_LANG["data_not_accepted"]    = 'Erro de SMTP: Dados não aceitos.';
+$PHPMAILER_LANG["connect_host"]         = 'Erro de SMTP: Não foi possível conectar com o servidor SMTP.';
+$PHPMAILER_LANG["file_access"]          = 'Não foi possível acessar o arquivo: ';
+$PHPMAILER_LANG["file_open"]            = 'Erro de Arquivo: Não foi possível abrir o arquivo: ';
+$PHPMAILER_LANG["encoding"]             = 'Codificação desconhecida: ';
+$PHPMAILER_LANG["signing"]              = 'Signing Error: ';
+
 ?>
 ?>
+
index 41516d5cf40e89c41fb389fe6aa5fb2a96950c76..dbb22985ac4f6775efcd35fe5344f20e0b57fe84 100644 (file)
@@ -1,22 +1,24 @@
 <?php
 /**
 <?php
 /**
- * PHPMailer language file.  
+ * PHPMailer language file.
  * Catalan Version
  * By Ivan: web AT microstudi DOT com
  */
 
  * Catalan Version
  * By Ivan: web AT microstudi DOT com
  */
 
-$PHPMAILER_LANG = array(); 
+$PHPMAILER_LANG = array();
 
 
-$PHPMAILER_LANG["provide_address"] = 'S\'ha de proveir almenys una adre�a d\'email com a destinatari.';
-$PHPMAILER_LANG["mailer_not_supported"] = ' mailer no est� suportat';
-$PHPMAILER_LANG["execute"] = 'No es pot executar: ';
-$PHPMAILER_LANG["instantiate"] = 'No s\'ha pogut crear una inst�ncia de la funci� Mail.';
-$PHPMAILER_LANG["authenticate"] = 'Error SMTP: No s\'hapogut autenticar.';
-$PHPMAILER_LANG["from_failed"] = 'La(s) seg�ent(s) adreces de remitent han fallat: ';
-$PHPMAILER_LANG["recipients_failed"] = 'Error SMTP: Els seg�ents destinataris han fallat: ';
-$PHPMAILER_LANG["data_not_accepted"] = 'Error SMTP: Dades no acceptades.';
-$PHPMAILER_LANG["connect_host"] = 'Error SMTP: No es pot connectar al servidor SMTP.';
-$PHPMAILER_LANG["file_access"] = 'No es pot accedir a l\'arxiu: ';
-$PHPMAILER_LANG["file_open"] = 'Error d\'Arxiu: No es pot obrir l\'arxiu: ';
-$PHPMAILER_LANG["encoding"] = 'Codificaci� desconeguda: ';
-?>
\ No newline at end of file
+$PHPMAILER_LANG["provide_address"]      = 'S\'ha de proveir almenys una adreça d\'email com a destinatari.';
+$PHPMAILER_LANG["mailer_not_supported"] = ' mailer no està suportat';
+$PHPMAILER_LANG["execute"]              = 'No es pot executar: ';
+$PHPMAILER_LANG["instantiate"]          = 'No s\'ha pogut crear una instància de la funció Mail.';
+$PHPMAILER_LANG["authenticate"]         = 'Error SMTP: No s\'hapogut autenticar.';
+$PHPMAILER_LANG["from_failed"]          = 'La(s) següent(s) adreces de remitent han fallat: ';
+$PHPMAILER_LANG["recipients_failed"]    = 'Error SMTP: Els següents destinataris han fallat: ';
+$PHPMAILER_LANG["data_not_accepted"]    = 'Error SMTP: Dades no acceptades.';
+$PHPMAILER_LANG["connect_host"]         = 'Error SMTP: No es pot connectar al servidor SMTP.';
+$PHPMAILER_LANG["file_access"]          = 'No es pot accedir a l\'arxiu: ';
+$PHPMAILER_LANG["file_open"]            = 'Error d\'Arxiu: No es pot obrir l\'arxiu: ';
+$PHPMAILER_LANG["encoding"]             = 'Codificació desconeguda: ';
+$PHPMAILER_LANG["signing"]              = 'Signing Error: ';
+
+?>
index 850026406ac41e875982c7e1b0e1db187c78b4cb..ae82d2d0401dc1f9fc78a997fc830779e43d4191 100644 (file)
@@ -1,24 +1,26 @@
 <?php
 /**
 <?php
 /**
- * PHPMailer language file.  
+ * PHPMailer language file.
  * Czech Version
  */
 
 $PHPMAILER_LANG = array();
 
  * Czech Version
  */
 
 $PHPMAILER_LANG = array();
 
-$PHPMAILER_LANG["provide_address"] = 'Mus�te zadat alespo� jednu ' .
-                                     'emailovou adresu p��jemce.';
-$PHPMAILER_LANG["mailer_not_supported"] = ' mailov� klient nen� podporov�n.';
-$PHPMAILER_LANG["execute"] = 'Nelze prov�st: ';
-$PHPMAILER_LANG["instantiate"] = 'Nelze vytvo�it instanci emailov� funkce.';
-$PHPMAILER_LANG["authenticate"] = 'SMTP Error: Chyba autentikace.';
-$PHPMAILER_LANG["from_failed"] = 'N�sleduj�c� adresa From je nespr�vn�: ';
-$PHPMAILER_LANG["recipients_failed"] = 'SMTP Error: Adresy p��jemc� ' .
-                                       'nejsou spr�vn� ' .
-$PHPMAILER_LANG["data_not_accepted"] = 'SMTP Error: Data nebyla p�ijata';
-$PHPMAILER_LANG["connect_host"] = 'SMTP Error: Nelze nav�zat spojen� se ' .
-                                  ' SMTP serverem.';
-$PHPMAILER_LANG["file_access"] = 'Soubor nenalezen: ';
-$PHPMAILER_LANG["file_open"] = 'File Error: Nelze otev��t soubor pro �ten�: ';
-$PHPMAILER_LANG["encoding"] = 'Nezn�m� k�dov�n�: ';
-?>
\ No newline at end of file
+$PHPMAILER_LANG["provide_address"]      = 'Musíte zadat alespoò jednu ' .
+                                          'emailovou adresu pøíjemce.';
+$PHPMAILER_LANG["mailer_not_supported"] = ' mailový klient není podporován.';
+$PHPMAILER_LANG["execute"]              = 'Nelze provést: ';
+$PHPMAILER_LANG["instantiate"]          = 'Nelze vytvoøit instanci emailové funkce.';
+$PHPMAILER_LANG["authenticate"]         = 'SMTP Error: Chyba autentikace.';
+$PHPMAILER_LANG["from_failed"]          = 'Následující adresa From je nesprávná: ';
+$PHPMAILER_LANG["recipients_failed"]    = 'SMTP Error: Adresy pøíjemcù ' .
+                                          'nejsou správné ' .
+$PHPMAILER_LANG["data_not_accepted"]    = 'SMTP Error: Data nebyla pøijata';
+$PHPMAILER_LANG["connect_host"]         = 'SMTP Error: Nelze navázat spojení se ' .
+                                          ' SMTP serverem.';
+$PHPMAILER_LANG["file_access"]          = 'Soubor nenalezen: ';
+$PHPMAILER_LANG["file_open"]            = 'File Error: Nelze otevøít soubor pro ètení: ';
+$PHPMAILER_LANG["encoding"]             = 'Neznámé kódování: ';
+$PHPMAILER_LANG["signing"]              = 'Signing Error: ';
+
+?>
index d21836ad00aca703e644ceeb455523b3445d84ca..53c20e13c197422a6cb8c30aa6f41f9e7618e563 100644 (file)
@@ -1,23 +1,26 @@
 <?php
 /**
 <?php
 /**
- * PHPMailer language file.  
+ * PHPMailer language file.
  * German Version
  */
 
 $PHPMAILER_LANG = array();
 
  * German Version
  */
 
 $PHPMAILER_LANG = array();
 
-$PHPMAILER_LANG["provide_address"] = 'Bitte geben Sie mindestens eine ' .
-                                     'Empf&auml;nger Emailadresse an.';
+$PHPMAILER_LANG["provide_address"]      = 'Bitte geben Sie mindestens eine ' .
+                                          'Empf&auml;nger Emailadresse an.';
 $PHPMAILER_LANG["mailer_not_supported"] = ' mailer wird nicht unterst&uuml;tzt.';
 $PHPMAILER_LANG["mailer_not_supported"] = ' mailer wird nicht unterst&uuml;tzt.';
-$PHPMAILER_LANG["execute"] = 'Konnte folgenden Befehl nicht ausf&uuml;hren: ';
-$PHPMAILER_LANG["instantiate"] = 'Mail Funktion konnte nicht initialisiert werden.';
-$PHPMAILER_LANG["authenticate"] = 'SMTP Fehler: Authentifizierung fehlgeschlagen.';
-$PHPMAILER_LANG["from_failed"] = 'Die folgende Absenderadresse ist nicht korrekt: ';
-$PHPMAILER_LANG["recipients_failed"] = 'SMTP Fehler: Die folgenden ' .
-                                       'Empf&auml;nger sind nicht korrekt: ';
-$PHPMAILER_LANG["data_not_accepted"] = 'SMTP Fehler: Daten werden nicht akzeptiert.';
-$PHPMAILER_LANG["connect_host"] = 'SMTP Fehler: Konnte keine Verbindung zum SMTP-Host herstellen.';
-$PHPMAILER_LANG["file_access"] = 'Zugriff auf folgende Datei fehlgeschlagen: ';
-$PHPMAILER_LANG["file_open"] = 'Datei Fehler: konnte folgende Datei nicht &ouml;ffnen: ';
-$PHPMAILER_LANG["encoding"] = 'Unbekanntes Encoding-Format: ';
+$PHPMAILER_LANG["execute"]              = 'Konnte folgenden Befehl nicht ausf&uuml;hren: ';
+$PHPMAILER_LANG["instantiate"]          = 'Mail Funktion konnte nicht initialisiert werden.';
+$PHPMAILER_LANG["authenticate"]         = 'SMTP Fehler: Authentifizierung fehlgeschlagen.';
+$PHPMAILER_LANG["from_failed"]          = 'Die folgende Absenderadresse ist nicht korrekt: ';
+$PHPMAILER_LANG["recipients_failed"]    = 'SMTP Fehler: Die folgenden ' .
+                                          'Empf&auml;nger sind nicht korrekt: ';
+$PHPMAILER_LANG["data_not_accepted"]    = 'SMTP Fehler: Daten werden nicht akzeptiert.';
+$PHPMAILER_LANG["connect_host"]         = 'SMTP Fehler: Konnte keine Verbindung zum SMTP-Host herstellen.';
+$PHPMAILER_LANG["file_access"]          = 'Zugriff auf folgende Datei fehlgeschlagen: ';
+$PHPMAILER_LANG["file_open"]            = 'Datei Fehler: konnte folgende Datei nicht &ouml;ffnen: ';
+$PHPMAILER_LANG["encoding"]             = 'Unbekanntes Encoding-Format: ';
+$PHPMAILER_LANG["signing"]              = 'Signing Error: ';
+
 ?>
 ?>
+
index e7cf2ac52446ac0632ccb3162fc2aa30c1f64141..fe60f314b1eb0fa86ef76f50e24458001d026a3b 100644 (file)
@@ -1,24 +1,26 @@
 <?php
 /**
 <?php
 /**
- * PHPMailer language file.  
+ * PHPMailer language file.
  * Danish Version
  * Author: Mikael Stokkebro <info@stokkebro.dk>
  */
 
 $PHPMAILER_LANG = array();
 
  * Danish Version
  * Author: Mikael Stokkebro <info@stokkebro.dk>
  */
 
 $PHPMAILER_LANG = array();
 
-$PHPMAILER_LANG["provide_address"] = 'Du skal indtaste mindst en ' .
-                                     'modtagers emailadresse.';
-$PHPMAILER_LANG["mailer_not_supported"] = ' mailer underst�ttes ikke.';
-$PHPMAILER_LANG["execute"] = 'Kunne ikke k�re: ';
-$PHPMAILER_LANG["instantiate"] = 'Kunne ikke initialisere email funktionen.';
-$PHPMAILER_LANG["authenticate"] = 'SMTP fejl: Kunne ikke logge p�.';
-$PHPMAILER_LANG["from_failed"] = 'F�lgende afsenderadresse er forkert: ';
-$PHPMAILER_LANG["recipients_failed"] = 'SMTP fejl: F�lgende' .
-                                       'modtagere er forkerte: ';
-$PHPMAILER_LANG["data_not_accepted"] = 'SMTP fejl: Data kunne ikke accepteres.';
-$PHPMAILER_LANG["connect_host"] = 'SMTP fejl: Kunne ikke tilslutte SMTP serveren.';
-$PHPMAILER_LANG["file_access"] = 'Ingen adgang til fil: ';
-$PHPMAILER_LANG["file_open"] = 'Fil fejl: Kunne ikke �bne filen: ';
-$PHPMAILER_LANG["encoding"] = 'Ukendt encode-format: ';
-?>
\ No newline at end of file
+$PHPMAILER_LANG["provide_address"]      = 'Du skal indtaste mindst en ' .
+                                          'modtagers emailadresse.';
+$PHPMAILER_LANG["mailer_not_supported"] = ' mailer understøttes ikke.';
+$PHPMAILER_LANG["execute"]              = 'Kunne ikke køre: ';
+$PHPMAILER_LANG["instantiate"]          = 'Kunne ikke initialisere email funktionen.';
+$PHPMAILER_LANG["authenticate"]         = 'SMTP fejl: Kunne ikke logge på.';
+$PHPMAILER_LANG["from_failed"]          = 'Følgende afsenderadresse er forkert: ';
+$PHPMAILER_LANG["recipients_failed"]    = 'SMTP fejl: Følgende' .
+                                          'modtagere er forkerte: ';
+$PHPMAILER_LANG["data_not_accepted"]    = 'SMTP fejl: Data kunne ikke accepteres.';
+$PHPMAILER_LANG["connect_host"]         = 'SMTP fejl: Kunne ikke tilslutte SMTP serveren.';
+$PHPMAILER_LANG["file_access"]          = 'Ingen adgang til fil: ';
+$PHPMAILER_LANG["file_open"]            = 'Fil fejl: Kunne ikke åbne filen: ';
+$PHPMAILER_LANG["encoding"]             = 'Ukendt encode-format: ';
+$PHPMAILER_LANG["signing"]              = 'Signing Error: ';
+
+?>
index 2f45383feca98ae91864c65fb945cfa24667aa47..f7d4286d07547df7aa2b980be58ead0d68656573 100644 (file)
@@ -1,23 +1,25 @@
 <?php
 /**
 <?php
 /**
- * PHPMailer language file.  
+ * PHPMailer language file.
  * English Version
  */
 
 $PHPMAILER_LANG = array();
 
  * English Version
  */
 
 $PHPMAILER_LANG = array();
 
-$PHPMAILER_LANG["provide_address"] = 'You must provide at least one ' .
-                                     'recipient email address.';
+$PHPMAILER_LANG["provide_address"]      = 'You must provide at least one ' .
+                                          'recipient email address.';
 $PHPMAILER_LANG["mailer_not_supported"] = ' mailer is not supported.';
 $PHPMAILER_LANG["mailer_not_supported"] = ' mailer is not supported.';
-$PHPMAILER_LANG["execute"] = 'Could not execute: ';
-$PHPMAILER_LANG["instantiate"] = 'Could not instantiate mail function.';
-$PHPMAILER_LANG["authenticate"] = 'SMTP Error: Could not authenticate.';
-$PHPMAILER_LANG["from_failed"] = 'The following From address failed: ';
-$PHPMAILER_LANG["recipients_failed"] = 'SMTP Error: The following ' .
-                                       'recipients failed: ';
-$PHPMAILER_LANG["data_not_accepted"] = 'SMTP Error: Data not accepted.';
-$PHPMAILER_LANG["connect_host"] = 'SMTP Error: Could not connect to SMTP host.';
-$PHPMAILER_LANG["file_access"] = 'Could not access file: ';
-$PHPMAILER_LANG["file_open"] = 'File Error: Could not open file: ';
-$PHPMAILER_LANG["encoding"] = 'Unknown encoding: ';
+$PHPMAILER_LANG["execute"]              = 'Could not execute: ';
+$PHPMAILER_LANG["instantiate"]          = 'Could not instantiate mail function.';
+$PHPMAILER_LANG["authenticate"]         = 'SMTP Error: Could not authenticate.';
+$PHPMAILER_LANG["from_failed"]          = 'The following From address failed: ';
+$PHPMAILER_LANG["recipients_failed"]    = 'SMTP Error: The following ' .
+                                          'recipients failed: ';
+$PHPMAILER_LANG["data_not_accepted"]    = 'SMTP Error: Data not accepted.';
+$PHPMAILER_LANG["connect_host"]         = 'SMTP Error: Could not connect to SMTP host.';
+$PHPMAILER_LANG["file_access"]          = 'Could not access file: ';
+$PHPMAILER_LANG["file_open"]            = 'File Error: Could not open file: ';
+$PHPMAILER_LANG["encoding"]             = 'Unknown encoding: ';
+$PHPMAILER_LANG["signing"]              = 'Signing Error: ';
+
 ?>
 ?>
index 77cf15f79c2da68ae8bb4127c0fb06fa29f848f5..bebf632f02126dd474a4fa06600d5ca41b027a09 100644 (file)
@@ -1,23 +1,25 @@
 <?php
 /**
 <?php
 /**
- * PHPMailer language file.  
- * Versi�n en espa�ol
+ * PHPMailer language file.
+ * Versión en español
  */
 
 $PHPMAILER_LANG = array();
 
  */
 
 $PHPMAILER_LANG = array();
 
-$PHPMAILER_LANG["provide_address"] = 'Debe proveer al menos una ' .
-                                     'direcci�n de email como destinatario.';
-$PHPMAILER_LANG["mailer_not_supported"] = ' mailer no est� soportado.';
-$PHPMAILER_LANG["execute"] = 'No puedo ejecutar: ';
-$PHPMAILER_LANG["instantiate"] = 'No pude crear una instancia de la funci�n Mail.';
-$PHPMAILER_LANG["authenticate"] = 'Error SMTP: No se pudo autentificar.';
-$PHPMAILER_LANG["from_failed"] = 'La(s) siguiente(s) direcciones de remitente fallaron: ';
-$PHPMAILER_LANG["recipients_failed"] = 'Error SMTP: Los siguientes ' .
-                                       'destinatarios fallaron: ';
-$PHPMAILER_LANG["data_not_accepted"] = 'Error SMTP: Datos no aceptados.';
-$PHPMAILER_LANG["connect_host"] = 'Error SMTP: No puedo conectar al servidor SMTP.';
-$PHPMAILER_LANG["file_access"] = 'No puedo acceder al archivo: ';
-$PHPMAILER_LANG["file_open"] = 'Error de Archivo: No puede abrir el archivo: ';
-$PHPMAILER_LANG["encoding"] = 'Codificaci�n desconocida: ';
-?>
\ No newline at end of file
+$PHPMAILER_LANG["provide_address"]      = 'Debe proveer al menos una ' .
+                                          'dirección de email como destinatario.';
+$PHPMAILER_LANG["mailer_not_supported"] = ' mailer no está soportado.';
+$PHPMAILER_LANG["execute"]              = 'No puedo ejecutar: ';
+$PHPMAILER_LANG["instantiate"]          = 'No pude crear una instancia de la función Mail.';
+$PHPMAILER_LANG["authenticate"]         = 'Error SMTP: No se pudo autentificar.';
+$PHPMAILER_LANG["from_failed"]          = 'La(s) siguiente(s) direcciones de remitente fallaron: ';
+$PHPMAILER_LANG["recipients_failed"]    = 'Error SMTP: Los siguientes ' .
+                                          'destinatarios fallaron: ';
+$PHPMAILER_LANG["data_not_accepted"]    = 'Error SMTP: Datos no aceptados.';
+$PHPMAILER_LANG["connect_host"]         = 'Error SMTP: No puedo conectar al servidor SMTP.';
+$PHPMAILER_LANG["file_access"]          = 'No puedo acceder al archivo: ';
+$PHPMAILER_LANG["file_open"]            = 'Error de Archivo: No puede abrir el archivo: ';
+$PHPMAILER_LANG["encoding"]             = 'Codificación desconocida: ';
+$PHPMAILER_LANG["signing"]              = 'Error al firmar: ';
+
+?>
index eb56de72174d1500a748d04be5a5091467eae2fc..3fd55953bedf6778aa0b85c4caaa045f07e477fa 100644 (file)
@@ -1,22 +1,24 @@
 <?php
 /**
 <?php
 /**
- * PHPMailer language file.  
+ * PHPMailer language file.
  * Estonian Version
  * By Indrek P&auml;ri
  */
 
 $PHPMAILER_LANG = array();
 
  * Estonian Version
  * By Indrek P&auml;ri
  */
 
 $PHPMAILER_LANG = array();
 
-$PHPMAILER_LANG["provide_address"] = 'Te peate m&auml;&auml;rama v&auml;hemalt &uuml;he saaja e-posti aadressi.';
+$PHPMAILER_LANG["provide_address"]      = 'Te peate m&auml;&auml;rama v&auml;hemalt &uuml;he saaja e-posti aadressi.';
 $PHPMAILER_LANG["mailer_not_supported"] = ' maileri tugi puudub.';
 $PHPMAILER_LANG["mailer_not_supported"] = ' maileri tugi puudub.';
-$PHPMAILER_LANG["execute"] = 'Tegevus eba&otilde;nnestus: ';
-$PHPMAILER_LANG["instantiate"] = 'mail funktiooni k&auml;ivitamine eba&otilde;nnestus.';
-$PHPMAILER_LANG["authenticate"] = 'SMTP Viga: Autoriseerimise viga.';
-$PHPMAILER_LANG["from_failed"] = 'J&auml;rgnev saatja e-posti aadress on vigane: ';
-$PHPMAILER_LANG["recipients_failed"] = 'SMTP Viga: J&auml;rgnevate saajate e-posti aadressid on vigased: ';
-$PHPMAILER_LANG["data_not_accepted"] = 'SMTP Viga: Vigased andmed.';
-$PHPMAILER_LANG["connect_host"] = 'SMTP Viga: Ei &otilde;nnestunud luua &uuml;hendust SMTP serveriga.';
-$PHPMAILER_LANG["file_access"] = 'Pole piisavalt &otilde;iguseid j&auml;rgneva faili avamiseks: ';
-$PHPMAILER_LANG["file_open"] = 'Faili Viga: Faili avamine eba&otilde;nnestus: ';
-$PHPMAILER_LANG["encoding"] = 'Tundmatu Unknown kodeering: ';
+$PHPMAILER_LANG["execute"]              = 'Tegevus eba&otilde;nnestus: ';
+$PHPMAILER_LANG["instantiate"]          = 'mail funktiooni k&auml;ivitamine eba&otilde;nnestus.';
+$PHPMAILER_LANG["authenticate"]         = 'SMTP Viga: Autoriseerimise viga.';
+$PHPMAILER_LANG["from_failed"]          = 'J&auml;rgnev saatja e-posti aadress on vigane: ';
+$PHPMAILER_LANG["recipients_failed"]    = 'SMTP Viga: J&auml;rgnevate saajate e-posti aadressid on vigased: ';
+$PHPMAILER_LANG["data_not_accepted"]    = 'SMTP Viga: Vigased andmed.';
+$PHPMAILER_LANG["connect_host"]         = 'SMTP Viga: Ei &otilde;nnestunud luua &uuml;hendust SMTP serveriga.';
+$PHPMAILER_LANG["file_access"]          = 'Pole piisavalt &otilde;iguseid j&auml;rgneva faili avamiseks: ';
+$PHPMAILER_LANG["file_open"]            = 'Faili Viga: Faili avamine eba&otilde;nnestus: ';
+$PHPMAILER_LANG["encoding"]             = 'Tundmatu Unknown kodeering: ';
+$PHPMAILER_LANG["signing"]              = 'Signing Error: ';
+
 ?>
 ?>
index d881080d4864533accef7139a5ee2d648ef9a817..e2bb497a2f2309d11ab95ca635d9f4ebb0b93d94 100644 (file)
@@ -1,23 +1,25 @@
 <?php
 /**
 <?php
 /**
- * PHPMailer language file.  
+ * PHPMailer language file.
  * Finnish Version
  * By Jyry Kuukanen
  */
 
  * Finnish Version
  * By Jyry Kuukanen
  */
 
-$PHPMAILER_LANG = array(); 
+$PHPMAILER_LANG = array();
 
 
-$PHPMAILER_LANG["provide_address"] = 'Aseta v&auml;hint&auml;&auml;n yksi vastaanottajan ' . 
-                                     's&auml;hk&ouml;postiosoite.'; 
-$PHPMAILER_LANG["mailer_not_supported"] = 'postiv&auml;litintyyppi&auml; ei tueta.'; 
-$PHPMAILER_LANG["execute"] = 'Suoritus ep&auml;onnistui: '; 
-$PHPMAILER_LANG["instantiate"] = 'mail-funktion luonti ep&auml;onnistui.'; 
-$PHPMAILER_LANG["authenticate"] = 'SMTP-virhe: k&auml;ytt&auml;j&auml;tunnistus ep&auml;onnistui.'; 
-$PHPMAILER_LANG["from_failed"] = 'Seuraava l&auml;hett&auml;j&auml;n osoite on virheellinen: '; 
-$PHPMAILER_LANG["recipients_failed"] = 'SMTP-virhe: seuraava vastaanottaja osoite on virheellinen.'; 
-$PHPMAILER_LANG["data_not_accepted"] = 'SMTP-virhe: data on virheellinen.'; 
-$PHPMAILER_LANG["connect_host"] = 'SMTP-virhe: yhteys palvelimeen ei onnistu.'; 
-$PHPMAILER_LANG["file_access"] = 'Seuraavaan tiedostoon ei ole oikeuksia: '; 
-$PHPMAILER_LANG["file_open"] = 'Tiedostovirhe: Ei voida avata tiedostoa: '; 
-$PHPMAILER_LANG["encoding"] = 'Tuntematon koodaustyyppi: '; 
-?>
\ No newline at end of file
+$PHPMAILER_LANG["provide_address"]      = 'Aseta v&auml;hint&auml;&auml;n yksi vastaanottajan ' .
+                                          's&auml;hk&ouml;postiosoite.';
+$PHPMAILER_LANG["mailer_not_supported"] = 'postiv&auml;litintyyppi&auml; ei tueta.';
+$PHPMAILER_LANG["execute"]              = 'Suoritus ep&auml;onnistui: ';
+$PHPMAILER_LANG["instantiate"]          = 'mail-funktion luonti ep&auml;onnistui.';
+$PHPMAILER_LANG["authenticate"]         = 'SMTP-virhe: k&auml;ytt&auml;j&auml;tunnistus ep&auml;onnistui.';
+$PHPMAILER_LANG["from_failed"]          = 'Seuraava l&auml;hett&auml;j&auml;n osoite on virheellinen: ';
+$PHPMAILER_LANG["recipients_failed"]    = 'SMTP-virhe: seuraava vastaanottaja osoite on virheellinen.';
+$PHPMAILER_LANG["data_not_accepted"]    = 'SMTP-virhe: data on virheellinen.';
+$PHPMAILER_LANG["connect_host"]         = 'SMTP-virhe: yhteys palvelimeen ei onnistu.';
+$PHPMAILER_LANG["file_access"]          = 'Seuraavaan tiedostoon ei ole oikeuksia: ';
+$PHPMAILER_LANG["file_open"]            = 'Tiedostovirhe: Ei voida avata tiedostoa: ';
+$PHPMAILER_LANG["encoding"]             = 'Tuntematon koodaustyyppi: ';
+$PHPMAILER_LANG["signing"]              = 'Signing Error: ';
+
+?>
index e015ced3731e32e1613f77c1c811dbd89ba2cf2b..13b136fc76b2cb858102a38242d87139f8463d0f 100644 (file)
@@ -1,25 +1,27 @@
 <?php
 /**
 <?php
 /**
- * PHPMailer language file.  
+ * PHPMailer language file.
  * Faroese Version [language of the Faroe Islands, a Danish dominion]
  * This file created: 11-06-2004
  * Faroese Version [language of the Faroe Islands, a Danish dominion]
  * 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 = array();
 
-$PHPMAILER_LANG["provide_address"] = 'T� skal uppgeva minst ' .
-                                     'm�ttakara-emailadressu(r).';
-$PHPMAILER_LANG["mailer_not_supported"] = ' er ikki supportera�.';
-$PHPMAILER_LANG["execute"] = 'Kundi ikki �tf�ra: ';
-$PHPMAILER_LANG["instantiate"] = 'Kuni ikki instantiera mail funkti�n.';
-$PHPMAILER_LANG["authenticate"] = 'SMTP feilur: Kundi ikki g��kenna.';
-$PHPMAILER_LANG["from_failed"] = 'fylgjandi Fr�/From adressa miseydna�ist: ';
-$PHPMAILER_LANG["recipients_failed"] = 'SMTP Feilur: Fylgjandi ' .
-                                       'm�ttakarar miseydna�ust: ';
-$PHPMAILER_LANG["data_not_accepted"] = 'SMTP feilur: Data ikki g��kent.';
-$PHPMAILER_LANG["connect_host"] = 'SMTP feilur: Kundi ikki kn�ta samband vi� SMTP vert.';
-$PHPMAILER_LANG["file_access"] = 'Kundi ikki tilganga f�lu: ';
-$PHPMAILER_LANG["file_open"] = 'F�lu feilur: Kundi ikki opna f�lu: ';
-$PHPMAILER_LANG["encoding"] = '�kend encoding: ';
+$PHPMAILER_LANG["provide_address"]      = 'Tú skal uppgeva minst ' .
+                                          'móttakara-emailadressu(r).';
+$PHPMAILER_LANG["mailer_not_supported"] = ' er ikki supporterað.';
+$PHPMAILER_LANG["execute"]              = 'Kundi ikki útføra: ';
+$PHPMAILER_LANG["instantiate"]          = 'Kuni ikki instantiera mail funktión.';
+$PHPMAILER_LANG["authenticate"]         = 'SMTP feilur: Kundi ikki góðkenna.';
+$PHPMAILER_LANG["from_failed"]          = 'fylgjandi Frá/From adressa miseydnaðist: ';
+$PHPMAILER_LANG["recipients_failed"]    = 'SMTP Feilur: Fylgjandi ' .
+                                          'móttakarar miseydnaðust: ';
+$PHPMAILER_LANG["data_not_accepted"]    = 'SMTP feilur: Data ikki góðkent.';
+$PHPMAILER_LANG["connect_host"]         = 'SMTP feilur: Kundi ikki knýta samband við SMTP vert.';
+$PHPMAILER_LANG["file_access"]          = 'Kundi ikki tilganga fílu: ';
+$PHPMAILER_LANG["file_open"]            = 'Fílu feilur: Kundi ikki opna fílu: ';
+$PHPMAILER_LANG["encoding"]             = 'Ókend encoding: ';
+$PHPMAILER_LANG["signing"]              = 'Signing Error: ';
+
 ?>
 ?>
index cf63443810797d9f5553a36edeca1c20a30bf2dd..8ef292a52cdb30ba86a6289e6065839987ee5ace 100644 (file)
@@ -1,24 +1,26 @@
 <?php
 /**
 <?php
 /**
- * PHPMailer language file.  
+ * PHPMailer language file.
  * French Version
  * French Version
- * bruno@ioda-net.ch 09.08.2003
  */
 
 $PHPMAILER_LANG = array();
 
  */
 
 $PHPMAILER_LANG = array();
 
-$PHPMAILER_LANG["provide_address"] = 'Vous devez fournir au moins ' .
-                                     'une adresse de destinataire.';
-$PHPMAILER_LANG["mailer_not_supported"] = ' mailer non support�.';
-$PHPMAILER_LANG["execute"] = 'Ne peut pas lancer l\'ex�cution: ';
-$PHPMAILER_LANG["instantiate"] = 'Impossible d\'instancier la fonction mail.';
-$PHPMAILER_LANG["authenticate"] = 'SMTP Erreur: Echec de l\'authentification.';
-$PHPMAILER_LANG["from_failed"] = 'L\'adresse From suivante a �chou� : ';
-$PHPMAILER_LANG["recipients_failed"] = 'SMTP Erreur: Les destinataires ' .
-                                       'suivants sont en erreur : ';
-$PHPMAILER_LANG["data_not_accepted"] = 'SMTP Erreur: Data non accept�e.';
-$PHPMAILER_LANG["connect_host"] = 'SMTP Erreur: Impossible de connecter le serveur SMTP .';
-$PHPMAILER_LANG["file_access"] = 'N\'arrive pas � acc�der au fichier: ';
-$PHPMAILER_LANG["file_open"] = 'Erreur Fichier: ouverture impossible: ';
-$PHPMAILER_LANG["encoding"] = 'Encodage inconnu: ';
+$PHPMAILER_LANG["provide_address"]      = 'Vous devez fournir au moins une ' .
+                                          'adresse de destinataire.';
+$PHPMAILER_LANG["mailer_not_supported"] = ' client de messagerie non supporté.';
+$PHPMAILER_LANG["execute"]              = 'Impossible de lancer l\'exécution : ';
+$PHPMAILER_LANG["instantiate"]          = 'Impossible d\'instancier la fonction mail.';
+$PHPMAILER_LANG["authenticate"]         = 'Erreur SMTP : Echec de l\'authentification.';
+$PHPMAILER_LANG["from_failed"]          = 'L\'adresse d\'expéditeur suivante a échouée : ';
+$PHPMAILER_LANG["recipients_failed"]    = 'Erreur SMTP : Les destinataires ' .
+                                          'suivants sont en erreur : ';
+$PHPMAILER_LANG["data_not_accepted"]    = 'Erreur SMTP : Données incorrects.';
+$PHPMAILER_LANG["connect_host"]         = 'Erreur SMTP : Impossible de se connecter au serveur SMTP.';
+$PHPMAILER_LANG["file_access"]          = 'Impossible d\'accéder au fichier : ';
+$PHPMAILER_LANG["file_open"]            = 'Erreur Fichier : ouverture impossible : ';
+$PHPMAILER_LANG["encoding"]             = 'Encodage inconnu : ';
+$PHPMAILER_LANG["signing"]              = 'Signing Error: ';
+
 ?>
 ?>
+
index 5323aedcf430377e3839e89dc0ab8a7297b41e4b..8eafba7675c33cd9e08d2c4cc0fbd7c5d41a8910 100644 (file)
@@ -1,23 +1,25 @@
 <?php
 /**
 <?php
 /**
- * PHPMailer language file.  
+ * PHPMailer language file.
  * Hungarian Version
  */
 
 $PHPMAILER_LANG = array();
 
  * Hungarian Version
  */
 
 $PHPMAILER_LANG = array();
 
-$PHPMAILER_LANG["provide_address"] = 'Meg kell adnod legal�bb egy ' .
-                                     'c�mzett email c�met.';
-$PHPMAILER_LANG["mailer_not_supported"] = ' levelez� nem t�mogatott.';
-$PHPMAILER_LANG["execute"] = 'Nem tudtam v�grehajtani: ';
-$PHPMAILER_LANG["instantiate"] = 'Nem siker�lt p�ld�nyos�tani a mail funkci�t.';
-$PHPMAILER_LANG["authenticate"] = 'SMTP Hiba: Sikertelen autentik�ci�.';
-$PHPMAILER_LANG["from_failed"] = 'Az al�bbi Felad� c�m hib�s: ';
-$PHPMAILER_LANG["recipients_failed"] = 'SMTP Hiba: Az al�bbi ' .
-                                       'c�mzettek hib�sak: ';
-$PHPMAILER_LANG["data_not_accepted"] = 'SMTP Hiba: Nem elfogadhat� adat.';
-$PHPMAILER_LANG["connect_host"] = 'SMTP Hiba: Nem tudtam csatlakozni az SMTP host-hoz.';
-$PHPMAILER_LANG["file_access"] = 'Nem siker�lt el�rni a k�vetkez� f�jlt: ';
-$PHPMAILER_LANG["file_open"] = 'F�jl Hiba: Nem siker�lt megnyitni a k�vetkez� f�jlt: ';
-$PHPMAILER_LANG["encoding"] = 'Ismeretlen k�dol�s: ';
-?>
\ No newline at end of file
+$PHPMAILER_LANG["provide_address"]      = 'Meg kell adnod legalább egy ' .
+                                          'címzett email címet.';
+$PHPMAILER_LANG["mailer_not_supported"] = ' levelezõ nem támogatott.';
+$PHPMAILER_LANG["execute"]              = 'Nem tudtam végrehajtani: ';
+$PHPMAILER_LANG["instantiate"]          = 'Nem sikerült példányosítani a mail funkciót.';
+$PHPMAILER_LANG["authenticate"]         = 'SMTP Hiba: Sikertelen autentikáció.';
+$PHPMAILER_LANG["from_failed"]          = 'Az alábbi Feladó cím hibás: ';
+$PHPMAILER_LANG["recipients_failed"]    = 'SMTP Hiba: Az alábbi ' .
+                                          'címzettek hibásak: ';
+$PHPMAILER_LANG["data_not_accepted"]    = 'SMTP Hiba: Nem elfogadható adat.';
+$PHPMAILER_LANG["connect_host"]         = 'SMTP Hiba: Nem tudtam csatlakozni az SMTP host-hoz.';
+$PHPMAILER_LANG["file_access"]          = 'Nem sikerült elérni a következõ fájlt: ';
+$PHPMAILER_LANG["file_open"]            = 'Fájl Hiba: Nem sikerült megnyitni a következõ fájlt: ';
+$PHPMAILER_LANG["encoding"]             = 'Ismeretlen kódolás: ';
+$PHPMAILER_LANG["signing"]              = 'Signing Error: ';
+
+?>
index 26ef64dd1c3e14052d8748f4feeb7ea21b5a01c6..2fb6a5d255c4bfa7c4e9b69d6403b6d6f6ad8ac6 100644 (file)
@@ -8,21 +8,23 @@
 
 $PHPMAILER_LANG = array();
 
 
 $PHPMAILER_LANG = array();
 
-$PHPMAILER_LANG["provide_address"] = 'Deve essere fornito almeno un'.
-                                     ' indirizzo ricevente';
+$PHPMAILER_LANG["provide_address"]      = 'Deve essere fornito almeno un'.
+                                          ' indirizzo ricevente';
 $PHPMAILER_LANG["mailer_not_supported"] = 'Mailer non supportato';
 $PHPMAILER_LANG["mailer_not_supported"] = 'Mailer non supportato';
-$PHPMAILER_LANG["execute"] = "Impossibile eseguire l'operazione: ";
-$PHPMAILER_LANG["instantiate"] = 'Impossibile istanziare la funzione mail';
-$PHPMAILER_LANG["authenticate"] = 'SMTP Error: Impossibile autenticarsi.';
-$PHPMAILER_LANG["from_failed"] = 'I seguenti indirizzi mittenti hanno'.
-                                 ' generato errore: ';
-$PHPMAILER_LANG["recipients_failed"] = 'SMTP Error: I seguenti indirizzi'.
-                                       'destinatari hanno generato errore: ';
-$PHPMAILER_LANG["data_not_accepted"] = 'SMTP Error: Data non accettati dal'.
-                                       'server.';
-$PHPMAILER_LANG["connect_host"] = 'SMTP Error: Impossibile connettersi'.
-                                  ' all\'host SMTP.';
-$PHPMAILER_LANG["file_access"] = 'Impossibile accedere al file: ';
-$PHPMAILER_LANG["file_open"] = 'File Error: Impossibile aprire il file: ';
-$PHPMAILER_LANG["encoding"] = 'Encoding set dei caratteri sconosciuto: ';
+$PHPMAILER_LANG["execute"]              = "Impossibile eseguire l'operazione: ";
+$PHPMAILER_LANG["instantiate"]          = 'Impossibile istanziare la funzione mail';
+$PHPMAILER_LANG["authenticate"]         = 'SMTP Error: Impossibile autenticarsi.';
+$PHPMAILER_LANG["from_failed"]          = 'I seguenti indirizzi mittenti hanno'.
+                                          ' generato errore: ';
+$PHPMAILER_LANG["recipients_failed"]    = 'SMTP Error: I seguenti indirizzi'.
+                                          'destinatari hanno generato errore: ';
+$PHPMAILER_LANG["data_not_accepted"]    = 'SMTP Error: Data non accettati dal'.
+                                          'server.';
+$PHPMAILER_LANG["connect_host"]         = 'SMTP Error: Impossibile connettersi'.
+                                          ' all\'host SMTP.';
+$PHPMAILER_LANG["file_access"]          = 'Impossibile accedere al file: ';
+$PHPMAILER_LANG["file_open"]            = 'File Error: Impossibile aprire il file: ';
+$PHPMAILER_LANG["encoding"]             = 'Encoding set dei caratteri sconosciuto: ';
+$PHPMAILER_LANG["signing"]              = 'Signing Error: ';
+
 ?>
 ?>
index 75e3843622b720b6e7cd737d1a44dab65c842e68..2e188eb6bd02c4aad31aaae571b0448971236451 100644 (file)
Binary files a/inc/phpmailer/language/phpmailer.lang-ja.php and b/inc/phpmailer/language/phpmailer.lang-ja.php differ
index 13aa73362c281f6e43a2b1bd5fde7b538724d21c..262b543a439f2d811ce84c603ca59ea088e57c2d 100644 (file)
@@ -1,23 +1,25 @@
 <?php
 /**
 <?php
 /**
- * PHPMailer language file.  
+ * PHPMailer language file.
  * Dutch Version
  */
 
 $PHPMAILER_LANG = array();
 
  * Dutch Version
  */
 
 $PHPMAILER_LANG = array();
 
-$PHPMAILER_LANG["provide_address"] = 'Er moet tenmiste &eacute;&eacute;n ' .
-                                     'ontvanger emailadres opgegeven worden.';
+$PHPMAILER_LANG["provide_address"]      = 'Er moet tenmiste &eacute;&eacute;n ' .
+                                          'ontvanger emailadres opgegeven worden.';
 $PHPMAILER_LANG["mailer_not_supported"] = ' mailer wordt niet ondersteund.';
 $PHPMAILER_LANG["mailer_not_supported"] = ' mailer wordt niet ondersteund.';
-$PHPMAILER_LANG["execute"] = 'Kon niet uitvoeren: ';
-$PHPMAILER_LANG["instantiate"] = 'Kon mail functie niet initialiseren.';
-$PHPMAILER_LANG["authenticate"] = 'SMTP Fout: authenticatie mislukt.';
-$PHPMAILER_LANG["from_failed"] = 'De volgende afzender adressen zijn mislukt: ';
-$PHPMAILER_LANG["recipients_failed"] = 'SMTP Fout: De volgende ' .
-                                       'ontvangers zijn mislukt: ';
-$PHPMAILER_LANG["data_not_accepted"] = 'SMTP Fout: Data niet geaccepteerd.';
-$PHPMAILER_LANG["connect_host"] = 'SMTP Fout: Kon niet verbinden met SMTP host.';
-$PHPMAILER_LANG["file_access"] = 'Kreeg geen toegang tot bestand: ';
-$PHPMAILER_LANG["file_open"] = 'Bestandsfout: Kon bestand niet openen: ';
-$PHPMAILER_LANG["encoding"] = 'Onbekende codering: ';
-?>
\ No newline at end of file
+$PHPMAILER_LANG["execute"]              = 'Kon niet uitvoeren: ';
+$PHPMAILER_LANG["instantiate"]          = 'Kon mail functie niet initialiseren.';
+$PHPMAILER_LANG["authenticate"]         = 'SMTP Fout: authenticatie mislukt.';
+$PHPMAILER_LANG["from_failed"]          = 'De volgende afzender adressen zijn mislukt: ';
+$PHPMAILER_LANG["recipients_failed"]    = 'SMTP Fout: De volgende ' .
+                                          'ontvangers zijn mislukt: ';
+$PHPMAILER_LANG["data_not_accepted"]    = 'SMTP Fout: Data niet geaccepteerd.';
+$PHPMAILER_LANG["connect_host"]         = 'SMTP Fout: Kon niet verbinden met SMTP host.';
+$PHPMAILER_LANG["file_access"]          = 'Kreeg geen toegang tot bestand: ';
+$PHPMAILER_LANG["file_open"]            = 'Bestandsfout: Kon bestand niet openen: ';
+$PHPMAILER_LANG["encoding"]             = 'Onbekende codering: ';
+$PHPMAILER_LANG["signing"]              = 'Signing Error: ';
+
+?>
index c8767a223f29734169f585a2c797adac079a0892..9a2534151d4f4e3e137333c5927dd3a9fdcce4a9 100644 (file)
@@ -6,18 +6,20 @@
 
 $PHPMAILER_LANG = array();
 
 
 $PHPMAILER_LANG = array();
 
-$PHPMAILER_LANG["provide_address"] = 'Du m� ha med minst en' .
-                                     'mottager adresse.';
+$PHPMAILER_LANG["provide_address"]      = 'Du må ha med minst en' .
+                                          'mottager adresse.';
 $PHPMAILER_LANG["mailer_not_supported"] = ' mailer er ikke supportert.';
 $PHPMAILER_LANG["mailer_not_supported"] = ' mailer er ikke supportert.';
-$PHPMAILER_LANG["execute"] = 'Kunne ikke utf�re: ';
-$PHPMAILER_LANG["instantiate"] = 'Kunne ikke instantiate mail funksjonen.';
-$PHPMAILER_LANG["authenticate"] = 'SMTP Feil: Kunne ikke authentisere.';
-$PHPMAILER_LANG["from_failed"] = 'F�lgende Fra feilet: ';
-$PHPMAILER_LANG["recipients_failed"] = 'SMTP Feil: F�lgende' .
-                                       'mottagere feilet: ';
-$PHPMAILER_LANG["data_not_accepted"] = 'SMTP Feil: Data ble ikke akseptert.';
-$PHPMAILER_LANG["connect_host"] = 'SMTP Feil: Kunne ikke koble til SMTP host.';
-$PHPMAILER_LANG["file_access"] = 'Kunne ikke f� tilgang til filen: ';
-$PHPMAILER_LANG["file_open"] = 'Fil feil: Kunne ikke �pne filen: ';
-$PHPMAILER_LANG["encoding"] = 'Ukjent encoding: ';
+$PHPMAILER_LANG["execute"]              = 'Kunne ikke utføre: ';
+$PHPMAILER_LANG["instantiate"]          = 'Kunne ikke instantiate mail funksjonen.';
+$PHPMAILER_LANG["authenticate"]         = 'SMTP Feil: Kunne ikke authentisere.';
+$PHPMAILER_LANG["from_failed"]          = 'Følgende Fra feilet: ';
+$PHPMAILER_LANG["recipients_failed"]    = 'SMTP Feil: Følgende' .
+                                          'mottagere feilet: ';
+$PHPMAILER_LANG["data_not_accepted"]    = 'SMTP Feil: Data ble ikke akseptert.';
+$PHPMAILER_LANG["connect_host"]         = 'SMTP Feil: Kunne ikke koble til SMTP host.';
+$PHPMAILER_LANG["file_access"]          = 'Kunne ikke få tilgang til filen: ';
+$PHPMAILER_LANG["file_open"]            = 'Fil feil: Kunne ikke åpne filen: ';
+$PHPMAILER_LANG["encoding"]             = 'Ukjent encoding: ';
+$PHPMAILER_LANG["signing"]              = 'Signing Error: ';
+
 ?>
 ?>
index 61b7deb89cf84115e7620e04510577d212e41f65..e2f86ff195e0b862442722bc8adbaa90eaf81f0c 100644 (file)
@@ -1,24 +1,25 @@
 <?php
 /**
 <?php
 /**
- * PHPMailer language file.  
+ * PHPMailer language file.
  * Polish Version, encoding: windows-1250
  * translated from english lang file ver. 1.72
  */
 
 $PHPMAILER_LANG = array();
 
  * Polish Version, encoding: windows-1250
  * translated from english lang file ver. 1.72
  */
 
 $PHPMAILER_LANG = array();
 
-$PHPMAILER_LANG["provide_address"] = 'Nale�y poda� prawid�owy adres email Odbiorcy.';
-$PHPMAILER_LANG["mailer_not_supported"] = 'Wybrana metoda wysy�ki wiadomo�ci nie jest obs�ugiwana.';
-$PHPMAILER_LANG["execute"] = 'Nie mo�na uruchomi�: ';
-$PHPMAILER_LANG["instantiate"] = 'Nie mo�na wywo�a� funkcji mail(). Sprawd� konfiguracj� serwera.';
-$PHPMAILER_LANG["authenticate"] = 'B��d SMTP: Nie mo�na przeprowadzi� autentykacji.';
-$PHPMAILER_LANG["from_failed"] = 'Nast�puj�cy adres Nadawcy jest jest nieprawid�owy: ';
-$PHPMAILER_LANG["recipients_failed"] = 'B��d SMTP: Nast�puj�cy ' .
-                                       'odbiorcy s� nieprawid�owi: ';
-$PHPMAILER_LANG["data_not_accepted"] = 'B��d SMTP: Dane nie zosta�y przyj�te.';
-$PHPMAILER_LANG["connect_host"] = 'B��d SMTP: Nie mo�na po��czy� si� z wybranym hostem.';
-$PHPMAILER_LANG["file_access"] = 'Brak dost�pu do pliku: ';
-$PHPMAILER_LANG["file_open"] = 'Nie mo�na otworzy� pliku: ';
-$PHPMAILER_LANG["encoding"] = 'Nieznany spos�b kodowania znak�w: ';
+$PHPMAILER_LANG["provide_address"]      = 'Nale¿y podaæ prawid³owy adres email Odbiorcy.';
+$PHPMAILER_LANG["mailer_not_supported"] = 'Wybrana metoda wysy³ki wiadomoœci nie jest obs³ugiwana.';
+$PHPMAILER_LANG["execute"]              = 'Nie mo¿na uruchomiæ: ';
+$PHPMAILER_LANG["instantiate"]          = 'Nie mo¿na wywo³aæ funkcji mail(). SprawdŸ konfiguracjê serwera.';
+$PHPMAILER_LANG["authenticate"]         = 'B³¹d SMTP: Nie mo¿na przeprowadziæ autentykacji.';
+$PHPMAILER_LANG["from_failed"]          = 'Nastêpuj¹cy adres Nadawcy jest jest nieprawid³owy: ';
+$PHPMAILER_LANG["recipients_failed"]    = 'B³¹d SMTP: Nastêpuj¹cy ' .
+                                          'odbiorcy s¹ nieprawid³owi: ';
+$PHPMAILER_LANG["data_not_accepted"]    = 'B³¹d SMTP: Dane nie zosta³y przyjête.';
+$PHPMAILER_LANG["connect_host"]         = 'B³¹d SMTP: Nie mo¿na po³¹czyæ siê z wybranym hostem.';
+$PHPMAILER_LANG["file_access"]          = 'Brak dostêpu do pliku: ';
+$PHPMAILER_LANG["file_open"]            = 'Nie mo¿na otworzyæ pliku: ';
+$PHPMAILER_LANG["encoding"]             = 'Nieznany sposób kodowania znaków: ';
+$PHPMAILER_LANG["signing"]              = 'Signing Error: ';
 
 
-?>
\ No newline at end of file
+?>
index a330b4ad6e8a725c23a97b8c58464d5351880ae0..335021719debcfbda1a3c81d5d6aa0b9bc0f1ad5 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
 <?php
 /**
- * PHPMailer language file.  
+ * PHPMailer language file.
  * Romanian Version
  * @package PHPMailer
  * @author Catalin Constantin <catalin@dazoot.ro>
  * Romanian Version
  * @package PHPMailer
  * @author Catalin Constantin <catalin@dazoot.ro>
@@ -8,16 +8,18 @@
 
 $PHPMAILER_LANG = array();
 
 
 $PHPMAILER_LANG = array();
 
-$PHPMAILER_LANG["provide_address"] = 'Trebuie sa adaugati cel putin un recipient (adresa de mail).';
+$PHPMAILER_LANG["provide_address"]      = 'Trebuie sa adaugati cel putin un recipient (adresa de mail).';
 $PHPMAILER_LANG["mailer_not_supported"] = ' mailer nu este suportat.';
 $PHPMAILER_LANG["mailer_not_supported"] = ' mailer nu este suportat.';
-$PHPMAILER_LANG["execute"] = 'Nu pot executa:  ';
-$PHPMAILER_LANG["instantiate"] = 'Nu am putut instantia functia mail.';
-$PHPMAILER_LANG["authenticate"] = 'Eroare SMTP: Nu a functionat autentificarea.';
-$PHPMAILER_LANG["from_failed"] = 'Urmatoarele adrese From au dat eroare: ';
-$PHPMAILER_LANG["recipients_failed"] = 'Eroare SMTP: Urmatoarele adrese de mail au dat eroare: ';
-$PHPMAILER_LANG["data_not_accepted"] = 'Eroare SMTP: Continutul mailului nu a fost acceptat.';
-$PHPMAILER_LANG["connect_host"] = 'Eroare SMTP: Nu m-am putut conecta la adresa SMTP.';
-$PHPMAILER_LANG["file_access"] = 'Nu pot accesa fisierul: ';
-$PHPMAILER_LANG["file_open"] = 'Eroare de fisier: Nu pot deschide fisierul: ';
-$PHPMAILER_LANG["encoding"] = 'Encodare necunoscuta: ';
+$PHPMAILER_LANG["execute"]              = 'Nu pot executa:  ';
+$PHPMAILER_LANG["instantiate"]          = 'Nu am putut instantia functia mail.';
+$PHPMAILER_LANG["authenticate"]         = 'Eroare SMTP: Nu a functionat autentificarea.';
+$PHPMAILER_LANG["from_failed"]          = 'Urmatoarele adrese From au dat eroare: ';
+$PHPMAILER_LANG["recipients_failed"]    = 'Eroare SMTP: Urmatoarele adrese de mail au dat eroare: ';
+$PHPMAILER_LANG["data_not_accepted"]    = 'Eroare SMTP: Continutul mailului nu a fost acceptat.';
+$PHPMAILER_LANG["connect_host"]         = 'Eroare SMTP: Nu m-am putut conecta la adresa SMTP.';
+$PHPMAILER_LANG["file_access"]          = 'Nu pot accesa fisierul: ';
+$PHPMAILER_LANG["file_open"]            = 'Eroare de fisier: Nu pot deschide fisierul: ';
+$PHPMAILER_LANG["encoding"]             = 'Encodare necunoscuta: ';
+$PHPMAILER_LANG["signing"]              = 'Signing Error: ';
+
 ?>
 ?>
index 46f7322d5d965e9b423e5cfef01c54489d2c3515..2e1b14839b96a4f684cbe184d7e5094c276166ee 100644 (file)
@@ -5,19 +5,22 @@
  */
 
 $PHPMAILER_LANG = array();
  */
 
 $PHPMAILER_LANG = array();
-$PHPMAILER_LANG["provide_address"] = '����������, ������� ���� �� ���� ����� e-mail ' .
-                                     '����������.';
-$PHPMAILER_LANG["mailer_not_supported"] = ' - �������� ������ �� ��������������.';
-$PHPMAILER_LANG["execute"] = '���������� ��������� �������: ';
-$PHPMAILER_LANG["instantiate"] = '���������� ��������� ������� mail.';
-$PHPMAILER_LANG["authenticate"] = '������ SMTP: ������ �����������.';
-$PHPMAILER_LANG["from_failed"] = '�������� ����� �����������: ';
-$PHPMAILER_LANG["recipients_failed"] = '������ SMTP: �������� �� ��������� ' .
-                                       '������� ����������� �� �������: ';
-$PHPMAILER_LANG["data_not_accepted"] = '������ SMTP: ������ �� �������.';
-$PHPMAILER_LANG["connect_host"] = '������ SMTP: �� ������� ������������ � ������� SMTP.';
-$PHPMAILER_LANG["file_access"] = '��� ������� � �����: ';
-$PHPMAILER_LANG["file_open"] = '�������� ������: �� ������� ������� ����: ';
-$PHPMAILER_LANG["encoding"] = '����������� ��� ���������: ';
+
+$PHPMAILER_LANG["provide_address"]      = 'Ïîæàëóéñòà, ââåäèòå õîòÿ áû îäèí àäðåñ e-mail ' .
+                                          'ïîëó÷àòåëÿ.';
+$PHPMAILER_LANG["mailer_not_supported"] = ' - ïî÷òîâûé ñåðâåð íå ïîääåðæèâàåòñÿ.';
+$PHPMAILER_LANG["execute"]              = 'Íåâîçìîæíî âûïîëíèòü êîìàíäó: ';
+$PHPMAILER_LANG["instantiate"]          = 'Íåâîçìîæíî çàïóñòèòü ôóíêöèþ mail.';
+$PHPMAILER_LANG["authenticate"]         = 'Îøèáêà SMTP: îøèáêà àâòîðèçàöèè.';
+$PHPMAILER_LANG["from_failed"]          = 'Íåâåðíûé àäðåñ îòïðàâèòåëÿ: ';
+$PHPMAILER_LANG["recipients_failed"]    = 'Îøèáêà SMTP: îòïðàâêà ïî ñëåäóþùèì ' .
+                                          'àäðåñàì ïîëó÷àòåëåé íå óäàëàñü: ';
+$PHPMAILER_LANG["data_not_accepted"]    = 'Îøèáêà SMTP: äàííûå íå ïðèíÿòû.';
+$PHPMAILER_LANG["connect_host"]         = 'Îøèáêà SMTP: íå óäàåòñÿ ïîäêëþ÷èòüñÿ ê ñåðâåðó SMTP.';
+$PHPMAILER_LANG["file_access"]          = 'Íåò äîñòóïà ê ôàéëó: ';
+$PHPMAILER_LANG["file_open"]            = 'Ôàéëîâàÿ îøèáêà: íå óäàåòñÿ îòêðûòü ôàéë: ';
+$PHPMAILER_LANG["encoding"]             = 'Íåèçâåñòíûé âèä êîäèðîâêè: ';
+$PHPMAILER_LANG["signing"]              = 'Signing Error: ';
+
 ?>
 
 ?>
 
index 44042a8f194e5f728d419f319e15eb3ddaa1019d..e61bbb127a3278323b62659f5b3c60944ca7a455 100644 (file)
@@ -1,24 +1,26 @@
 <?php
 /**
 <?php
 /**
- * PHPMailer language file.  
+ * PHPMailer language file.
  * Swedish Version
  * Swedish Version
- * Author: Johan Linnr <johan@linner.biz>
+ * Author: Johan Linnér <johan@linner.biz>
  */
 
 $PHPMAILER_LANG = array();
 
  */
 
 $PHPMAILER_LANG = array();
 
-$PHPMAILER_LANG["provide_address"] = 'Du m�ste ange minst en ' .
-                                     'mottagares e-postadress.';
-$PHPMAILER_LANG["mailer_not_supported"] = ' mailer st�ds inte.';
-$PHPMAILER_LANG["execute"] = 'Kunde inte k�ra: ';
-$PHPMAILER_LANG["instantiate"] = 'Kunde inte initiera e-postfunktion.';
-$PHPMAILER_LANG["authenticate"] = 'SMTP fel: Kunde inte autentisera.';
-$PHPMAILER_LANG["from_failed"] = 'F�ljande avs�ndaradress �r felaktig: ';
-$PHPMAILER_LANG["recipients_failed"] = 'SMTP fel: F�ljande ' .
-                                       'mottagare �r felaktig: ';
-$PHPMAILER_LANG["data_not_accepted"] = 'SMTP fel: Data accepterades inte.';
-$PHPMAILER_LANG["connect_host"] = 'SMTP fel: Kunde inte ansluta till SMTP-server.';
-$PHPMAILER_LANG["file_access"] = 'Ingen �tkomst till fil: ';
-$PHPMAILER_LANG["file_open"] = 'Fil fel: Kunde inte �ppna fil: ';
-$PHPMAILER_LANG["encoding"] = 'Ok�nt encode-format: ';
-?>
\ No newline at end of file
+$PHPMAILER_LANG["provide_address"]      = 'Du måste ange minst en ' .
+                                          'mottagares e-postadress.';
+$PHPMAILER_LANG["mailer_not_supported"] = ' mailer stöds inte.';
+$PHPMAILER_LANG["execute"]              = 'Kunde inte köra: ';
+$PHPMAILER_LANG["instantiate"]          = 'Kunde inte initiera e-postfunktion.';
+$PHPMAILER_LANG["authenticate"]         = 'SMTP fel: Kunde inte autentisera.';
+$PHPMAILER_LANG["from_failed"]          = 'Följande avsändaradress är felaktig: ';
+$PHPMAILER_LANG["recipients_failed"]    = 'SMTP fel: Följande ' .
+                                          'mottagare är felaktig: ';
+$PHPMAILER_LANG["data_not_accepted"]    = 'SMTP fel: Data accepterades inte.';
+$PHPMAILER_LANG["connect_host"]         = 'SMTP fel: Kunde inte ansluta till SMTP-server.';
+$PHPMAILER_LANG["file_access"]          = 'Ingen åtkomst till fil: ';
+$PHPMAILER_LANG["file_open"]            = 'Fil fel: Kunde inte öppna fil: ';
+$PHPMAILER_LANG["encoding"]             = 'Okänt encode-format: ';
+$PHPMAILER_LANG["signing"]              = 'Signing Error: ';
+
+?>
index 6bd3c0c85afbe36731143608e45672a9e3547cdf..c8f388eec0def37c6bb48f688bb8f5e949df6ed9 100644 (file)
@@ -1,25 +1,26 @@
 <?php
 /**
 <?php
 /**
- * PHPMailer dil dosyas.
- * T�rk�e Versiyonu
- * �ZYAZILIM - El�in �zel - Can Y�lmaz - Mehmet Benlio�lu
+ * PHPMailer dil dosyasý.
+ * Türkçe Versiyonu
+ * ÝZYAZILIM - Elçin Özel - Can Yýlmaz - Mehmet Benlioðlu
  */
 
 $PHPMAILER_LANG = array();
 
  */
 
 $PHPMAILER_LANG = array();
 
-$PHPMAILER_LANG["provide_address"] = 'En az bir tane mail adresi belirtmek zorundas�n�z ' .
-                                     'al�c�n�n email adresi.';
+$PHPMAILER_LANG["provide_address"]      = 'En az bir tane mail adresi belirtmek zorundasýnýz ' .
+                                          'alýcýnýn email adresi.';
 $PHPMAILER_LANG["mailer_not_supported"] = ' mailler desteklenmemektedir.';
 $PHPMAILER_LANG["mailer_not_supported"] = ' mailler desteklenmemektedir.';
-$PHPMAILER_LANG["execute"] = '�al��t�r�lam�yor: ';
-$PHPMAILER_LANG["instantiate"] = '�rnek mail fonksiyonu yarat�lamad�.';
-$PHPMAILER_LANG["authenticate"] = 'SMTP Hatas�: Do�rulanam�yor.';
-$PHPMAILER_LANG["from_failed"] = 'Ba�ar�s�z olan g�nderici adresi: ';
-$PHPMAILER_LANG["recipients_failed"] = 'SMTP Hatas�:  ' .
-                                       'al�c�lara ula�mad�: ';
-$PHPMAILER_LANG["data_not_accepted"] = 'SMTP Hatas�: Veri kabul edilmedi.';
-$PHPMAILER_LANG["connect_host"] = 'SMTP Hatas�: SMTP hosta ba�lan�lam�yor.';
-$PHPMAILER_LANG["file_access"] = 'Dosyaya eri�ilemiyor: ';
-$PHPMAILER_LANG["file_open"] = 'Dosya Hatas�: Dosya a��lam�yor: ';
-$PHPMAILER_LANG["encoding"] = 'Bilinmeyen �ifreleme: ';
+$PHPMAILER_LANG["execute"]              = 'Çalýþtýrýlamýyor: ';
+$PHPMAILER_LANG["instantiate"]          = 'Örnek mail fonksiyonu yaratýlamadý.';
+$PHPMAILER_LANG["authenticate"]         = 'SMTP Hatasý: Doðrulanamýyor.';
+$PHPMAILER_LANG["from_failed"]          = 'Baþarýsýz olan gönderici adresi: ';
+$PHPMAILER_LANG["recipients_failed"]    = 'SMTP Hatasý:  ' .
+                                          'alýcýlara ulaþmadý: ';
+$PHPMAILER_LANG["data_not_accepted"]    = 'SMTP Hatasý: Veri kabul edilmedi.';
+$PHPMAILER_LANG["connect_host"]         = 'SMTP Hatasý: SMTP hosta baðlanýlamýyor.';
+$PHPMAILER_LANG["file_access"]          = 'Dosyaya eriþilemiyor: ';
+$PHPMAILER_LANG["file_open"]            = 'Dosya Hatasý: Dosya açýlamýyor: ';
+$PHPMAILER_LANG["encoding"]             = 'Bilinmeyen þifreleme: ';
+$PHPMAILER_LANG["signing"]              = 'Signing Error: ';
 
 
-?>
\ No newline at end of file
+?>