Basically I have a request to add some checking before a mail message would be send. So what I did was adding @function to do the check in the all sending related button on the memo and other related mail file forms.
However, because the On Close present mail send dialog box option is selected on the forms, if user tries to close the message without save and sending it first, the send mail dialog box appears.
I will have to either switch off the On Close present mail send dialog box, or modify the code behind the “Send & Save " button on the dialog box.
Any suggestions?
Many thanks in adv