ChangeLog.txt 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330
  1. ChangeLog
  2. NOTE: THIS VERSION OF PHPMAILER IS DESIGNED FOR PHP5/PHP6. IT WILL NOT WORK WITH PHP4.
  3. Version 2.3 (November 06, 2008)
  4. * added Arabic language (many thanks to Bahjat Al Mostafa)
  5. * removed English language from language files and made it a default within
  6. class.phpmailer.php - if no language is found, it will default to use
  7. the english language translation
  8. * fixed public/private declarations
  9. * corrected line 1728, $basedir to $directory
  10. * added $sign_cert_file to avoid improper duplicate use of $sign_key_file
  11. * corrected $this->Hello on line 612 to $this->Helo
  12. * changed default of $LE to "\r\n" to comply with RFC 2822. Can be set by the user
  13. if default is not acceptable
  14. * removed trim() from return results in EncodeQP
  15. * /test and three files it contained are removed from version 2.3
  16. * fixed phpunit.php for compliance with PHP5
  17. * changed $this->AltBody = $textMsg; to $this->AltBody = html_entity_decode($textMsg);
  18. * We have removed the /phpdoc from the downloads. All documentation is now on
  19. the http://phpmailer.codeworxtech.com website.
  20. Version 2.2.1 () July 19 2008
  21. * fixed line 1092 in class.smtp.php (my apologies, error on my part)
  22. Version 2.2 () July 15 2008
  23. * Fixed redirect issue (display of UTF-8 in thank you redirect)
  24. * fixed error in getResponse function declaration (class.pop3.php)
  25. * PHPMailer now PHP6 compliant
  26. * fixed line 1092 in class.smtp.php (endless loop from missing = sign)
  27. Version 2.1 (Wed, June 04 2008)
  28. ** NOTE: WE HAVE A NEW LANGUAGE VARIABLE FOR DIGITALLY SIGNED S/MIME EMAILS.
  29. IF YOU CAN HELP WITH LANGUAGES OTHER THAN ENGLISH AND SPANISH, IT WOULD BE
  30. APPRECIATED.
  31. * added S/MIME functionality (ability to digitally sign emails)
  32. BIG THANKS TO "sergiocambra" for posting this patch back in November 2007.
  33. The "Signed Emails" functionality adds the Sign method to pass the private key
  34. filename and the password to read it, and then email will be sent with
  35. content-type multipart/signed and with the digital signature attached.
  36. * fully compatible with E_STRICT error level
  37. - Please note:
  38. In about half the test environments this development version was subjected
  39. to, an error was thrown for the date() functions used (line 1565 and 1569).
  40. This is NOT a PHPMailer error, it is the result of an incorrectly configured
  41. PHP5 installation. The fix is to modify your 'php.ini' file and include the
  42. date.timezone = America/New York
  43. directive, to your own server timezone
  44. - If you do get this error, and are unable to access your php.ini file:
  45. In your PHP script, add
  46. date_default_timezone_set('America/Toronto');
  47. - do not try to use
  48. $myVar = date_default_timezone_get();
  49. as a test, it will throw an error.
  50. * added ability to define path (mainly for embedded images)
  51. function MsgHTML($message,$basedir='') ... where:
  52. $basedir is the fully qualified path
  53. * fixed MsgHTML() function:
  54. - Embedded Images where images are specified by <protocol>:// will not be altered or embedded
  55. * fixed the return value of SMTP exit code ( pclose )
  56. * addressed issue of multibyte characters in subject line and truncating
  57. * added ability to have user specified Message ID
  58. (default is still that PHPMailer create a unique Message ID)
  59. * corrected unidentified message type to 'application/octet-stream'
  60. * fixed chunk_split() multibyte issue (thanks to Colin Brown, et al).
  61. * added check for added attachments
  62. * enhanced conversion of HTML to text in MsgHTML (thanks to "brunny")
  63. Version 2.1.0beta2 (Sun, Dec 02 2007)
  64. * implemented updated EncodeQP (thanks to coolbru, aka Marcus Bointon)
  65. * finished all testing, all known bugs corrected, enhancements tested
  66. - note: will NOT work with PHP4.
  67. please note, this is BETA software
  68. ** DO NOT USE THIS IN PRODUCTION OR LIVE PROJECTS
  69. INTENDED STRICTLY FOR TESTING
  70. Version 2.1.0beta1
  71. please note, this is BETA software
  72. ** DO NOT USE THIS IN PRODUCTION OR LIVE PROJECTS
  73. INTENDED STRICTLY FOR TESTING
  74. Version 2.0.0 rc2 (Fri, Nov 16 2007), interim release
  75. * implements new property to control VERP in class.smtp.php
  76. example (requires instantiating class.smtp.php):
  77. $mail->do_verp = true;
  78. * POP-before-SMTP functionality included, thanks to Richard Davey
  79. (see class.pop3.php & pop3_before_smtp_test.php for examples)
  80. * included example showing how to use PHPMailer with GMAIL
  81. * fixed the missing Cc in SendMail() and Mail()
  82. ******************
  83. A note on sending bulk emails:
  84. If the email you are sending is not personalized, consider using the
  85. "undisclosed-recipient:;" strategy. That is, put all of your recipients
  86. in the Bcc field and set the To field to "undisclosed-recipients:;".
  87. It's a lot faster (only one send) and saves quite a bit on resources.
  88. Contrary to some opinions, this will not get you listed in spam engines -
  89. it's a legitimate way for you to send emails.
  90. A partial example for use with PHPMailer:
  91. $mail->AddAddress("undisclosed-recipients:;");
  92. $mail->AddBCC("email1@anydomain.com,email2@anyotherdomain.com,email3@anyalternatedomain.com");
  93. Many email service providers restrict the number of emails that can be sent
  94. in any given time period. Often that is between 50 - 60 emails maximum
  95. per hour or per send session.
  96. If that's the case, then break up your Bcc lists into chunks that are one
  97. less than your limit, and put a pause in your script.
  98. *******************
  99. Version 2.0.0 rc1 (Thu, Nov 08 2007), interim release
  100. * dramatically simplified using inline graphics ... it's fully automated and requires no user input
  101. * added automatic document type detection for attachments and pictures
  102. * added MsgHTML() function to replace Body tag for HTML emails
  103. * fixed the SendMail security issues (input validation vulnerability)
  104. * enhanced the AddAddresses functionality so that the "Name" portion is used in the email address
  105. * removed the need to use the AltBody method (set from the HTML, or default text used)
  106. * set the PHP Mail() function as the default (still support SendMail, SMTP Mail)
  107. * removed the need to set the IsHTML property (set automatically)
  108. * added Estonian language file by Indrek P&auml;ri
  109. * added header injection patch
  110. * added "set" method to permit users to create their own pseudo-properties like 'X-Headers', etc.
  111. example of use:
  112. $mail->set('X-Priority', '3');
  113. $mail->set('X-MSMail-Priority', 'Normal');
  114. * fixed warning message in SMTP get_lines method
  115. * added TLS/SSL SMTP support
  116. example of use:
  117. $mail = new PHPMailer();
  118. $mail->Mailer = "smtp";
  119. $mail->Host = "smtp.example.com";
  120. $mail->SMTPSecure = "tls"; // option
  121. //$mail->SMTPSecure = "ssl"; // option
  122. ...
  123. $mail->Send();
  124. * PHPMailer has been tested with PHP4 (4.4.7) and PHP5 (5.2.7)
  125. * Works with PHP installed as a module or as CGI-PHP
  126. - NOTE: will NOT work with PHP5 in E_STRICT error mode
  127. Version 1.73 (Sun, Jun 10 2005)
  128. * Fixed denial of service bug: http://www.cybsec.com/vuln/PHPMailer-DOS.pdf
  129. * Now has a total of 20 translations
  130. * Fixed alt attachments bug: http://tinyurl.com/98u9k
  131. Version 1.72 (Wed, May 25 2004)
  132. * Added Dutch, Swedish, Czech, Norwegian, and Turkish translations.
  133. * Received: Removed this method because spam filter programs like
  134. SpamAssassin reject this header.
  135. * Fixed error count bug.
  136. * SetLanguage default is now "language/".
  137. * Fixed magic_quotes_runtime bug.
  138. Version 1.71 (Tue, Jul 28 2003)
  139. * Made several speed enhancements
  140. * Added German and Italian translation files
  141. * Fixed HELO/AUTH bugs on keep-alive connects
  142. * Now provides an error message if language file does not load
  143. * Fixed attachment EOL bug
  144. * Updated some unclear documentation
  145. * Added additional tests and improved others
  146. Version 1.70 (Mon, Jun 20 2003)
  147. * Added SMTP keep-alive support
  148. * Added IsError method for error detection
  149. * Added error message translation support (SetLanguage)
  150. * Refactored many methods to increase library performance
  151. * Hello now sends the newer EHLO message before HELO as per RFC 2821
  152. * Removed the boundary class and replaced it with GetBoundary
  153. * Removed queue support methods
  154. * New $Hostname variable
  155. * New Message-ID header
  156. * Received header reformat
  157. * Helo variable default changed to $Hostname
  158. * Removed extra spaces in Content-Type definition (#667182)
  159. * Return-Path should be set to Sender when set
  160. * Adds Q or B encoding to headers when necessary
  161. * quoted-encoding should now encode NULs \000
  162. * Fixed encoding of body/AltBody (#553370)
  163. * Adds "To: undisclosed-recipients:;" when all recipients are hidden (BCC)
  164. * Multiple bug fixes
  165. Version 1.65 (Fri, Aug 09 2002)
  166. * Fixed non-visible attachment bug (#585097) for Outlook
  167. * SMTP connections are now closed after each transaction
  168. * Fixed SMTP::Expand return value
  169. * Converted SMTP class documentation to phpDocumentor format
  170. Version 1.62 (Wed, Jun 26 2002)
  171. * Fixed multi-attach bug
  172. * Set proper word wrapping
  173. * Reduced memory use with attachments
  174. * Added more debugging
  175. * Changed documentation to phpDocumentor format
  176. Version 1.60 (Sat, Mar 30 2002)
  177. * Sendmail pipe and address patch (Christian Holtje)
  178. * Added embedded image and read confirmation support (A. Ognio)
  179. * Added unit tests
  180. * Added SMTP timeout support (*nix only)
  181. * Added possibly temporary PluginDir variable for SMTP class
  182. * Added LE message line ending variable
  183. * Refactored boundary and attachment code
  184. * Eliminated SMTP class warnings
  185. * Added SendToQueue method for future queuing support
  186. Version 1.54 (Wed, Dec 19 2001)
  187. * Add some queuing support code
  188. * Fixed a pesky multi/alt bug
  189. * Messages are no longer forced to have "To" addresses
  190. Version 1.50 (Thu, Nov 08 2001)
  191. * Fix extra lines when not using SMTP mailer
  192. * Set WordWrap variable to int with a zero default
  193. Version 1.47 (Tue, Oct 16 2001)
  194. * Fixed Received header code format
  195. * Fixed AltBody order error
  196. * Fixed alternate port warning
  197. Version 1.45 (Tue, Sep 25 2001)
  198. * Added enhanced SMTP debug support
  199. * Added support for multiple ports on SMTP
  200. * Added Received header for tracing
  201. * Fixed AddStringAttachment encoding
  202. * Fixed possible header name quote bug
  203. * Fixed wordwrap() trim bug
  204. * Couple other small bug fixes
  205. Version 1.41 (Wed, Aug 22 2001)
  206. * Fixed AltBody bug w/o attachments
  207. * Fixed rfc_date() for certain mail servers
  208. Version 1.40 (Sun, Aug 12 2001)
  209. * Added multipart/alternative support (AltBody)
  210. * Documentation update
  211. * Fixed bug in Mercury MTA
  212. Version 1.29 (Fri, Aug 03 2001)
  213. * Added AddStringAttachment() method
  214. * Added SMTP authentication support
  215. Version 1.28 (Mon, Jul 30 2001)
  216. * Fixed a typo in SMTP class
  217. * Fixed header issue with Imail (win32) SMTP server
  218. * Made fopen() calls for attachments use "rb" to fix win32 error
  219. Version 1.25 (Mon, Jul 02 2001)
  220. * Added RFC 822 date fix (Patrice)
  221. * Added improved error handling by adding a $ErrorInfo variable
  222. * Removed MailerDebug variable (obsolete with new error handler)
  223. Version 1.20 (Mon, Jun 25 2001)
  224. * Added quoted-printable encoding (Patrice)
  225. * Set Version as public and removed PrintVersion()
  226. * Changed phpdoc to only display public variables and methods
  227. Version 1.19 (Thu, Jun 21 2001)
  228. * Fixed MS Mail header bug
  229. * Added fix for Bcc problem with mail(). *Does not work on Win32*
  230. (See PHP bug report: http://www.php.net/bugs.php?id=11616)
  231. * mail() no longer passes a fifth parameter when not needed
  232. Version 1.15 (Fri, Jun 15 2001)
  233. [Note: these changes contributed by Patrice Fournier]
  234. * Changed all remaining \n to \r\n
  235. * Bcc: header no longer writen to message except
  236. when sent directly to sendmail
  237. * Added a small message to non-MIME compliant mail reader
  238. * Added Sender variable to change the Sender email
  239. used in -f for sendmail/mail and in 'MAIL FROM' for smtp mode
  240. * Changed boundary setting to a place it will be set only once
  241. * Removed transfer encoding for whole message when using multipart
  242. * Message body now uses Encoding in multipart messages
  243. * Can set encoding and type to attachments 7bit, 8bit
  244. and binary attachment are sent as is, base64 are encoded
  245. * Can set Encoding to base64 to send 8 bits body
  246. through 7 bits servers
  247. Version 1.10 (Tue, Jun 12 2001)
  248. * Fixed win32 mail header bug (printed out headers in message body)
  249. Version 1.09 (Fri, Jun 08 2001)
  250. * Changed date header to work with Netscape mail programs
  251. * Altered phpdoc documentation
  252. Version 1.08 (Tue, Jun 05 2001)
  253. * Added enhanced error-checking
  254. * Added phpdoc documentation to source
  255. Version 1.06 (Fri, Jun 01 2001)
  256. * Added optional name for file attachments
  257. Version 1.05 (Tue, May 29 2001)
  258. * Code cleanup
  259. * Eliminated sendmail header warning message
  260. * Fixed possible SMTP error
  261. Version 1.03 (Thu, May 24 2001)
  262. * Fixed problem where qmail sends out duplicate messages
  263. Version 1.02 (Wed, May 23 2001)
  264. * Added multiple recipient and attachment Clear* methods
  265. * Added Sendmail public variable
  266. * Fixed problem with loading SMTP library multiple times
  267. Version 0.98 (Tue, May 22 2001)
  268. * Fixed problem with redundant mail hosts sending out multiple messages
  269. * Added additional error handler code
  270. * Added AddCustomHeader() function
  271. * Added support for Microsoft mail client headers (affects priority)
  272. * Fixed small bug with Mailer variable
  273. * Added PrintVersion() function
  274. Version 0.92 (Tue, May 15 2001)
  275. * Changed file names to class.phpmailer.php and class.smtp.php to match
  276. current PHP class trend.
  277. * Fixed problem where body not being printed when a message is attached
  278. * Several small bug fixes
  279. Version 0.90 (Tue, April 17 2001)
  280. * Intial public release