\doxysection{mime.\+Mime\+Message Class Reference}
\label{classmime_1_1MimeMessage}\index{mime.MimeMessage@{mime.MimeMessage}}


Enhance email.\+message.\+Message.  


Inheritance diagram for mime.\+Mime\+Message\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classmime_1_1MimeMessage}
\end{center}
\end{figure}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\label{classmime_1_1MimeMessage_a73137f7611466d9ed427a43914897ccb}} 
def {\bfseries \+\_\+\+\_\+init\+\_\+\+\_\+} (self, fp=None, seekable=1)
\item 
\mbox{\label{classmime_1_1MimeMessage_a24f974285071caafef8cacb639314842}} 
def {\bfseries get\+\_\+param} (self, param, failobj=None, header=\textquotesingle{}content-\/type\textquotesingle{}, \textbf{ unquote}=True)
\item 
\mbox{\label{classmime_1_1MimeMessage_a5c4913d3c34b908c8e13dd0e37b0ddfa}} 
def {\bfseries getparams} (self)
\item 
\mbox{\label{classmime_1_1MimeMessage_a1a2a05d6622fec6bc40b1cca46fae3ab}} 
def {\bfseries getname} (self)
\item 
def \textbf{ getnames} (self, scan\+\_\+zip=False)
\item 
\mbox{\label{classmime_1_1MimeMessage_ab4ecf81530447a1af7d8279f2524e42f}} 
def {\bfseries ismodified} (self)
\item 
\mbox{\label{classmime_1_1MimeMessage_a532c1d42ab056f87abf8b5540fd05696}} 
def {\bfseries dump} (self, file, unixfrom=False)
\item 
\mbox{\label{classmime_1_1MimeMessage_a1134f83b9b1c197f4bc74ca94142463e}} 
def {\bfseries as\+\_\+bytes} (self, unixfrom=False)
\item 
\mbox{\label{classmime_1_1MimeMessage_ad7c14d2e4c0197341331854bd8dd387c}} 
def {\bfseries getencoding} (self)
\item 
\mbox{\label{classmime_1_1MimeMessage_a77a990d6be40d1f716bce9169b005ec5}} 
def {\bfseries decode} (self, filt)
\item 
\mbox{\label{classmime_1_1MimeMessage_a0422c378d368f391b3e26f49a8616de2}} 
def {\bfseries get\+\_\+payload\+\_\+decoded} (self)
\item 
\mbox{\label{classmime_1_1MimeMessage_a3f4318eec7ac0f993860933e12f97e16}} 
def {\bfseries \+\_\+\+\_\+setitem\+\_\+\+\_\+} (self, name, value)
\item 
\mbox{\label{classmime_1_1MimeMessage_a022d286f6b387866c94cc0a1584eb4aa}} 
def {\bfseries \+\_\+\+\_\+delitem\+\_\+\+\_\+} (self, name)
\item 
\mbox{\label{classmime_1_1MimeMessage_a3ecdcf72eacf658f2c21b9bec1dddfaf}} 
def {\bfseries get\+\_\+payload} (self, i=None, decode=False)
\item 
\mbox{\label{classmime_1_1MimeMessage_a43bc9ae8421d222ba6a79de6d11069a4}} 
def {\bfseries set\+\_\+payload} (self, val, charset=None)
\item 
\mbox{\label{classmime_1_1MimeMessage_a5a42e32c67ad537034173b4f92cf5a48}} 
def {\bfseries get\+\_\+submsg} (self)
\end{DoxyCompactItemize}
\doxysubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\label{classmime_1_1MimeMessage_a8f7ec2c0661542d15380b9cfdfd9edd8}} 
{\bfseries submsg}
\item 
\mbox{\label{classmime_1_1MimeMessage_aed99e79e6d92b7d5287dd8ca7823c09b}} 
{\bfseries modified}
\end{DoxyCompactItemize}
\doxysubsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
\textbf{ headerchange}
\begin{DoxyCompactList}\small\item\em Provide a headerchange event for integration with \doxyref{Milter}{p.}{namespaceMilter}. \end{DoxyCompactList}\item 
\mbox{\label{classmime_1_1MimeMessage_af1060e554daea7464bc907a08320c0b5}} 
{\bfseries getfilename} = Message.\+get\+\_\+filename
\item 
\mbox{\label{classmime_1_1MimeMessage_a56e982956c6d5a8804a647fb31128eb0}} 
{\bfseries ismultipart} = Message.\+is\+\_\+multipart
\item 
\mbox{\label{classmime_1_1MimeMessage_af2472581de24d74bd637e6633ce9a841}} 
{\bfseries getheaders} = Message.\+get\+\_\+all
\item 
\mbox{\label{classmime_1_1MimeMessage_af8f9b1316232c24eee9baf7b5a116d9d}} 
{\bfseries gettype} = Message.\+get\+\_\+content\+\_\+type
\item 
\mbox{\label{classmime_1_1MimeMessage_ade0ae74988328e90e015a6614b54e79f}} 
def {\bfseries getparam} = Message.\+get\+\_\+param
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Enhance email.\+message.\+Message. 

Tracks modifications to headers of body or any part independently.

\begin{DoxyVerb}Version of email.Message.Message compatible with old mime module
\end{DoxyVerb}
 

\doxysubsection{Member Function Documentation}
\mbox{\label{classmime_1_1MimeMessage_a9e356422f84df99bc996cc61be9b4359}} 
\index{mime.MimeMessage@{mime.MimeMessage}!getnames@{getnames}}
\index{getnames@{getnames}!mime.MimeMessage@{mime.MimeMessage}}
\doxysubsubsection{getnames()}
{\footnotesize\ttfamily def mime.\+Mime\+Message.\+getnames (\begin{DoxyParamCaption}\item[{}]{self,  }\item[{}]{scan\+\_\+zip = {\ttfamily False} }\end{DoxyParamCaption})}

\begin{DoxyVerb}Return a list of (attr,name) pairs of attributes that IE might
   interpret as a name - and hence decide to execute this message.\end{DoxyVerb}
 

References mime.\+Mime\+Message.\+dump(), Milter.\+config.\+Milter\+Config\+Parser.\+get(), mime.\+Mime\+Message.\+get\+\_\+payload(), mime.\+Mime\+Message.\+getencoding(), mime.\+Mime\+Message.\+headerchange, mime.\+Mime\+Message.\+modified, mime.\+HTMLScript\+Filter.\+modified, mime.\+Mime\+Message.\+set\+\_\+payload(), mime.\+Mime\+Message.\+submsg, and mime.\+zipnames().



\doxysubsection{Member Data Documentation}
\mbox{\label{classmime_1_1MimeMessage_a1e4e23e29eca4285cab4ba20e2fa9626}} 
\index{mime.MimeMessage@{mime.MimeMessage}!headerchange@{headerchange}}
\index{headerchange@{headerchange}!mime.MimeMessage@{mime.MimeMessage}}
\doxysubsubsection{headerchange}
{\footnotesize\ttfamily mime.\+Mime\+Message.\+headerchange\hspace{0.3cm}{\ttfamily [static]}}



Provide a headerchange event for integration with \doxyref{Milter}{p.}{namespaceMilter}. 

The headerchange attribute can be assigned a function to be called when changing headers. The signature is\+: headerchange(msg,name,value) -\/$>$ None 

Referenced by mime.\+Mime\+Message.\+getnames().



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
mime.\+py\end{DoxyCompactItemize}
