-
Notifications
You must be signed in to change notification settings - Fork 60
/
ChangeLog
692 lines (510 loc) · 28.6 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
1.9.7 - Tuesday 20 August 2024
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Fixed #93: Define ezcMail{Pop3,Imap}Set::$connection property to avoid
deprecation notice.
- Fixed #94: PHP 8.4: Fix the 'Implicitly marking parameter $ as nullable is
deprecated' warning. (Eileen McNaughton)
1.9.6 - Thursday 14 September 2023
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Fixed #90: Allow longer email addresses than the SMTP spec allows for
Return-Path.
1.9.5 - Wednesday 06 September 2023
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Fixed tests.
- Fixed #87: Use filter_var(FILTER_VALIDATE_EMAIL) instead of homegrown
validation for email addresses.
1.9.4 - Wednesday 14 September 2022
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Fixed #89: Deprecation warning with PHP 8.x. (Eileen McNaughton)
1.9.3 - Tuesday 09 August 2022
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Fixed #88: Support for PHP 8.1/8.2 and PHPUnit 8.0 compatibility fixes.
- Fixed: Update regex for return path to allow for a single quote to be
included in the email as permitted by the RFC. (Seamus Lee)
1.9.2 - Saturday 13 June 2020
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Fixed #45: File name too long when parsing attachments.
- Fixed #66: Attachment filename too long.
- Fixed #80: Fixed bug in openFile() function. (Michael Kliewe)
- Fixed #82: Fix issue where using array_key_exists on an object is deprecated
in PHP 7.4. (Seamus Lee)
1.9.1 - Friday 17 January 2020
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Fixed syntax errors introduced in 1.9.0.
1.9.0 - Thursday 16 January 2020
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Fixed #31: Provide a listLimit option to prevent fetch queries from exceeding
the server's query size limit. (Mark Burdett)
- Fixed #77: Curly-brace syntax for array and string access is deprecated in
PHP 7.4
- Add support for XOAUTH2 authentication method for IMAP. (Seamus Lee)
1.8.4 - Thursday 17 October 2019
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Fixed #51: User names and passwords need to be escaped if they contain
spaces. (Mark Burdett)
- Fixed #61: create_function() is deprecated in PHP 7.2. (Derick Rethans)
- Fixed implode() argument order. (Michael Kliewe)
- Fixed regexp patterns for PHP 7.3 and later. (Derick Rethans)
1.8.3 - Saturday 18 November 2017
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Fixed 'Undefined offset: -1' notice when parsing Delivery Status parts
(Marcel Toben, Daniel Tschinder).
- Fix error when trying to access email from null (Daniel Tschinder).
- Checking if variable is resource mitigates against possible PHP Object
Injection exploits (Casper Langemeijer).
- Fixed a code-bug when counting parts for RFC2231 reading (Derick Rethans).
1.8.2 - Sunday 12 November 2017
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Added support for XOAUTH2 authentication method for SMTP transport (Ian
Berry).
- Fixed a bug with a space around file names in Content-Disposition headers
(Alexey Alyoshin)
- Allow ezcMailVirtualFile and ezcMailStreamFile to be handled in
ezcMail::walkParts (Brend Rathmanner)
- Fixed empty filename in file_parser (Michael Kliewe)
- Update STARTTLS parsing to allow "250 STARTTLS" (John Corser)/\t
- Fixed issue #58: Restrict the set of characters that can be used as the email
address for the ezcMail returnPath property. (CVE-2017-15806, reported by
"Kay")
1.8.1 - Tuesday 04 November 2014
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Fixed double folding on e-mail headers.
- Make ezcMailComposer::generateHtmlPart protected instead of private.
- Fixed issues with NTML authentication.
- Fixed issues with TLS sessions and unencrypted SMTP connections.
1.8 - Saturday 27 September 2014
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- fixed mailbox names with spaces not being properly quoted
- Fixed bug parsing img tags in the html
- Trim header values before they are being set in the headers_holder
- Fixed #16154: Bcc headers are not stripped when using SMTP.
- Fixed #16347: Inline images in the mail composer are not added other
attributes precede the src attribute.
- Fixed #16348: Adding inline images in the mail composer with whitespace in
the path fails.
- Fixed #16470: Mail test suite causes fatal errors because of transport
errors in destructor.
- Fixed #ZETACOMP-75: Mail parser doesn't understand uppercase "CHARSET" that
alpine uses.
- Fixed #ZETACOMP-76: MailTools::replyTo will always use REPLY_ALL instead of
distinguishing between REPLY_ALL and REPLY_SENDER.
- Fixed #ZETACOMP-77: Mail still uses "eZ Components" as User-Agent, which
should be "Apache Zeta Components".
- Fixed #7: PREG_REPLACE_EVAL is deprecated, use preg_replace_callback
- Fixed #8: Fixed header Mime encoding failing using multi-byte characters
- Fixed #9: Fixed composer.json to use dev-master for unit-test component,
since there is no stable release of it.
1.7 - Monday 21 December 2009
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- No changes.
1.7rc1 - Monday 07 December 2009
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- No changes.
1.7beta1 - Monday 23 November 2009
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Fixed issue #15837: imap.google.com (google gmail) changed IMAP response.
1.7alpha1 - Monday 09 November 2009
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Fixed test cases for PHP 5.3 and later.
- Implemented feature request #14023: Split ezcMailComposer's addAttachment
into a function for adding file attachments and for adding attachments from
strings.
- Implemented feature request #14257: Problem accessing multiple headers with
same headername.
- Implemented feature request #14487: Enable ezcMailComposer to specify
encoding for text and html parts.
- Implemented feature request #14794: Add an option to parse text attachments
as file part instead of text part.
- Fixed issue #15341: ezcMailFileParser class function appendStreamFilters not
working properly for quoted-printable.
- Fixed issue #15456: Problems with parsing emails that have "charset = "
instead of "charset=".
1.6.3 - Monday 22 June 2009
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Fixed issue #15068: false ezcMail tests. Based on a patch from Thomas Koch.
1.6.2 - Monday 11 May 2009
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Fixed issue #14776: ezcMailStorageSet generates bad file names.
1.6.1 - Monday 09 February 2009
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Fixed issue #14242: Cannot append email through IMAP.
- Fixed issue #14360: problems with $imap->top() command in gmail.
1.6 - Monday 05 January 2009
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Fixed issue #14220: File attachments mess up emails without body text.
1.6rc1 - Monday 15 December 2008
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Fixed issue #14025: Problem with ezcMailComposer::addAttachment when use the
fifth param to change the file name.
1.6beta1 - Monday 01 December 2008
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Fixed issue #14009: ezcMailTools::validateEmailAddressMx() uses wrong HELO
domain name.
- The function ezcMailTools::validateEmailAddressMx() throws an exception if
there is no support for getmxrr() and checkdnsrr().
- Altered the ezcMailTools::validateEmailAddress() regexp to protect against
locale issues.
1.6alpha1 - Monday 10 November 2008
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Implemented issue #13383: Add a method to extract/change/replace entities in
HTML mail with the CID elements replaced.
- Implemented feature request #13539: Add new mail parser option fileClass.
- Fixed issue #13878: Endless loop in ezcMailParser.
1.5.2 - Monday 06 October 2008
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Fixed an issue that caused the part boundaries from e-mail messages not
being correctly set in the parsed mail structure. Instead an auto-generated
one was used.
- Fixed issue #13553: Documented how to access the raw value of headers.
- Implemented feature request #13538: Added possibility to set a custom
message in mail multiparts for e-mail clients missing MIME support.
1.5.1 - Monday 04 August 2008
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Fixed issue #13329: ezcMail fetchParts() no longer generates an error when
parsing a mail with an empty body.
- Fixed a special case in sortFromOffset() where $range was undefined.
- Fixed an issue with duplicate properties arrays in mail part descendants.
1.5 - Monday 16 June 2008
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- No changes.
1.5rc1 - Tuesday 10 June 2008
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Fixed issue #13038: Added support for non-ascii and mime-emcoded (non-RFC)
filenames for mail attachments.
1.5beta1 - Tuesday 27 May 2008
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Fixed issue #13010: The transport connection handles correcly cases where
CRLF is split in 2 different blocks read from server.
1.5alpha1 - Monday 05 May 2008
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Fixed issue #12844: getTmpDir() not properly set in Windows.
- Fixed issue #12903: The mail digest size is not calculated twice anymore.
- Fixed issue #12930: The SMTP authentication methods are used in correct
strength order now.
- Implemented feature request #11937: Switch to turn off automatic inclusion
of files with the Mail Composer.
- Implemented feature request #12203: Replaced hard-coded paths for temporary
directory with the PHP 5.2.1 function sys_get_temp_dir().
- Implemented feature request #12694: Replace reflection test for class type
with SPL function.
1.4.3 - Monday 03 March 2008
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Fixed issue #12595: Folding is no longer applied twice for To, Cc and Bcc
headers.
1.4.2 - Thursday 17 January 2008
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Fixed issue #12372: MTA transport does not encode subject.
1.4.1 - Monday 14 January 2008
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Fixed issue #12318: Unsafe characters are replaces by underscores in
attachment file names during mail parsing.
1.4 - Monday 17 December 2007
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- No changes
1.4rc1 - Wednesday 05 December 2007
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Fixed issue #12138: Mail's IMAP transport can hang when connection gets
dropped.
1.4beta1 - Wednesday 28 November 2007
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Fixed issue #11906: Only files inside an image tag are attached to the
composed email.
- Fixed issue #11965: Reading from a transport connection is stopped at CRLF
or a problem in the connection, and not after a hard-coded number of loops.
- Fixed issue #12062: Mails with no space or tabs after the colon in headers
are parsed correctly now.
1.4alpha2 - Monday 29 October 2007
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Fixed issue #11582: ezcMailImapSet won't be caught in an infinite loop if
the mail headers or body contain an IMAP tag.
- The IMAP, POP3 and SMTP transports and the ezcMailParser class can receive
options objects in the constructor. They can still receive options as arrays
to keep compatibility.
1.4alpha1 - Tuesday 18 September 2007
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Implemented feature request #8436: Added the method validateEmailAddress()
in ezcMailTools.
- Implemented feature request #10459: Added the searchMailbox() method to the
IMAP transport. Based on a patch from Sinisa Dukaric.
- Implemented feature request #10659: Added the getHierarchyDelimiter() method
to the IMAP transport.
- Implemented feature request #10996: Added support for the SMTP authentication
methods DIGEST-MD5, CRAM-MD5, NTLM and LOGIN.
- Implemented feature request #10999: Added the possibility to refer to
messages by their unique IDs in IMAP.
- Implemented feature request #11061: Added missing conditions for SMTP
methods.
- Implemented feature request #11299: Added an optional argument to the
setHeader() method in ezcMailPart to assign a charset to a header.
- Added the fetchSizes() method in IMAP which returns the sizes of the
specified messages.
1.3.1 - Monday 30 July 2007
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Fixed issue #11175: ezcMailTools::composeEmailAddress quotes the name part
if it contains special characters ( , @ < > : ; ' " ).
- Fixed issue #11174: ezcMailHeaderFolder::foldAny doesn't add a line break in
front of the header value if it is exactly 76 characters.
1.3 - Monday 02 July 2007
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- No changes.
1.3rc1 - Monday 25 June 2007
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Documentation updates and fixes.
1.3beta2 - Thursday 31 May 2007
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Fixed issue #10762: Mail file set does not work with php://stdin.
1.3beta1 - Monday 07 May 2007
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Added walkParts() to ezcMail and the class ezcMailPartWalkContext which can
be used to walk through all the parts in a mail and execute a callback
function on each part (for example save mail parts to disk or a database).
- Added support for multipart/report and message/delivery-status mail parts,
connected to issue #8694.
- Added header folding for the Content-Disposition header.
- Fixed an issue with ezcMailHeaderFolder::foldAny() where notices were thrown
if the header contained a too long string without any white spaces.
- Fixed issue #10656: Parsing of incomplete multipart/related mails does not
trigger a notice anymore.
- Fixed ezcMailTransportException to inherit from ezcMailException, and not
directly from ezcBaseException.
- Implemented feature #8303: Added fetchParts() to ezcMail to return the mail
parts of a mail.
- Implemented feature #8419: added the property size to ezcMailPart,
which is set when parsing a mail.
- Implemented feature #8485: added the ezcMailStorageSet which wraps
around another set and provides saving of mail sources.
- Implemented feature #9068: added support for filename language and
filename charset support for the Content-Disposition header.
- Implemented feature #9292: added SSL support for IMAP and POP3.
Based on a patch from Mikko Koppanen.
- Implemented feature #9308: added option classes for transports.
- Implemented feature #9785: Allow developers to specify their own
character conversion function to UTF-8. Also fixed issue #8369 as developers
can ignore the notices thrown by iconv in their own conversion function.
- Implemented feature #10068: added a list of supported RFCs to the
documentation.
- Implemented feature #10082: added options class ezcMailParserOptions
and deprecated second parameter of parseMail() in ezcMailParser.
- Implemented feature #10091: added SSL/TLS support for the SMTP
transport. Based on a patch from Christian Michel.
- Implemented feature #10340: More selective encoding of mail headers.
- Implemented feature #10341: MixedPart mail without attachments -
Documentation enhancement
- Implemented feature #10682: The IMAP PEEK command is now supported
through the top() method. Added PEEK support to sortMessages() also.
- Fixed a problem with certain IMAP servers which didn't allow the second
parameter of top() method from IMAP to be 0.
1.2.1 - [RELEASEDATE]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Added ezcMailTools::guessContentType to resolve a bug in which the images
embeded in an html part were treated like application/octet-stream
attachments.
- Fixed bug #010138: Doc of ezcMailMultipartDigest->__construct() incorrect
(The documentation was correct, the implementation was wrong.)
- Fixed issue #10283: ImapSet does not return the trailing parenthesis ')'.
- Fixed issue #10312: Fixed the value of ezcMail::QUOTED_PRINTABLE constant.
- Fixed issue #10200 (part 1): Content-Disposition header is no longer created
during parsing if it is missing.
- Fixed issue #10200 (part 2): The value of the generated Content-ID header
contains the filename encoded with base64 to avoid problems.
- Fixed issue #10136: ezcMailImapSet, ezcMailPop3Set and ezcMailMboxSet not
marked as private anymore.
- Fixed issue #10358: correct call to the ezcMailTextParser constructor in
case the parsed message contains an unrecognized MIME main type.
- Fixed issue #10389: tab characters are converted to one space when parsing
mails with wrapped headers.
- Fixed issue #10359: unrecognized mail body parts are parsed using the
ezcMailFileParser.
- Fixed issue #10396: Method convertToUTF8 assumes 'latin1' charset instead of
'unknown-8bit' and 'x-user-defined'.
1.2 - Monday 18 December 2006
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- No changes.
1.2beta2 - Monday 20 November 2006
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Added feature #9079: The ability to add mail attachments using streams.
- Added feature #9100: The ability to set the character set in the
composer for text and HTML parts.
- Added feature #9331: Added the returnPath property in ezcMail to set the
envelope address while sending mail with the SMTP and MTA transports.
- Added feature #9334: Added the getMessageNumbers() method to the IMAP and
POP3 sets to return message numbers. Patch by Mikko Koppanen.
- Fixed an issue in ezcMailPart: When setting the headers property the wrong
exception was thrown.
- Fixed bug #9042: added __isset() method to classes that use properties.
- Fixed bug #9442: added missing hasData() method to ezcMailVariableSet.
- Various additions to the IMAP Transport:
* Added features #9171, #9172, #9206, #9228: Added the fetchByFlag(),
countByFlag(), setFlag(), clearFlag() methods. Patches by Mikko Koppanen.
* Added feature #9173: Changed the status() method to also return the number
of recent and unseen messages.
* Added features #9212 and #9228: Added the createMailbox(), renameMailbox(),
deleteMailbox() and copyMessages() methods. Patches by Mikko Koppanen.
* Added feature #9229: Added a parameter to selectMailbox to select a mail
box in readonly mode. Patch by Mikko Koppanen.
* Added feature #9333: Added the sortMessages(), sortFromOffset() and
fetchFlags() methods. Patches by Mikko Koppanen.
* Added feature #9336: Added the expunge() method. Patch by Mikko Koppanen.
* Added feature #9423: Added the capability() method. Patch by Mikko
Koppanen.
* Added feature #9424: Added the noop() method in IMAP and POP3 transports.
Patch by Mikko Koppanen.
* Added feature #9425: Added the append() method.
1.2beta1 - Tuesday 24 October 2006
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Added IMAP transport.
- Added fetchFromOffset() method to POP3 and MBOX transports.
- Implemented suggestion #8988: ezcMailAddress should implement __toString().
- Implemented suggestion #8989: Extending the ezcMail class.
ezcMailParser->parse() can now deal with classes that extend ezcMail.
Additionally, added this functionality to ezcMailTool::replyToMail().
- Implemented read access to property ezcMailPart->headers for extending this
class and its derives.
- Added a new class (ezcMailVirtualFile) to allow attachments from memory.
- Added an optional parameter to listMessages() method in IMAP, to return
messages with a certain Content-Type header.
1.1.3 - Monday 09 October 2006
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Fixed bug #8990: ezcMail->messageID should be named ezcMail->messageId.
- Fixed bug #9048: ezcMailText does not encode properly.
- Fixed bug #9049: Long headers are not wrapped and could cause MTA warnings.
- Fixed bug #8850: Support multiline header parameters by
implementing RFC2231.
- Fixed a bug in ezcMailPart: The getHeader() function returns an empty
string instead of null in case of an unknown header.
- Fixed a bug in ezcMailRfc822Parser: The bcc is set correctly now while
parsing e-mail.
- Fixed a bug in ezcMailMultipartRelated: The getRelatedParts() and
getRelatedPartByID() functions return now correct values if the main part of
the message is missing.
- Fixed a bug in ezcMailMtaTransport and ezcMailSmtpTransport: Checking for
sending a message without recipients.
- Fixed a bug in ezcMailImapTransport: listUniqueIdentifiers() does not hang
anymore when the supplied parameter is an invalid message number.
- Implemented support for character set and language for
ezcContentDispositionHeader.
- Fixed an issue with mbox files without an mbox header being present.
1.1.2 - Monday 28 August 2006
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Added the ezcMailPop3Transport::fetchByMessageNr() method that returns an
ezcMailPop3Set containing the message with the specified number.
- Fixed bug #8736: variable transport non-functional.
- Fixed bug that caused the contentId property of the ezcMailFile class not to
be set even if it was available for the related part while parsing
multipart/related messages.
- PHP 5.2 compatibility.
1.1.1 - Monday 07 August 2006
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Partially fixed bug #8694:
* Don't crash when generating empty mail.
* Don't assume that message/ parts are actually rfc822 messages when parsing
mail.
1.1 - Monday 12 June 2006
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Fixed CS issues and tests.
1.1rc1 - Monday 29 May 2006
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Added the ezcMailTools::replyToMail() method that will create a reply
message with the correct headers set (from, to, cc, ,subject, references and
in-reply-to) based on an existing mail message.
- Added workaround for bug #8271: Mail parsing bug in email with PGP signature.
We don't support GPG at the moment, however we now recognize it and ignore keys
and signatures.
- Added the ezcMailSmtpTransport::keepConnection() method. This allows keeping
the connection open when sending several mails.
- Added the ezcMail::messageID property which represents the ID of a mail
message.
- Added the ezcMail::timestamp property which is generated from the Date
header.
- Added the ezcMailMboxTransport and changed ezcMailMboxSet to work together
with that one.
- Added $encoding parameter to ezcMailTools::parseMailAddress and
ezcMailTools::parseMailAddresses. This allows you to parse not only
RFC822 compliant address strings but also address strings in local
encoding. This is useful when ezcMailAddress items directly from
user inserted address string (e.g from a composer window).
- Added feature #8266: Property for the Content-Disposition
stuff on the ezcMailPart level. Implemented for both parsing and sending.
- Changed mime string decoding to be more robust by trying to work around
common mistakes by MUAs.
- Changed the way how character sets are handled. From now on all text parts
will automatically be converted to UTF-8. The original character set
belonging to the e-mail is stored in the originalCharset property, while the
charset property will now always return "UTF-8" for text parts.
- Changed header storage so that headers are now stored case sensitive but
retrieved case insensitive. This is useful since headers are case
insensitive, but do have a preferred case. When fetching headers it is handy
not to have to try all possible permutations.
- Fixed a bug where parsing would fail because there was no trailing ';' in
the Content-Type field.
- Fixed an issue where mime decoding of headers failed because of a bug in
PHP.
1.1beta2 - Tuesday 09 May 2006
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Added the getRelatedPartByID() method to ezcMailMultipartRelated that
returns a mail part by looking for it's Content-ID.
- Added the class ezcMailFileSet that can be used to parse mail messages
in a file directly from disk.
- Added the class ezcMailVariableSet that can be used to parse mail messages
directly from a variable.
- Changed the POP3 classes to leave the mail on the server by default. You
need to actively set $deleteFromServer in order to have it removed.
1.1beta1 - Wednesday 19 April 2006
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Added the mbox transport for reading mbox files to use with the
ezcMailParser.
- Fixed a bug that caused filenames with spaces to appear mangled.
- Fixed a bug where the encodings 7bit and 8bit were not handled correctly.
- Fixed a bug where text attachments missed line breaks when saved to disk.
1.1alpha1 - Monday 03 April 2006
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Added functionality for parsing mail messages. The main class is
ezcMailParser.
- Added the POP 3 mail retrieving transport for use with the ezcMailParser.
- Added method ezcMailPart::setHeaders to set multiple headers at once.
- Added method ezcMailTools::parseEmailAddress and parseEmailAddresses that
parse RFC 2822 email addresses.
- Added class ezcMailRfc822Digest inheriting ezcMailPart. This part can be
used to create mail digest messages.
- Added class ezcMailMultipartDigest which represents multipart/digest parts.
- Renamed ezcMailTransportMta and ezcMailTransportSmtp to ezcMailMtaTransport
and ezcMailSmtpTransport. The old classes still exist but are deprecated.
1.0.1 - Monday 20 February 2006
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Fixed bug #7805: Removed double linebreak in ezcMailTransportMta::send().
- Fixed bug #7813: MultipartRelated with non-file parts may throw exception
if you did not set a Content-ID.
- Implemented suggesion #7804:
* Added getParts() to ezcMailMultipart.
* Added getParts() to ezcMailMultipartMixed and MultipartAlternative.
* Added getMainPart() and getRelatedParts to ezcMultipartRelated.
1.0 - Monday 30 January 2006
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Changed ezcMailException to inherit from ezcBaseException instead of
Exception.
- Fixed bug #7716: ezcMail needs support for Reply-To. We simply don't set it
anymore now. Users can set the header themselves if they need to.
(ezcMailPart::setHeader())
- Fixed issue with double To and Subject headers when using the MTA transport.
1.0rc1 - Monday 16 January 2006
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Added feature enhancement #7582: Adding multiple parts as an array.
- Changed ezcMailText::characterSet property to charset.
- Changed ezcMailSmtpTransport and made all protected methods private. They
exposed an interface that most likely never will have to be changed.
- Changed exception behavior. All errors will now throw a different exception
class.
- Fixed bug #7637: "ezcMailComposer doesn't encode headers".
1.0beta2 - Wednesday 21 December 2005
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Completely revised documentation.
- Replaced the mail_address array with the ezcMailAddress 'struct'.
- Renamed ezcMailTextPart to ezcMailText
- Renamed ezcMailFilePart to ezcMailFile
- Fixed problem with sending mail with cc and bcc recipients.
- Fixed bug #7576: RFC 2606 compliance
- Fixed bug #7577: unable to run example_general.php
- Fixed bug #7578: mail example errors
1.0beta1 - Thursday 24 November 2005
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Initial release of this package.