1
edit
Changes
→Find the Place Where Code should Go
=== Find the Place Where Code should Go ===
When you click "Send" button, it goes to [[http://mxr.mozilla.org/thunderbird/source/mail/components/compose/content/MsgComposeCommands.js#479]]. And, depending on the task, it calls sendMessage() and sendMessageLater().
In this case, sendMessage Function is going to be called which can be found at [[http://mxr.mozilla.org/thunderbird/source/mail/components/compose/content/MsgComposeCommands.js#1861]]
=== Write Javascript Required to prompt to User ===