Solved

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

Posted on 2002-05-30
1
288 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article shows how to make a Windows 7 gadget that extends its U/I with a flyout panel -- a window that pops out next to the gadget.  The example gadget shows several additional techniques:  How to automatically resize a gadget or flyout panel t…
This article describes a technique for converting RTF (Rich Text Format) data to HTML and provides C++ source that does it all in just a few lines of code. Although RTF is coming to be considered a "legacy" format, it is still in common use... po…
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…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

821 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