64 <td>Private method to create a multipart mail message.</td> |
64 <td>Private method to create a multipart mail message.</td> |
65 </tr><tr> |
65 </tr><tr> |
66 <td><a href="#EmailDialog.__createSimpleMail">__createSimpleMail</a></td> |
66 <td><a href="#EmailDialog.__createSimpleMail">__createSimpleMail</a></td> |
67 <td>Private method to create a simple mail message.</td> |
67 <td>Private method to create a simple mail message.</td> |
68 </tr><tr> |
68 </tr><tr> |
|
69 <td><a href="#EmailDialog.__encodedHeader">__encodedHeader</a></td> |
|
70 <td>Private method to create a correctly encoded mail header.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#EmailDialog.__encodedText">__encodedText</a></td> |
|
73 <td>Private method to create a MIMEText message with correct encoding.</td> |
|
74 </tr><tr> |
69 <td><a href="#EmailDialog.__sendmail">__sendmail</a></td> |
75 <td><a href="#EmailDialog.__sendmail">__sendmail</a></td> |
70 <td>Private method to actually send the message.</td> |
76 <td>Private method to actually send the message.</td> |
71 </tr><tr> |
77 </tr><tr> |
72 <td><a href="#EmailDialog.attachFile">attachFile</a></td> |
78 <td><a href="#EmailDialog.attachFile">attachFile</a></td> |
73 <td>Public method to add an attachment.</td> |
79 <td>Public method to add an attachment.</td> |
127 Private method to create a simple mail message. |
133 Private method to create a simple mail message. |
128 </p><dl> |
134 </p><dl> |
129 <dt>Returns:</dt> |
135 <dt>Returns:</dt> |
130 <dd> |
136 <dd> |
131 string containing the mail message |
137 string containing the mail message |
|
138 </dd> |
|
139 </dl><a NAME="EmailDialog.__encodedHeader" ID="EmailDialog.__encodedHeader"></a> |
|
140 <h4>EmailDialog.__encodedHeader</h4> |
|
141 <b>__encodedHeader</b>(<i>txt</i>) |
|
142 <p> |
|
143 Private method to create a correctly encoded mail header. |
|
144 </p><dl> |
|
145 <dt><i>txt</i></dt> |
|
146 <dd> |
|
147 header text to encode (string) |
|
148 </dd> |
|
149 </dl><dl> |
|
150 <dt>Returns:</dt> |
|
151 <dd> |
|
152 encoded header (email.header.Header) |
|
153 </dd> |
|
154 </dl><a NAME="EmailDialog.__encodedText" ID="EmailDialog.__encodedText"></a> |
|
155 <h4>EmailDialog.__encodedText</h4> |
|
156 <b>__encodedText</b>(<i>txt</i>) |
|
157 <p> |
|
158 Private method to create a MIMEText message with correct encoding. |
|
159 </p><dl> |
|
160 <dt><i>txt</i></dt> |
|
161 <dd> |
|
162 text to be put into the MIMEText object (string) |
|
163 </dd> |
|
164 </dl><dl> |
|
165 <dt>Returns:</dt> |
|
166 <dd> |
|
167 MIMEText object |
132 </dd> |
168 </dd> |
133 </dl><a NAME="EmailDialog.__sendmail" ID="EmailDialog.__sendmail"></a> |
169 </dl><a NAME="EmailDialog.__sendmail" ID="EmailDialog.__sendmail"></a> |
134 <h4>EmailDialog.__sendmail</h4> |
170 <h4>EmailDialog.__sendmail</h4> |
135 <b>__sendmail</b>(<i>msg</i>) |
171 <b>__sendmail</b>(<i>msg</i>) |
136 <p> |
172 <p> |