I'm listening for the 'mail:composeOnSend' events, to get some data of a
message when it is sent.
Since I'm also getting notified when a message is saved as a draft, I'm
searching for a possibility to distinguish between 'mail:composeOnSend'
events which are triggered from mails which are saved as a draft, and
'mail:composeOnSend' events which are triggered from mails which are
actually sent.
Is there a property of the ComposeParams or the message object (which is
passed to the event listener) which contains this information?
Thanks for any answers,
Florian