6 Original Authors: Wolfgang Ritzinger, Marian Bonda, Pavol Potoncok
7
8 Permission is hereby granted, free of charge, to any person obtaining a
9 copy of this software and associated documentation files (the "Software"),
10 to deal in the Software without restriction, including without limitation
11 the rights to use, copy, modify, merge, publish, distribute, sublicense,
12 and/or sell copies of the Software, and to permit persons to whom the
13 Software is furnished to do so, subject to the following conditions:
14
15 The above copyright notice and this permission notice shall be included in
16 all copies or substantial portions of the Software.
17
18 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
23 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
24 DEALINGS IN THE SOFTWARE.
25*/
26
27// minimum qore version
28
29// need mime definitions
30
31
32/* Version History
33 * 2013-06-05 v1.1: David Nichols <david@qore.org>
34 + added the Message::serialize() method
35
36 * 2012-11-02 v1.0.4: David Nichols <david@qore.org>
37 + minor doc corrections and non-functional code changes
38
39 * 2012-11-02 v1.0.3: David Nichols <david@qore.org>
40 + requires Mime module 1.3 for the MultiPartMessage::parseBody() method
41 + fixed a bug where the part/attachment content-type was set to the content-type of the message
42 + try to get the filename of attachments from the content-type header if not set in the content-disposition header
43 + message parts that themselves have parts are now supported
44 + fixed recognizing mime messages with additional text after the version number (ex: "Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))")
45
46 * 2012-09-17 v1.0.2: David Nichols <david@qore.org>
47 + use <string>::isPrintableAscii() to determine which mail headers need encoding
48
49 * 2012-09-17 v1.0.1: David Nichols <david@qore.org>
50 + fixed a bug encoding mail headers where mail headers requiring encoding were not encoded and those not requiring encoding were encoded with Q encoding
51
52 * 2012-06-14 v1.0: David Nichols <david@qore.org>
53 + moved from the SmtpClient module to an independent module to also support the Pop3Client class