Dec 29, 2010 at 9:49 AM
Edited Dec 29, 2010 at 9:55 AM
My application calls MAPIInitialize(NULL) in order to send and receive mails, the problem is MAPIInitialize(Null) is getting failed and returns the error code as -2147467259 followed by a message "There is no email program associated to perform the requested
action. Please install an email program or, if one is already installed, create an association in the Default Programs control panel"
I'm using Windows 7 (32 Bit OS) as my testing environment which doesn't have any default mail client in it.
For using a mail client in Windows 7, Microsoft suggested to download the Windows Live Mail (email client for windows 7). Based on that suggestion i had downloaded and installed the Windows Live Mail in my Windows 7 machine. But the same error message box appeared
during the verification. Also i had made the Windows Live Mail as a default mail client in windows 7 by setting its property in the
“Start\Run\DefaultPrograms” but that also did not solve this issue.
if i install MS Office outlook and the problem gets disappeared.
Any suggestions would be helpful.
If i use my application in Windows XP, there is no issue since default mail client is MS outlook express also if i use my application in Windows vista it contains Windows Mail as a default mail cilent