UI/EmailDialog.py

changeset 3030
4a0a82ddd9d2
parent 3020
542e97d4ecb3
child 3034
7ce719013078
child 3058
0a02c433f52d
equal deleted inserted replaced
3029:4055a15ce0f2 3030:4a0a82ddd9d2
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"),

eric ide

mercurial