I am using MAPI to send a mail from my application using GroupWise 8 client. After sending the mail, If I close my application it is not closing. This problem happens if I call MapiLogoff function, If I don't call MapiLogooff, application exits properly after sending mail. The same program is working fine with GroupWise 7 client. Any suggestion please.