Visual Basic code with Simple MAPI Functions may Not Work or fail with an error

If the Microsoft Visual Basic code calls the MAPISendMail function, it may fail with an error message that resembles the following:

Microsoft Outlook
Either there is no default mail client or the current mail client cannot fulfill the messaging request. Please run Microsoft Outlook and set it as the default mail client.

This problem often occurs when Microsoft Outlook Express is set as the default mail client.

Please find the support KB which has detailed information, resolution for that.

Skip to main content