README
1
2This is the README for the mimelib library, which is based on the mimepp library
3by Doug Sauder <dwsauder@fwb.gulf.net>. Since KDE uses a slightly patched
4version of mimepp, the author and the KDE Team agreed, that we rename it for
5use in KDE. But please report bugs, that you find in the code to Doug, since
6he still maintains the code.
7
8Stephan Kulow
9coolo@kde.org
10
11
README.mimepp
1This is the README file for the MIME++ library.
2
3**** Important: Please read the file LICENSE for information about using
4mime++. mime++ may be used for non-commercial use without paying a license
5fee; however, by downloading or using the software, you agree to abide by
6the terms of the Non-Commercial License. ****
7
8MIME++ is a C++ class library for creating, parsing, and modifying messages
9in MIME format.
10
11See the file INSTALL for information about how to compile the library.
12
13The library classes themselves are somewhat low-level. The example programs
14use wrapper classes. This technique of using wrapper classes is the
15recommended way to use MIME++ for two reasons. First, it will isolate your
16application from the low-level, implementation details of the library.
17Second, it will help to isolate your application from future changes in
18the library classes. If you are familiar with the idea of design patterns,
19the wrapper classes implement the facade pattern.
20
21To learn the library, I suggest you first take a look at the text file
22"Tutorial", which contains a tutorial. Then, I suggest browsing the HTML
23man pages, which can all be referenced from doc/mimepp.html. If you do
24not have an HTML browser available, use your favorite editor to view the
25.h files. All the text of the man pages is embedded as comments in the .h
26files. Look especially at the man pages for DwString and
27DwMessageComponent, the base class of nearly all MIME components. Also,
28look at the example programs. As a starting point for your own
29application, I suggest you start with the source code for one or more of
30the wrapper classes (BasicMessage, declared and defined in basicmsg.*;
31MultipartMessage, declared and defined in multipar.*; and
32MessageWithAttachments, declared and defined in attach.*) and modify it
33for your own use.
34
35Please send me any comments, questions, bug reports, or whatever.
36
37Doug Sauder
38dwsauder@fwb.gulf.net
39