MDL-57474 mailer: Make sure that our exlicit MessageID is trimmed
[moodle.git] / lib / phpmailer / changelog.md
CommitLineData
29bf99fd
PS
1# ChangeLog
2
30f4e2d3
AG
3## Version 5.2.14 (Nov 1st 2015)
4* Allow addresses with IDN (Internationalized Domain Name) in PHP 5.3+, thanks to @fbonzon
5* Allow access to POP3 errors
6* Make all POP3 private properties and methods protected
7* **SECURITY** Fix vulnerability that allowed email addresses with line breaks (valid in RFC5322) to pass to SMTP, permitting message injection at the SMTP level. Mitigated in both the address validator and in the lower-level SMTP class. Thanks to Takeshi Terada.
8* Updated Brazilian Portuguese translations (Thanks to @phelipealves)
9
ec9e2d04
CB
10## Version 5.2.13 (Sep 14th 2015)
11* Rename internal oauth class to avoid name clashes
12* Improve Estonian translations
13
14## Version 5.2.12 (Sep 1st 2015)
15* Fix incorrect composer package dependencies
16* Skip existing embedded image `cid`s in `msgHTML`
17
18## Version 5.2.11 (Aug 31st 2015)
19* Don't switch to quoted-printable for long lines if already using base64
20* Fixed Travis-CI config when run on PHP 7
21* Added Google XOAUTH2 authentication mechanism, thanks to @sherryl4george
22* Add address parser for RFC822-format addresses
23* Update MS Office MIME types
24* Don't convert line breaks when using quoted-printable encoding
25* Handle MS Exchange returning an invalid empty AUTH-type list in EHLO
26* Don't set name or filename properties on MIME parts that don't have one
27
28## Version 5.2.10 (May 4th 2015)
29* Add custom header getter
30* Use `application/javascript` for .js attachments
31* Improve RFC2821 compliance for timelimits, especially for end-of-data
32* Add Azerbaijani translations (Thanks to @mirjalal)
33* Minor code cleanup for robustness
34* Add Indonesian translations (Thanks to @ceceprawiro)
35* Avoid `error_log` Debugoutput naming clash
36* Add ability to parse server capabilities in response to EHLO (useful for SendGrid etc)
37* Amended default values for WordWrap to match RFC
38* Remove html2text converter class (has incompatible license)
39* Provide new mechanism for injecting html to text converters
40* Improve pointers to docs and support in README
41* Add example file upload script
42* Refactor and major cleanup of EasyPeasyICS, now a lot more usable
43* Make set() method simpler and more reliable
44* Add Malay translation (Thanks to @nawawi)
45* Add Bulgarian translation (Thanks to @mialy)
46* Add Armenian translation (Thanks to Hrayr Grigoryan)
47* Add Slovenian translation (Thanks to Klemen Tušar)
48* More efficient word wrapping
49* Add support for S/MIME signing with additional CA certificate (thanks to @IgitBuh)
50* Fix incorrect MIME structure when using S/MIME signing and isMail() (#372)
51* Improved checks and error messages for missing extensions
52* Store and report SMTP errors more consistently
53* Add MIME multipart preamble for better Outlook compatibility
54* Enable TLS encryption automatically if the server offers it
55* Provide detailed errors when individual recipients fail
56* Report more errors when connecting
57* Add extras classes to composer classmap
58* Expose stream_context_create options via new SMTPOptions property
59* Automatic encoding switch to quoted-printable if message lines are too long
60* Add Korean translation (Thanks to @ChalkPE)
61* Provide a pointer to troubleshooting docs on SMTP connection failure
62
ccff58da
MG
63## Version 5.2.9 (Sept 25th 2014)
64* **Important: The autoloader is no longer autoloaded by the PHPMailer class**
65* Update html2text from https://github.com/mtibben/html2text
66* Improve Arabic translations (Thanks to @tarekdj)
67* Consistent handling of connection variables in SMTP and POP3
68* PHPDoc cleanup
69* Update composer to use PHPUnit 4.1
70* Pass consistent params to callbacks
71* More consistent handling of error states and debug output
72* Use property defaults, remove constructors
73* Remove unreachable code
74* Use older regex validation pattern for troublesome PCRE library versions
75* Improve PCRE detection in older PHP versions
76* Handle debug output consistently, and always in UTF-8
77* Allow user-defined debug output method via a callable
78* msgHTML now converts data URIs to embedded images
79* SMTP::getLastReply() will now always be populated
80* Improved example code in README
81* Ensure long filenames in Content-Disposition are encoded correctly
82* Simplify SMTP debug output mechanism, clarify levels with constants
83* Add SMTP connection check example
84* Simplify examples, don't use mysql* functions
85
86## Version 5.2.8 (May 14th 2014)
87* Increase timeout to match RFC2821 section 4.5.3.2 and thus not fail greetdelays, fixes #104
88* Add timestamps to default debug output
89* Add connection events and new level 3 to debug output options
90* Chinese language update (Thanks to @binaryoung)
91* Allow custom Mailer types (Thanks to @michield)
92* Cope with spaces around SMTP host specs
93* Fix processing of multiple hosts in connect string
94* Added Galician translation (Thanks to @donatorouco)
95* Autoloader now prepends
96* Docs updates
97* Add Latvian translation (Thanks to @eddsstudio)
98* Add Belarusian translation (Thanks to @amaksymiuk)
99* Make autoloader work better on older PHP versions
100* Avoid double-encoding if mbstring is overloading mail()
101* Add Portuguese translation (Thanks to @Jonadabe)
102* Make quoted-printable encoder respect line ending setting
103* Improve Chinese translation (Thanks to @PeterDaveHello)
104* Add Georgian translation (Thanks to @akalongman)
105* Add Greek translation (Thanks to @lenasterg)
106* Fix serverHostname on PHP < 5.3
107* Improve performance of SMTP class
108* Implement automatic 7bit downgrade
109* Add Vietnamese translation (Thanks to @vinades)
110* Improve example images, switch to PNG
111* Add Croatian translation (Thanks to @hrvoj3e)
112* Remove setting the Return-Path and deprecate the Return-path property - it's just wrong!
113* Fix language file loading if CWD has changed (@stephandesouza)
114* Add HTML5 email validation pattern
115* Improve Turkish translations (Thanks to @yasinaydin)
116* Improve Romanian translations (Thanks to @aflorea)
117* Check php.ini for path to sendmail/qmail before using default
118* Improve Farsi translation (Thanks to @MHM5000)
119* Don't use quoted-printable encoding for multipart types
120* Add Serbian translation (Thanks to ajevremovic at gmail.com)
121* Remove useless PHP5 check
122* Use SVG for build status badges
123* Store MessageDate on creation
124* Better default behaviour for validateAddress
125
29bf99fd 126## Version 5.2.7 (September 12th 2013)
ec9e2d04 127* Add Ukrainian translation from @Krezalis
29bf99fd
PS
128* Support for do_verp
129* Fix bug in CRAM-MD5 AUTH
130* Propagate Debugoutput option to SMTP class (@Reblutus)
131* Determine MIME type of attachments automatically
132* Add cross-platform, multibyte-safe pathinfo replacement (with tests) and use it
133* Add a new 'html' Debugoutput type
134* Clean up SMTP debug output, remove embedded HTML
135* Some small changes in header formatting to improve IETF msglint test results
136* Update test_script to use some recently changed features, rename to code_generator
137* Generated code actually works!
138* Update SyntaxHighlighter
139* Major overhaul and cleanup of example code
140* New PHPMailer graphic
141* msgHTML now uses RFC2392-compliant content ids
142* Add line break normalization function and use it in msgHTML
143* Don't set unnecessary reply-to addresses
144* Make fakesendmail.sh a bit cleaner and safer
145* Set a content-transfer-encoding on multiparts (fixes msglint error)
146* Fix cid generation in msgHTML (Thanks to @digitalthought)
147* Fix handling of multiple SMTP servers (Thanks to @NanoCaiordo)
148* SMTP->connect() now supports stream context options (Thanks to @stanislavdavid)
149* Add support for iCal event alternatives (Thanks to @reblutus)
150* Update to Polish language file (Thanks to Krzysztof Kowalewski)
151* Update to Norwegian language file (Thanks to @datagutten)
152* Update to Hungarian language file (Thanks to @dominicus-75)
153* Add Persian/Farsi translation from @jaii
154* Make SMTPDebug property type match type in SMTP class
155* Add unit tests for DKIM
156* Major refactor of SMTP class
157* Reformat to PSR-2 coding standard
158* Introduce autoloader
159* Allow overriding of SMTP class
160* Overhaul of PHPDocs
161* Fix broken Q-encoding
162* Czech language update (Thanks to @nemelu)
163* Removal of excess blank lines in messages
164* Added fake POP server and unit tests for POP-before-SMTP
165
166## Version 5.2.6 (April 11th 2013)
167* Reflect move to PHPMailer GitHub organisation at https://github.com/PHPMailer/PHPMailer
168* Fix unbumped version numbers
169* Update packagist.org with new location
170* Clean up Changelog
171
172## Version 5.2.5 (April 6th 2013)
173* First official release after move from Google Code
174* Fixes for qmail when sending via mail()
175* Merge in changes from Google code 5.2.4 release
176* Minor coding standards cleanup in SMTP class
177* Improved unit tests, now tests S/MIME signing
178* Travis-CI support on GitHub, runs tests with fake SMTP server
179
180## Version 5.2.4 (February 19, 2013)
181* Fix tag and version bug.
182* un-deprecate isSMTP(), isMail(), IsSendmail() and isQmail().
183* Numerous translation updates
184
185## Version 5.2.3 (February 8, 2013)
186* Fix issue with older PCREs and ValidateAddress() (Bugz: 124)
187* Add CRAM-MD5 authentication, thanks to Elijah madden, https://github.com/okonomiyaki3000
188* Replacement of obsolete Quoted-Printable encoder with a much better implementation
189* Composer package definition
190* New language added: Hebrew
191
192## Version 5.2.2 (December 3, 2012)
193* Some fixes and syncs from https://github.com/Synchro/PHPMailer
194* Add Slovak translation, thanks to Michal Tinka
195
196## Version 5.2.2-rc2 (November 6, 2012)
197* Fix SMTP server rotation (Bugz: 118)
198* Allow override of autogen'ed 'Date' header (for Drupal's
199 og_mailinglist module)
200* No whitespace after '-f' option (Bugz: 116)
201* Work around potential warning (Bugz: 114)
202
203## Version 5.2.2-rc1 (September 28, 2012)
204* Header encoding works with long lines (Bugz: 93)
205* Turkish language update (Bugz: 94)
206* undefined $pattern in EncodeQ bug squashed (Bugz: 98)
207* use of mail() in safe_mode now works (Bugz: 96)
208* ValidateAddress() now 'public static' so people can override the
209 default and use their own validation scheme.
210* ValidateAddress() no longer uses broken FILTER_VALIDATE_EMAIL
211* Added in AUTH PLAIN SMTP authentication
212
213## Version 5.2.2-beta2 (August 17, 2012)
214* Fixed Postfix VERP support (Bugz: 92)
215* Allow action_function callbacks to pass/use
216 the From address (passed as final param)
217* Prevent inf look for get_lines() (Bugz: 77)
218* New public var ($UseSendmailOptions). Only pass sendmail()
219 options iff we really are using sendmail or something sendmail
220 compatible. (Bugz: 75)
221* default setting for LE returned to "\n" due to popular demand.
222
223## Version 5.2.2-beta1 (July 13, 2012)
224* Expose PreSend() and PostSend() as public methods to allow
225 for more control if serializing message sending.
226* GetSentMIMEMessage() only constructs the message copy when
227 needed. Save memory.
228* Only pass params to mail() if the underlying MTA is
229 "sendmail" (as defined as "having the string sendmail
230 in its pathname") [#69]
231* Attachments now work with Amazon SES and others [Bugz#70]
232* Debug output now sent to stdout (via echo) or error_log [Bugz#5]
233* New var: Debugoutput (for above) [Bugz#5]
234* SMTP reads now Timeout aware (new var: Timeout=15) [Bugz#71]
235* SMTP reads now can have a Timelimit associated with them
236 (new var: Timelimit=30)[Bugz#71]
237* Fix quoting issue associated with charsets
238* default setting for LE is now RFC compliant: "\r\n"
239* Return-Path can now be user defined (new var: ReturnPath)
240 (the default is "" which implies no change from previous
241 behavior, which was to use either From or Sender) [Bugz#46]
242* X-Mailer header can now be disabled (by setting to a
243 whitespace string, eg " ") [Bugz#66]
244* Bugz closed: #68, #60, #42, #43, #59, #55, #66, #48, #49,
245 #52, #31, #41, #5. #70, #69
246
247## Version 5.2.1 (January 16, 2012)
ccff58da 248* Closed several bugs #5
0747daba
PS
249* Performance improvements
250* MsgHTML() now returns the message as required.
251* New method: GetSentMIMEMessage() (returns full copy of sent message)
252
29bf99fd 253## Version 5.2 (July 19, 2011)
0747daba
PS
254* protected MIME body and header
255* better DKIM DNS Resource Record support
256* better aly handling
257* htmlfilter class added to extras
258* moved to Apache Extras
259
29bf99fd 260## Version 5.1 (October 20, 2009)
6ad1100f
PS
261* fixed filename issue with AddStringAttachment (thanks to Tony)
262* fixed "SingleTo" property, now works with Senmail, Qmail, and SMTP in
263 addition to PHP mail()
29bf99fd 264* added DKIM digital signing functionality, new properties:
6ad1100f
PS
265 - DKIM_domain (sets the domain name)
266 - DKIM_private (holds DKIM private key)
267 - DKIM_passphrase (holds your DKIM passphrase)
268 - DKIM_selector (holds the DKIM "selector")
269 - DKIM_identity (holds the identifying email address)
270* added callback function support
271 - callback function parameters include:
272 result, to, cc, bcc, subject and body
29bf99fd 273 - see the test/test_callback.php file for usage.
6ad1100f
PS
274* added "auto" identity functionality
275 - can automatically add:
276 - Return-path (if Sender not set)
277 - Reply-To (if ReplyTo not set)
278 - can be disabled:
279 - $mail->SetFrom('yourname@yourdomain.com','First Last',false);
280 - or by adding the $mail->Sender and/or $mail->ReplyTo properties
6ad1100f 281
29bf99fd
PS
282Note: "auto" identity added to help with emails ending up in spam or junk boxes because of missing headers
283
284## Version 5.0.2 (May 24, 2009)
6ad1100f
PS
285* Fix for missing attachments when inline graphics are present
286* Fix for missing Cc in header when using SMTP (mail was sent,
29bf99fd 287 but not displayed in header -- Cc receiver only saw email To:
6ad1100f
PS
288 line and no Cc line, but did get the email (To receiver
289 saw same)
290
29bf99fd 291## Version 5.0.1 (April 05, 2009)
6ad1100f
PS
292* Temporary fix for missing attachments
293
29bf99fd
PS
294## Version 5.0.0 (April 02, 2009)
295With the release of this version, we are initiating a new version numbering
296system to differentiate from the PHP4 version of PHPMailer.
297Most notable in this release is fully object oriented code.
6ad1100f 298
29bf99fd 299### class.smtp.php:
6ad1100f 300* Refactored class.smtp.php to support new exception handling
29bf99fd 301* code size reduced from 29.2 Kb to 25.6 Kb
6ad1100f 302* Removed unnecessary functions from class.smtp.php:
29bf99fd
PS
303 - public function Expand($name) {
304 - public function Help($keyword="") {
305 - public function Noop() {
306 - public function Send($from) {
307 - public function SendOrMail($from) {
308 - public function Verify($name) {
309
310### class.phpmailer.php:
6ad1100f
PS
311* Refactored class.phpmailer.php with new exception handling
312* Changed processing functionality of Sendmail and Qmail so they cannot be
313 inadvertently used
314* removed getFile() function, just became a simple wrapper for
315 file_get_contents()
316* added check for PHP version (will gracefully exit if not at least PHP 5.0)
6ad1100f
PS
317* enhanced code to check if an attachment source is the same as an embedded or
318 inline graphic source to eliminate duplicate attachments
6ad1100f 319
29bf99fd
PS
320### New /test_script
321We have written a test script you can use to test the script as part of your
322installation. Once you press submit, the test script will send a multi-mime
323email with either the message you type in or an HTML email with an inline
324graphic. Two attachments are included in the email (one of the attachments
325is also the inline graphic so you can see that only one copy of the graphic
326is sent in the email). The test script will also display the functional
327script that you can copy/paste to your editor to duplicate the functionality.
328
329### New examples
330All new examples in both basic and advanced modes. Advanced examples show
331 Exception handling.
332
333### PHPDocumentator (phpdocs) documentation for PHPMailer version 5.0.0
334All new documentation
335
336## Version 2.3 (November 06, 2008)
6ad1100f
PS
337* added Arabic language (many thanks to Bahjat Al Mostafa)
338* removed English language from language files and made it a default within
339 class.phpmailer.php - if no language is found, it will default to use
340 the english language translation
341* fixed public/private declarations
342* corrected line 1728, $basedir to $directory
343* added $sign_cert_file to avoid improper duplicate use of $sign_key_file
344* corrected $this->Hello on line 612 to $this->Helo
345* changed default of $LE to "\r\n" to comply with RFC 2822. Can be set by the user
346 if default is not acceptable
347* removed trim() from return results in EncodeQP
348* /test and three files it contained are removed from version 2.3
349* fixed phpunit.php for compliance with PHP5
350* changed $this->AltBody = $textMsg; to $this->AltBody = html_entity_decode($textMsg);
351* We have removed the /phpdoc from the downloads. All documentation is now on
352 the http://phpmailer.codeworxtech.com website.
353
29bf99fd 354## Version 2.2.1 () July 19 2008
6ad1100f
PS
355* fixed line 1092 in class.smtp.php (my apologies, error on my part)
356
29bf99fd 357## Version 2.2 () July 15 2008
6ad1100f
PS
358* Fixed redirect issue (display of UTF-8 in thank you redirect)
359* fixed error in getResponse function declaration (class.pop3.php)
360* PHPMailer now PHP6 compliant
361* fixed line 1092 in class.smtp.php (endless loop from missing = sign)
362
29bf99fd
PS
363## Version 2.1 (Wed, June 04 2008)
364NOTE: 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.
6ad1100f
PS
365
366* added S/MIME functionality (ability to digitally sign emails)
367 BIG THANKS TO "sergiocambra" for posting this patch back in November 2007.
368 The "Signed Emails" functionality adds the Sign method to pass the private key
369 filename and the password to read it, and then email will be sent with
370 content-type multipart/signed and with the digital signature attached.
371* fully compatible with E_STRICT error level
372 - Please note:
373 In about half the test environments this development version was subjected
374 to, an error was thrown for the date() functions used (line 1565 and 1569).
375 This is NOT a PHPMailer error, it is the result of an incorrectly configured
376 PHP5 installation. The fix is to modify your 'php.ini' file and include the
ccff58da 377 date.timezone = Etc/UTC (or your own zone)
6ad1100f
PS
378 directive, to your own server timezone
379 - If you do get this error, and are unable to access your php.ini file:
380 In your PHP script, add
ccff58da 381 `date_default_timezone_set('Etc/UTC');`
29bf99fd
PS
382 - do not try to use
383 `$myVar = date_default_timezone_get();`
6ad1100f
PS
384 as a test, it will throw an error.
385* added ability to define path (mainly for embedded images)
29bf99fd
PS
386 function `MsgHTML($message,$basedir='')` ... where:
387 `$basedir` is the fully qualified path
388* fixed `MsgHTML()` function:
389 - Embedded Images where images are specified by `<protocol>://` will not be altered or embedded
6ad1100f
PS
390* fixed the return value of SMTP exit code ( pclose )
391* addressed issue of multibyte characters in subject line and truncating
392* added ability to have user specified Message ID
393 (default is still that PHPMailer create a unique Message ID)
394* corrected unidentified message type to 'application/octet-stream'
395* fixed chunk_split() multibyte issue (thanks to Colin Brown, et al).
396* added check for added attachments
397* enhanced conversion of HTML to text in MsgHTML (thanks to "brunny")
398
29bf99fd 399## Version 2.1.0beta2 (Sun, Dec 02 2007)
6ad1100f
PS
400* implemented updated EncodeQP (thanks to coolbru, aka Marcus Bointon)
401* finished all testing, all known bugs corrected, enhancements tested
6ad1100f 402
29bf99fd 403Note: will NOT work with PHP4.
6ad1100f 404
29bf99fd
PS
405Please note, this is BETA software **DO NOT USE THIS IN PRODUCTION OR LIVE PROJECTS; INTENDED STRICTLY FOR TESTING**
406
407## Version 2.1.0beta1
408Please note, this is BETA software
6ad1100f 409** DO NOT USE THIS IN PRODUCTION OR LIVE PROJECTS
29bf99fd 410 INTENDED STRICTLY FOR TESTING
6ad1100f 411
29bf99fd 412## Version 2.0.0 rc2 (Fri, Nov 16 2007), interim release
6ad1100f
PS
413* implements new property to control VERP in class.smtp.php
414 example (requires instantiating class.smtp.php):
415 $mail->do_verp = true;
416* POP-before-SMTP functionality included, thanks to Richard Davey
417 (see class.pop3.php & pop3_before_smtp_test.php for examples)
418* included example showing how to use PHPMailer with GMAIL
419* fixed the missing Cc in SendMail() and Mail()
420
29bf99fd 421## Version 2.0.0 rc1 (Thu, Nov 08 2007), interim release
6ad1100f
PS
422* dramatically simplified using inline graphics ... it's fully automated and requires no user input
423* added automatic document type detection for attachments and pictures
424* added MsgHTML() function to replace Body tag for HTML emails
425* fixed the SendMail security issues (input validation vulnerability)
426* enhanced the AddAddresses functionality so that the "Name" portion is used in the email address
427* removed the need to use the AltBody method (set from the HTML, or default text used)
428* set the PHP Mail() function as the default (still support SendMail, SMTP Mail)
429* removed the need to set the IsHTML property (set automatically)
430* added Estonian language file by Indrek P&auml;ri
431* added header injection patch
432* added "set" method to permit users to create their own pseudo-properties like 'X-Headers', etc.
6ad1100f 433* fixed warning message in SMTP get_lines method
ccff58da 434* added TLS/SSL SMTP support.
6ad1100f
PS
435* PHPMailer has been tested with PHP4 (4.4.7) and PHP5 (5.2.7)
436* Works with PHP installed as a module or as CGI-PHP
29bf99fd 437NOTE: will NOT work with PHP5 in E_STRICT error mode
6ad1100f 438
29bf99fd 439## Version 1.73 (Sun, Jun 10 2005)
6ad1100f
PS
440* Fixed denial of service bug: http://www.cybsec.com/vuln/PHPMailer-DOS.pdf
441* Now has a total of 20 translations
442* Fixed alt attachments bug: http://tinyurl.com/98u9k
443
29bf99fd 444## Version 1.72 (Wed, May 25 2004)
6ad1100f
PS
445* Added Dutch, Swedish, Czech, Norwegian, and Turkish translations.
446* Received: Removed this method because spam filter programs like
29bf99fd 447 SpamAssassin reject this header.
6ad1100f
PS
448* Fixed error count bug.
449* SetLanguage default is now "language/".
450* Fixed magic_quotes_runtime bug.
451
29bf99fd 452## Version 1.71 (Tue, Jul 28 2003)
6ad1100f
PS
453* Made several speed enhancements
454* Added German and Italian translation files
455* Fixed HELO/AUTH bugs on keep-alive connects
456* Now provides an error message if language file does not load
457* Fixed attachment EOL bug
458* Updated some unclear documentation
459* Added additional tests and improved others
460
29bf99fd 461## Version 1.70 (Mon, Jun 20 2003)
6ad1100f
PS
462* Added SMTP keep-alive support
463* Added IsError method for error detection
464* Added error message translation support (SetLanguage)
465* Refactored many methods to increase library performance
466* Hello now sends the newer EHLO message before HELO as per RFC 2821
467* Removed the boundary class and replaced it with GetBoundary
468* Removed queue support methods
469* New $Hostname variable
470* New Message-ID header
471* Received header reformat
472* Helo variable default changed to $Hostname
473* Removed extra spaces in Content-Type definition (#667182)
474* Return-Path should be set to Sender when set
475* Adds Q or B encoding to headers when necessary
476* quoted-encoding should now encode NULs \000
477* Fixed encoding of body/AltBody (#553370)
478* Adds "To: undisclosed-recipients:;" when all recipients are hidden (BCC)
479* Multiple bug fixes
480
29bf99fd 481## Version 1.65 (Fri, Aug 09 2002)
6ad1100f
PS
482* Fixed non-visible attachment bug (#585097) for Outlook
483* SMTP connections are now closed after each transaction
484* Fixed SMTP::Expand return value
485* Converted SMTP class documentation to phpDocumentor format
486
29bf99fd 487## Version 1.62 (Wed, Jun 26 2002)
6ad1100f
PS
488* Fixed multi-attach bug
489* Set proper word wrapping
490* Reduced memory use with attachments
491* Added more debugging
492* Changed documentation to phpDocumentor format
493
29bf99fd 494## Version 1.60 (Sat, Mar 30 2002)
6ad1100f
PS
495* Sendmail pipe and address patch (Christian Holtje)
496* Added embedded image and read confirmation support (A. Ognio)
497* Added unit tests
498* Added SMTP timeout support (*nix only)
499* Added possibly temporary PluginDir variable for SMTP class
500* Added LE message line ending variable
501* Refactored boundary and attachment code
502* Eliminated SMTP class warnings
503* Added SendToQueue method for future queuing support
504
29bf99fd 505## Version 1.54 (Wed, Dec 19 2001)
6ad1100f
PS
506* Add some queuing support code
507* Fixed a pesky multi/alt bug
508* Messages are no longer forced to have "To" addresses
509
29bf99fd 510## Version 1.50 (Thu, Nov 08 2001)
6ad1100f
PS
511* Fix extra lines when not using SMTP mailer
512* Set WordWrap variable to int with a zero default
513
29bf99fd 514## Version 1.47 (Tue, Oct 16 2001)
6ad1100f
PS
515* Fixed Received header code format
516* Fixed AltBody order error
517* Fixed alternate port warning
518
29bf99fd 519## Version 1.45 (Tue, Sep 25 2001)
6ad1100f
PS
520* Added enhanced SMTP debug support
521* Added support for multiple ports on SMTP
522* Added Received header for tracing
523* Fixed AddStringAttachment encoding
524* Fixed possible header name quote bug
525* Fixed wordwrap() trim bug
526* Couple other small bug fixes
527
29bf99fd 528## Version 1.41 (Wed, Aug 22 2001)
6ad1100f
PS
529* Fixed AltBody bug w/o attachments
530* Fixed rfc_date() for certain mail servers
531
29bf99fd 532## Version 1.40 (Sun, Aug 12 2001)
6ad1100f
PS
533* Added multipart/alternative support (AltBody)
534* Documentation update
535* Fixed bug in Mercury MTA
536
29bf99fd 537## Version 1.29 (Fri, Aug 03 2001)
6ad1100f
PS
538* Added AddStringAttachment() method
539* Added SMTP authentication support
540
29bf99fd 541## Version 1.28 (Mon, Jul 30 2001)
6ad1100f
PS
542* Fixed a typo in SMTP class
543* Fixed header issue with Imail (win32) SMTP server
544* Made fopen() calls for attachments use "rb" to fix win32 error
545
29bf99fd 546## Version 1.25 (Mon, Jul 02 2001)
6ad1100f
PS
547* Added RFC 822 date fix (Patrice)
548* Added improved error handling by adding a $ErrorInfo variable
549* Removed MailerDebug variable (obsolete with new error handler)
550
29bf99fd 551## Version 1.20 (Mon, Jun 25 2001)
6ad1100f
PS
552* Added quoted-printable encoding (Patrice)
553* Set Version as public and removed PrintVersion()
554* Changed phpdoc to only display public variables and methods
555
29bf99fd 556## Version 1.19 (Thu, Jun 21 2001)
6ad1100f
PS
557* Fixed MS Mail header bug
558* Added fix for Bcc problem with mail(). *Does not work on Win32*
559 (See PHP bug report: http://www.php.net/bugs.php?id=11616)
560* mail() no longer passes a fifth parameter when not needed
561
29bf99fd
PS
562## Version 1.15 (Fri, Jun 15 2001)
563Note: these changes contributed by Patrice Fournier
6ad1100f 564* Changed all remaining \n to \r\n
ec9e2d04 565* Bcc: header no longer written to message except
29bf99fd 566 when sent directly to sendmail
6ad1100f
PS
567* Added a small message to non-MIME compliant mail reader
568* Added Sender variable to change the Sender email
29bf99fd 569 used in -f for sendmail/mail and in 'MAIL FROM' for smtp mode
6ad1100f
PS
570* Changed boundary setting to a place it will be set only once
571* Removed transfer encoding for whole message when using multipart
572* Message body now uses Encoding in multipart messages
573* Can set encoding and type to attachments 7bit, 8bit
29bf99fd 574 and binary attachment are sent as is, base64 are encoded
6ad1100f 575* Can set Encoding to base64 to send 8 bits body
29bf99fd 576 through 7 bits servers
6ad1100f 577
29bf99fd 578## Version 1.10 (Tue, Jun 12 2001)
6ad1100f
PS
579* Fixed win32 mail header bug (printed out headers in message body)
580
29bf99fd 581## Version 1.09 (Fri, Jun 08 2001)
6ad1100f
PS
582* Changed date header to work with Netscape mail programs
583* Altered phpdoc documentation
584
29bf99fd 585## Version 1.08 (Tue, Jun 05 2001)
6ad1100f
PS
586* Added enhanced error-checking
587* Added phpdoc documentation to source
588
29bf99fd 589## Version 1.06 (Fri, Jun 01 2001)
6ad1100f
PS
590* Added optional name for file attachments
591
29bf99fd 592## Version 1.05 (Tue, May 29 2001)
6ad1100f
PS
593* Code cleanup
594* Eliminated sendmail header warning message
595* Fixed possible SMTP error
596
29bf99fd 597## Version 1.03 (Thu, May 24 2001)
6ad1100f
PS
598* Fixed problem where qmail sends out duplicate messages
599
29bf99fd 600## Version 1.02 (Wed, May 23 2001)
6ad1100f
PS
601* Added multiple recipient and attachment Clear* methods
602* Added Sendmail public variable
603* Fixed problem with loading SMTP library multiple times
604
29bf99fd 605## Version 0.98 (Tue, May 22 2001)
6ad1100f
PS
606* Fixed problem with redundant mail hosts sending out multiple messages
607* Added additional error handler code
608* Added AddCustomHeader() function
609* Added support for Microsoft mail client headers (affects priority)
610* Fixed small bug with Mailer variable
611* Added PrintVersion() function
612
29bf99fd 613## Version 0.92 (Tue, May 15 2001)
6ad1100f
PS
614* Changed file names to class.phpmailer.php and class.smtp.php to match
615 current PHP class trend.
616* Fixed problem where body not being printed when a message is attached
617* Several small bug fixes
618
29bf99fd
PS
619## Version 0.90 (Tue, April 17 2001)
620* Initial public release