🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #63074

Receiving email into a program -- also CMC

#63074
From: Jon S. Kyle
Date: Mon, 13 Jan 2003 20:11
33 lines
2442 bytes
Can someone help me?  I'm new at this SMTP stuff.

I've got some C++ apps (on Win2K Server) that need to send and receive
email.

Sending is no problem -- just write message file into
"Inetpub\mailroot\Pickup" and bingo!

But...  how do I receive messages (by getting out of "Inetpub\mailroot\Drop"
or otherwise)?

Here's my status:

I've searched the MS documentation and concluded that I need to use CMC.

I've compiled the "Using Common Extensions: CMC Sample" program.  Compile is
clean, but every external reference is unresolved:
    error LNK2001: unresolved external symbol _cmc_logoff@16
    error LNK2001: unresolved external symbol _cmc_free@4
    error LNK2001: unresolved external symbol _cmc_logon@36
    error LNK2001: unresolved external symbol _cmc_query_configuration@16

Specifying "mapi32.lib" doesn't help, and nothing in MS documentation says
what lib to use.

Am I off track?  Can someone suggest what to do?  Is CMC the right approach
to get email directly into my C++ program?

Thanks.



Technical Details
Message-ID: <PRednX63gNzpgL6jXTWcqA@comcast.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!nntp-relay.ihug.net!ihug.co.nz!west.cox.net!cox.net!nntp2.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail
References: <1r3co0fjr2.fsf@vingodur.ifi.uio.no>

Show Full Headers
Complete Article Headers
Message-ID: <PRednX63gNzpgL6jXTWcqA@comcast.com>
Subject: Receiving email into a program -- also CMC
Date: Mon, 13 Jan 2003 15:11:31 -0500
From: "Jon S. Kyle" <_NOSPAM_JKyle@SpeedwaySoftware.com>
References: <1r3co0fjr2.fsf@vingodur.ifi.uio.no>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!nntp-relay.ihug.net!ihug.co.nz!west.cox.net!cox.net!nntp2.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail
NNTP-Posting-Date: Mon, 13 Jan 2003 14:11:32 -0600
Newsgroups: news.software.nntp
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Lines: 32
NNTP-Posting-Host: 68.58.36.52
X-Trace: sv3-BcvM/q1gb749BsoDR8nOY+5poCaThaqGISj/gTYWn3mos7bAtsHjkh67ENJFq4nwzhx+xyi5XPOYJ1G!NLTVDeRzEGodCAIBdlfVWQvp7KZKUf1v9Lb1CPumh7J23bt4mFuisLeVA10=
X-Complaints-To: abuse@comcast.net
X-DMCA-Complaints-To: dmca@comcast.net
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.1