67 <td>Private method to create a multipart mail message.</td> |
67 <td>Private method to create a multipart mail message.</td> |
68 </tr><tr> |
68 </tr><tr> |
69 <td><a href="#EmailDialog.__createSimpleMail">__createSimpleMail</a></td> |
69 <td><a href="#EmailDialog.__createSimpleMail">__createSimpleMail</a></td> |
70 <td>Private method to create a simple mail message.</td> |
70 <td>Private method to create a simple mail message.</td> |
71 </tr><tr> |
71 </tr><tr> |
|
72 <td><a href="#EmailDialog.__deleteAttachedFiles">__deleteAttachedFiles</a></td> |
|
73 <td>Private method to delete attached files.</td> |
|
74 </tr><tr> |
72 <td><a href="#EmailDialog.__encodedHeader">__encodedHeader</a></td> |
75 <td><a href="#EmailDialog.__encodedHeader">__encodedHeader</a></td> |
73 <td>Private method to create a correctly encoded mail header.</td> |
76 <td>Private method to create a correctly encoded mail header.</td> |
74 </tr><tr> |
77 </tr><tr> |
75 <td><a href="#EmailDialog.__encodedText">__encodedText</a></td> |
78 <td><a href="#EmailDialog.__encodedText">__encodedText</a></td> |
76 <td>Private method to create a MIMEText message with correct encoding.</td> |
79 <td>Private method to create a MIMEText message with correct encoding.</td> |
|
80 </tr><tr> |
|
81 <td><a href="#EmailDialog.__gmailSendResult">__gmailSendResult</a></td> |
|
82 <td>Private slot handling the send result reported by the Google Mail interface.</td> |
77 </tr><tr> |
83 </tr><tr> |
78 <td><a href="#EmailDialog.__sendmail">__sendmail</a></td> |
84 <td><a href="#EmailDialog.__sendmail">__sendmail</a></td> |
79 <td>Private method to actually send the message.</td> |
85 <td>Private method to actually send the message.</td> |
80 </tr><tr> |
86 </tr><tr> |
81 <td><a href="#EmailDialog.__sendmailGoogle">__sendmailGoogle</a></td> |
87 <td><a href="#EmailDialog.__sendmailGoogle">__sendmailGoogle</a></td> |
157 </dl><dl> |
163 </dl><dl> |
158 <dt>Return Type:</dt> |
164 <dt>Return Type:</dt> |
159 <dd> |
165 <dd> |
160 email.mime.text.MIMEText |
166 email.mime.text.MIMEText |
161 </dd> |
167 </dd> |
162 </dl><a NAME="EmailDialog.__encodedHeader" ID="EmailDialog.__encodedHeader"></a> |
168 </dl><a NAME="EmailDialog.__deleteAttachedFiles" ID="EmailDialog.__deleteAttachedFiles"></a> |
|
169 <h4>EmailDialog.__deleteAttachedFiles</h4> |
|
170 <b>__deleteAttachedFiles</b>(<i></i>) |
|
171 <p> |
|
172 Private method to delete attached files. |
|
173 </p><a NAME="EmailDialog.__encodedHeader" ID="EmailDialog.__encodedHeader"></a> |
163 <h4>EmailDialog.__encodedHeader</h4> |
174 <h4>EmailDialog.__encodedHeader</h4> |
164 <b>__encodedHeader</b>(<i>txt</i>) |
175 <b>__encodedHeader</b>(<i>txt</i>) |
165 <p> |
176 <p> |
166 Private method to create a correctly encoded mail header. |
177 Private method to create a correctly encoded mail header. |
167 </p><dl> |
178 </p><dl> |
187 </dl><dl> |
198 </dl><dl> |
188 <dt>Returns:</dt> |
199 <dt>Returns:</dt> |
189 <dd> |
200 <dd> |
190 MIMEText object |
201 MIMEText object |
191 </dd> |
202 </dd> |
|
203 </dl><a NAME="EmailDialog.__gmailSendResult" ID="EmailDialog.__gmailSendResult"></a> |
|
204 <h4>EmailDialog.__gmailSendResult</h4> |
|
205 <b>__gmailSendResult</b>(<i>ok, message</i>) |
|
206 <p> |
|
207 Private slot handling the send result reported by the Google Mail |
|
208 interface. |
|
209 </p><dl> |
|
210 <dt><i>ok</i> (bool)</dt> |
|
211 <dd> |
|
212 flag indicating success |
|
213 </dd><dt><i>message</i> (str)</dt> |
|
214 <dd> |
|
215 message from the interface |
|
216 </dd> |
192 </dl><a NAME="EmailDialog.__sendmail" ID="EmailDialog.__sendmail"></a> |
217 </dl><a NAME="EmailDialog.__sendmail" ID="EmailDialog.__sendmail"></a> |
193 <h4>EmailDialog.__sendmail</h4> |
218 <h4>EmailDialog.__sendmail</h4> |
194 <b>__sendmail</b>(<i>msg</i>) |
219 <b>__sendmail</b>(<i>msg</i>) |
195 <p> |
220 <p> |
196 Private method to actually send the message. |
221 Private method to actually send the message. |
211 Private method to actually send the message via Google Mail. |
236 Private method to actually send the message via Google Mail. |
212 </p><dl> |
237 </p><dl> |
213 <dt><i>msg</i> (email.mime.text.MIMEBase)</dt> |
238 <dt><i>msg</i> (email.mime.text.MIMEBase)</dt> |
214 <dd> |
239 <dd> |
215 email message to be sent |
240 email message to be sent |
216 </dd> |
|
217 </dl><dl> |
|
218 <dt>Returns:</dt> |
|
219 <dd> |
|
220 flag indicating success |
|
221 </dd> |
|
222 </dl><dl> |
|
223 <dt>Return Type:</dt> |
|
224 <dd> |
|
225 bool |
|
226 </dd> |
241 </dd> |
227 </dl><a NAME="EmailDialog.attachFile" ID="EmailDialog.attachFile"></a> |
242 </dl><a NAME="EmailDialog.attachFile" ID="EmailDialog.attachFile"></a> |
228 <h4>EmailDialog.attachFile</h4> |
243 <h4>EmailDialog.attachFile</h4> |
229 <b>attachFile</b>(<i>fname, deleteFile</i>) |
244 <b>attachFile</b>(<i>fname, deleteFile</i>) |
230 <p> |
245 <p> |