On Close present mail send dialog box

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

Subject: On Close present mail send dialog box

I haven’t done anything like this before, but my “opinion” would be to modify the Send & Save button, if you can. Good luck and let us know how it worked out for you.

Subject: RE: On Close present mail send dialog box

the issue here is I can’t seem to find the Send Mail dialog box that notes presented on Close event. If there is a such dialog form exists in the Mail file, then yes I can just add the @function check to the Send & Save button, but…