218 Private method to create a multipart mail message. |
218 Private method to create a multipart mail message. |
219 |
219 |
220 @return string containing the mail message |
220 @return string containing the mail message |
221 """ |
221 """ |
222 mpPreamble = ("This is a MIME-encoded message with attachments. " |
222 mpPreamble = ("This is a MIME-encoded message with attachments. " |
223 "If you see this message, your mail client is not " |
223 "If you see this message, your mail client is not " |
224 "capable of displaying the attachments.") |
224 "capable of displaying the attachments.") |
225 |
225 |
226 msgtext = "{0}\r\n----\r\n{1}----\r\n{2}----\r\n{3}".format( |
226 msgtext = "{0}\r\n----\r\n{1}----\r\n{2}----\r\n{3}".format( |
227 self.message.toPlainText(), |
227 self.message.toPlainText(), |
228 Utilities.generateVersionInfo("\r\n"), |
228 Utilities.generateVersionInfo("\r\n"), |
229 Utilities.generatePluginsVersionInfo("\r\n"), |
229 Utilities.generatePluginsVersionInfo("\r\n"), |