Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 297
  • Last Modified:

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

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
mellor
Asked:
mellor
1 Solution
 
AlexVirochovskyCommented:
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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now