I'm using Mapi mail to send e-mail from an application. Here are the relevant statements:
@SM:=GetProcAddress(MAPIModule,'MAPISendMail'); if @SM<>nil then Result:=SM(0,AppHandle,Message,MAPI_DIALOG or MAPI_LOGON_UI,0) else Result:=-1; It works fine EXCEPT if the user closes or ESC from the e-Mail program without sending the e-Mail, the result is SUCCESS_SUCCESS (0) and not MAPI_USER_ABORT (1). Is there a way to check the Outbox to determine success/failure of this function? __________________________________________________ Delphi-Talk mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi-talk
