So please give me more help on saving IMAP messages to files. If I try ios.newChannel(uri.spec, null, null) or ios.newChannel(uri.toString(), null, null), it throws "Component returned failure.". If I try ios.newChannelFromURI, it throws "Could not convert JavaScript argument arg 0 ". Var channel = ios.newChannel(uri.spec, null, null) Var channel = ios.newChannel(uri.toString(), null, null) Var ios = channel = ios.newChannelFromURI(uri) I tried another way to save IMAP messages: If I use the code from AutoSave extension, the saveIMAPMessageToDisk is called, the streamLisner object is created but then nothing happens. But I still have problems with imap messages. Now I can save the stored messages without any problem. If I could write ".eml" files from the selected e-mails to the harddrive, would help me a lot. So I ask you to help me a little, if you can. Var messenger = messageService = ssageServiceFromURI(mesg) Īnd there is a function messageService.SaveMessageToDisk() which possibly is a solution for this problem, but I cannot call this function correctly. I can get the headers of the selected e-mails, but not the complete e-mail. First of all my problem is, how to write the selected e-mails into ".eml" files. ![]() Now I have a very big problem, which I haven't been able to solve for many hours. If you click the buttons, the selected e-mails are archived. The e-mails are downloaded via POP3 or simply viewed with IMAP. The extension gives some buttons to the toolbar. I develop this plugin with JavaScript and xul. We automatically organise all the things life throws at you, such as receipts and attachments, so you can find what you need fast. ![]() Just add your Gmail, Outlook, AOL or Yahoo Mail to get going. I'm developing an extension for Thunderbird, which is gonna archive the selected e-mails into an existing software system. Its time to get stuff done with Yahoo Mail.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |