Solved

Problems driving CMC (Common Message Calls) to do e-mails.

Posted on 2002-05-30
1
287 Views
Last Modified: 2013-12-03
We are unable to e-mail from within our product.
We use the CMC interface to peform this job.

There are two problems:

1. On NT 4.0 the call to CMC_LOGON fails with
CMC_E_FAILURE which is a cover-all response giving
us no idea as to the direction to take for a fix.

2. On WIN 2000 and XP the entire sequence of calls
to CMC (CMC_LOGON,CMC_LOOKUP,CMC_SEND,CMC_LOGOFF)
all succeed but no e-mail is actually sent?

Any idea's

Mellor
0
Comment
Question by:mellor
1 Comment
 
LVL 14

Accepted Solution

by:
AlexVirochovsky earned 200 total points
ID: 7049344
check out example in
http://resource.intel.com/telecom/support/ctmedia/download/rdkdocs/mapisampl/mapi_storage_strategy.htm

mapisampl.zip (73 kb)

If this example works in your situation, something in
code. If no, something in settings of NT/XP.
But I am, for example, don't use MAPI now, but work
directly with sockets. Example of send/get mail with
sockets you can find in

Send/Get Mail (socket 2) "Davide Libenzi"
http://www.xmailserver.org/davide.html
In code exists small bug,but it is easy fix it.

Or you can use  JMail component to send and receive mails.
You can download it free from
http:\\dimac.net
Alex
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I will show how to use the Ribbon IDs Tool Window to assign the built-in Office icons to a ribbon button.  This tool will help us to find the OfficeImageId that corresponds to our desired built-in Office icon. The tool is part of…
As more and more people are shifting to the latest .Net frameworks, the windows presentation framework is gaining importance by the day. Many people are now turning to WPF controls to provide a rich user experience. I have been using WPF controls fo…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

823 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question