OfficeDev / Outlook-Add-in-On-Send

Learn how to check for restricted words in an Outlook email message body, add a recipient to the CC line and check that there is a subject in the email on send.
MIT License
35 stars 31 forks source link

OnSend fired twice after attachment reminder #3

Closed MhdTlb closed 6 years ago

MhdTlb commented 7 years ago

If I include the word "attachment" in the email body and I click Send button, OnSend event is fired once and a pop-up modal window shows up with this message:

Attachment reminder You may have forgotten to attach a file.

with Send and Don't send buttons. If click Send, OnSend event get fired twice: 2 times after clicking Send button within attachment reminder. I was expecting only one event like the first Send (before attachment reminder pop-up).

siewmoi commented 6 years ago

Thanks for reporting this. It has been fixed.