Solved

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

Posted on 2002-05-30
1
283 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
Comment Utility
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 Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

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…
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…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

763 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now