问题
Is there a way to send email or message using Bloomberg API?
We currently doing this via keystrokes.
回答1:
No, since it's not documented in the Developer Guide:
http://www.bloomberglabs.com/content/uploads/sites/2/2014/07/blpapi-developers-guide-2.54.pdf
Another place where you can try to find hidden features is in XLTP function on the Terminal. But you won't find this one there.
What you can try is to bring the Terminal window to the foregroud and use SendKeys to send the keystrokes to send the MSG. I expect this would be slow and unreliable. You can improve on this by calling macros that you've defined on the terminal that save you from sending some key strokes.
来源:https://stackoverflow.com/questions/33307904/sending-message-email-using-bloomberg-api