Solved

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

Posted on 2002-05-30
1
289 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Suggested Solutions

Title # Comments Views Activity
Visual Studio 2015 locks debug executable 9 270
Problem to DocumentFormat 8 147
SignTool Error with Windows 10 5 259
SSRS Deployment problem 5 126
zlib is a free compression library (a DLL) on which the popular gzip utility is built.  In this article, we'll see how to use the zlib functions to compress and decompress data in memory; that is, without needing to use a temporary file.  We'll be c…
With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
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…

739 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