Fix CLS Send or MAPI Mail Error in Email

To fix "CLS SendMail" or Messaging Application Programming Interface (MAPI) email errors, follow the instructions below appropriate for the version of email (Office Outlook , Outlook Express or Windows Mail) that you are using as the default mail handler in Windows. To determine which program is set as the default mail handler in Windows (prior to Vista), open the Windows Control Panel > select Internet Options (under Network and Internet in the Category View) > Programs tab > Email box. You can click the down arrow beside the email box to change the default mail handler in Windows. To set the default mail handler in Windows Vista, click Start > Default Programs > Set your default programs > Select the appropriate program in the list > Select “Set this program as default” > OK.

Office Outlook

Install the Collaboration Data Objects (CDO) feature for your version of Microsoft Office Outlook so that it can process email not created in Microsoft Office. To add (or verify) the CDO feature in Office 2003 (or earlier): insert the Microsoft Office CD in your CD drive > go to Start > Control Panel > Add/Remove Programs > select the appropriate "Microsoft Office" > click the Change button > select "Add or Remove Features" > in Outlook 2003 or later click the Advanced Customization of Applications button (older versions skip this step) > click the plus sign (+) beside "MS Outlook for Windows" > click the down arrow beside the red X in front of Collaborative Data Objects > select Run from my computer > click the Update Now button > click OK. 

Office 2007 no longer includes the Collaboration Data Objects feature code in its default installation. To add Collaboration Data Objects for Office 2007, this feature must be downloaded over the Internet from Microsoft (see "Download Collaboration Data Objects for Office Outlook 2007" in the related articles below).

If removing and re-installing the Collaboration Data Objects (CDO) feature for your MS Office Outlook does not fix its error, go to the Microsoft Office Update web site (http://office.microsoft.com) and download all available updates for Microsoft Office and/or for Office Outlook. Then open Microsoft Outlook, select Help and run "Detect and Repair". Follow the on-screen instructions.

Otherwise, you may try the repair steps in Microsoft's support knowledge base article#813602 (see related article "Repair Microsoft Office Outlook 2003 or 2007 Mapi") reprinted below:

In Windows\System {or Windows\System32}, rename the Mapi32.dll file, and then start the Fixmapi.exe program by:

  1. Close all programs.
  2. Click Start, and then click Search.
  3. Click All files and folders.
  4. In the All or part of the file name box, type mapi32.dll, and then click Search.
  5. When the search process is complete, right-click the Mapi32.dll file in Windows\System {or Windows\System32}, and then click Rename. (Note: If mapi is in memory, you will not be able to rename it.  Click Ctrl-Alt-Delete and End Task on mapisp32. Verify it's not running before trying to rename it.)
  6. Type Mapi32.old, and then press ENTER.
  7. Click Start a new search, and then click All files and folders.
  8. In the All or part of the file name box, type fixmapi.exe, and then click Search.
  9. When the search process is complete, double-click Fixmapi.exe to start the repair process.
  10. Follow the on-screen instructions to complete the MAPI repair process for Outlook.

Outlook 2000 typically (but not always) stores a copy of the correct version of mapi32.dll (which will have a 110KB to 128KB file size) in Program Files\Common Files\System\Mapi\1033\95 {or NT in Windows XP}. In these older versions of Outlook, the most common reason Outlook fails is because another application (such as Netscape or Corel) has replaced the Mapi32.dll file in the Windows System folder with a customized version of the same name.  The customized version in Windows\System will be larger in size than the version in Program Files\Common Files\System\Mapi\1033\.

The easiest way to correct this non-standard mapi32.dll  problem in older Outlooks is do a search in Start > Find > Files or Folders for Mapi32.*. to find all the mapi files. You may see the original 128KB file renamed to either Mapi32x.dll or Mapi32bak.dll. You can try restoring the original mapi file by renaming the existing mapi32.dll to mapi32.old and rename either Mapi32x.dll or Mapi32bak.dll (whichever appears with 128KB) back to mapi.32.dll.  

Also you can try renaming the current mapi32.dll to mapi32.old and restore the original off the Microsoft Office CD. Run a search on the cd and copy it to the same Windows System file where you found mapi32.dll.

If none of these steps resolve the problem in Office Outlook but you still want to use Outlook (rather than Outlook Express), un-install and re-install Outlook from the Microsoft Office installation CD. (Be sure any anti-virus programs are disabled when installing any program such as Outlook.) If you do re-install Outlook, be sure to also re-install its CDO feature (since CDO is not included in the default installation setup). To fix Active X or Unspecified errors using Office Outlook, follow the instructions in the related article "Office Outlook Collaborative Data Object (CDO), Active X or Unspecified Email error."

Back to the top of this page È


Outlook Express

If you are using Outlook Express instead of Microsoft Office Outlook, it is best to run the latest version of both Outlook Express (currently version 6.0) and Internet Explorer (currently version 7). Check the version under Help > About Microsoft Outlook Express (and Help > About Internet Explorer).

If Outlook Express does not function correctly, ensure that it is properly configured (see the related article, "Configure Security in Outlook Express...") and that no other program (such as AntiVirus, AntiSpam, Privacy, or Internet security) is interfering with ("filtering") outgoing email. If configuring security does not fix an email problem, it is possible that some files used by Outlook Express are corrupted or damaged. To repair damaged files, follow the instructions in the related article, "Repair Outlook Express".

Some older computers running older versions of Windows cannot support the latest version of Outlook Express and Internet Explorer. To fix Mapi import errors in these older versions of Outlook Express (4.0 to 5.5) in Windows 95 or 98, or for Outlook Express 6 in Windows XP which also has Office Outlook installed, follow Microsoft's instructions in the related article "Repair Mapi Import or Export errors in Outlook Express" (reprinted below):

Configure Outlook Express to not be the default Simple MAPI client before you import the mail items. To do so, follow these steps:
  1. Restart your computer, and then start Outlook Express.
  2. On the Tools menu, click Options.
  3. On the General tab, click to clear (un-check) the Make Outlook Express my default Simple MAPI client check box, and then click Apply.
  4. Click OK when you receive the prompt to restart your computer.
  5. Click OK, quit Outlook Express, and then restart your computer.

NOTE: After you complete the import or export process, you can reconfigure older versions of Outlook Express to be the default MAPI client (which is the normal default setting unless you are using Office Outlook as your default MAPI client in Windows). For additional information about how to configure Outlook Express to be the default MAPI client, select the related article below entitled "Set Outlook Express as Your Default Simple MAPI Client" to view the article in the Microsoft Knowledge Base.

Back to the top of this page È


Windows Mail in Vista

Outlook Express is named "Windows Mail" in Windows Vista. Apparently due to the User Account Control restrictions in Vista, Windows Mail must be closed before MLS reports can be transferred from CTI Navigator into Windows Mail. Otherwise, Vista treats the file transfer as a separate user login attempt into Windows Mail and blocks it. 

If you get a "Login Failed...clsSendMail_Send" error message using Windows Mail as your default mail program in Windows Vista, you must either:

  1. Re-start Vista to clear the failed transfer login; or 
  2. Close the error message > close Windows Mail > right-click on the Windows task bar and select Windows Task Manager > Select the Processes tab > right-click on WinMail.exe> select "End Process".

To resolve other problems in Windows Mail, see the related article below entitled "Troubleshoot Problems in Windows Mail".


Related articles and Internet links:

 Back to the top of this page È

To return to CTI's menu of Instructions to Fix Errors, click here or use the back arrow at the top of your Internet browser.

 

 

 

 

rev. 122107