I'm writing a Thunderbird extension that is currently able to trigger when a compose window is created (by listening to when a new tab is created, and then checking the contents of that tab for ComposeDetails). However, what I need is to know if the user is replying to another message, and if so, what other message they're replying to. That information isn't in the ComposeDetails, and I can't figure out how to find it. Can anyone help?
It looks like Thunderbird 88 will support it. The ComposeDetails are getting a new attribute type:
[type] (string) – [Added in TB 88]
Read-only. The type of the message being composed, depending on how the compose window was opened by the user.
Supported values:
draft
new
reply
forward
I have no solution to suggest for older versions.
Related
I'm working on upgrading a VB.NET application from Quickfix.net 1.0.3 to the latest code on github (even newer than the published v1.9.0 because I need a new feature). After making the necessary changes, I'm receiving an Unsupported Message Type error from the cracker when I attempt to send in a FIX42.NewOrderSingle. I've looked through every similar issue on every forum and the issue is usually that it's not handling that particular message type, but I am handling the exact type, so I'm not sure what the problem is. I'm using the out of box specs too.
Public Sub onMessage(ByVal message As FIX42.NewOrderSingle, ByVal session As QuickFix.SessionID)
RaiseEvent Up2OMS_NewOrderSingle(message, session)
End Sub
Any ideas or is there any way I can debug the issue?
Grant Birchmeier on the QuickFix/n mailing list had the solution: post on mailing list I needed to capitalize the initial "o" in OnMessage.
Normally case-sensitivity wouldn't matter in VB, but in this case, there's
some internal C# code reflection that's literally looking for the exact
string "OnMessage".
I want to know if there is a package out there that allows people to receive emails / drafts / deleted items from for example gmail. I found something that seemed to attempt it but I think the support has stopped for it and also my gmail automatically blocks any login attempts from it (which I can evade but if I want to eventually release it then of course this is not the correct option)
The "Potentially non supported" package: imap_client
I was wondering if someone has found a better / new package that doesn't have that issue or if someone knows how to write one.
Thanks in advance
Didn't really understand if you want to send it using SMTP or if you want to open the mail app.
For sending programmatically: https://pub.dev/packages/mailer
To open the gmail app: https://pub.dev/packages/flutter_email_sender
Just wanted to ask some help on the Inbound Email scenario. I have setup one mailbox to receive CSV files that contains different mappings for each. I know I can use the choice filetr for it but I can seem to get the correct attachment name values on the email. Any thoughts?
Thanks
I will give you a general answer for situations like this.
When you don't know exactly what property values you are looking for, or what classtype they are, use the debugger in Anypoint Studio. Open your project, add a logger and set a breakpoint on it just after your inbound, and run it in debug mode. Trigger the flow to start, in this case by sending an email to the box it is polling.
Next, you will see the debug perspective and will be able to see the attachment as an inbound property (if i remember correctly). You will also see its type. If you are handling a more complex object, just add a Groovy Script to build the logic needed, and set a simple flag in another property that you will later use in your filter.
Hope it helps.
I'd like to create and edit notes created by the iOS Note app programmatically from the server-side.
I can see the notes created by the iOS device in my IMAP folder but any changes I make won't show up on the iOS device.
Does such API exist?
I just wondered myself and tried editing the note with mutt. As emails (via imap anyway) are not meant to be edited (as correctly stated by #CodaFi) mutt copies the note into the editor, saves it as a new "email" and delete the old one. The edited note gets synced to Notes.app just fine.
Beware: The title/subject of the note/mail is derived from the first line of the body.
PS (I don't think it affects the validity of the above): My setup is private IMAP server & mbsync with local Maildir & mutt.
Well, I use the HeaderTools plugin with Thunderbird to accomplish this, so it's certainly possible. The notes app picks up the changes right away. ( I's not a very satisfying solution as HeaderTools only allows editing as html source in its own viewer/editor )
I guess you could fire up wireshark to investigate precisely what goes on.
The drafts theory sounds plausible. If I needed to dig into this, I think I would just try it out with python directly, instead of googling around for hours.
I am trying to create a very simple (text based for now) email app for receiving emails. So far i have used this code :
http://www.javaer.org/j2ee/3-javamail/8-javamail-connecting-gmail-using-pop3-with-ssl
The problem is that i when i run this code i am able to get the new emails, only for once. For example if i have a new message in inbox the first time i will this code it will show it but then it wont. Also it seems that i cant see the body contents of the emails which is strange. I was told that it should be better to use imap protocol but i am not entirely sure how.
Specified example really starts once and scans folder and exits (and see answer on POP that removes mail). From description you need some loop that periodically checks catalog and extracts new mails. Look at some swing examples in your JDK how to write window-based program with event loop. You can start dedicated thread that once per minute checks POP server catalog