Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
7b91fbf7
Commit
7b91fbf7
authored
Oct 01, 2002
by
Barry Warsaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added an introduction.
parent
3c475747
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
57 additions
and
1 deletion
+57
-1
Doc/lib/mimelib.tex
Doc/lib/mimelib.tex
+57
-1
No files found.
Doc/lib/mimelib.tex
View file @
7b91fbf7
...
@@ -14,7 +14,9 @@
...
@@ -14,7 +14,9 @@
\maketitle
\maketitle
\begin{abstract}
\begin{abstract}
The
\module
{
email
}
package can be used to handle email.
The
\module
{
email
}
package provides classes and utilities to create,
parse, generate, and modify email messages, conforming to all the
relevant email and MIME related RFCs.
\end{abstract}
\end{abstract}
% The ugly "%begin{latexonly}" pseudo-environment supresses the table
% The ugly "%begin{latexonly}" pseudo-environment supresses the table
...
@@ -24,6 +26,60 @@
...
@@ -24,6 +26,60 @@
\tableofcontents
\tableofcontents
%end{latexonly}
%end{latexonly}
\section
{
Introduction
}
The
\module
{
email
}
package provides classes and utilities to create,
parse, generate, and modify email messages, conforming to all the
relevant email and MIME related RFCs.
This document describes the current version of the
\module
{
email
}
package, which is available to Python programmers in a number of ways.
Python 2.2.2 and 2.3 come with
\module
{
email
}
version 2, while earlier
versions of Python 2.2.x come with
\module
{
email
}
version 1. Python
2.1.x and earlier do not come with any version of the
\module
{
email
}
package.
The
\module
{
email
}
package is also available as a standalone distutils
package, and is compatible with Python 2.1.3 and beyond. Thus, if
you're using Python 2.1.3 you can download the standalone package and
install it in your
\file
{
site-packages
}
directory. The standalone
\module
{
email
}
package is available on the
\ulink
{
SourceForge
\module
{
mimelib
}
project
}{
http://mimelib.sf.net
}
.
The documentation that follows was written for the Python project, so
if you're reading this as part of the standalone
\module
{
email
}
package documentation, there are a few notes to be aware of:
\begin{itemize}
\item
Deprecation and ``version added'' notes are relative to the
Python version a feature was added or deprecated. To find out
what version of the
\module
{
email
}
package a particular item was
added, changed, or removed, refer to the package's
\ulink
{
\file
{
NEWS
}
file
}{
http://cvs.sf.net/cgi-bin/viewcvs.cgi/mimelib/mimelib/NEWS?rev=1.36
&
content-type=text/vnd.viewcvs-markup
}
.
\item
The code samples are written with Python 2.2 in mind. For
Python 2.1.3, some adjustments are necessary. For example, this
code snippet;
\begin{verbatim}
if isinstance(s, str):
# ...
\end{verbatim}
would need to be written this way in Python 2.1.3:
\begin{verbatim}
from types import StringType
# ...
if isinstance(s, StringType):
# ...
\end{verbatim}
\item
If you're reading this documentation as part of the
standalone
\module
{
email
}
package, some of the internal links to
other sections of the Python standard library may not resolve.
\end{itemize}
\input
{
email
}
\input
{
email
}
\end{document}
\end{document}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment