🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #49387

Re: MAPISendMail / Post to a Newsgroup

#49387
From: Lyle Fairfield
Date: Tue, 12 Dec 2000 10:56
33 lines
2200 bytes
Although I regularly do what you suggest in calling API 
functions, I am unable to do so successfully in setting the 
value of an elemennt of a type.

Type MAPIRecip
    Reserved As Long
    RecipClass As Long
    Name As String
    Address As String
    EIDSize As Long
    EntryID As String
End Type

I think you want me to set the value of MAPIRecip.Address to a 
long (pointer). Whether MAPIRecip is typed as long or as string, 
OE trys to send mail to the first decimal digit of the strPtr 
... usually 4.

"michael \(michka\) kaplan"
<former_mvp@nospam.trigeminal.spamfree.com> wrote in
<t3blt491060q44@corp.supernews.com>: 

>Well, there is a good way to make Unicode calls, a deprecated
>way, and a bad way. You chose the bad way. :-)
>
>With that said, I would proceed and do it the right way....
>make the string params longs and then use StrPtr() of the
>strings for the long to pass. 

-- 
Lyle
http://www.cyriv.com/
Technical Details
Message-ID: <Xns900833517lylefairyahoocom@24.2.9.58>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!newsfeed.mesh.ad.jp!newshub2.rdc1.sfba.home.com!news.home.com!news4.rdc1.on.home.com.POSTED!not-for-mail
References: <90004DFD0lylefairyahoocom@24.2.9.58> <t2n2tn369a5caf@corp.supernews.com> <t3837ukr5gj3a1@corp.supernews.com> <Xns9006B3BF6lylefairyahoocom@24.2.9.58> <t39jvdcpku0sa5@corp.supernews.com> <Xns90075F915lylefairyahoocom@24.2.9.58> <t3blt491060q44@corp.supernews.com>

Show Full Headers
Complete Article Headers
Message-ID: <Xns900833517lylefairyahoocom@24.2.9.58>
Subject: Re: MAPISendMail / Post to a Newsgroup
Date: Tue, 12 Dec 2000 10:56:46 GMT
From: lylefair@yahoo.com (Lyle Fairfield)
References: <90004DFD0lylefairyahoocom@24.2.9.58> <t2n2tn369a5caf@corp.supernews.com> <t3837ukr5gj3a1@corp.supernews.com> <Xns9006B3BF6lylefairyahoocom@24.2.9.58> <t39jvdcpku0sa5@corp.supernews.com> <Xns90075F915lylefairyahoocom@24.2.9.58> <t3blt491060q44@corp.supernews.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!newsfeed.mesh.ad.jp!newshub2.rdc1.sfba.home.com!news.home.com!news4.rdc1.on.home.com.POSTED!not-for-mail
Newsgroups: news.software.nntp,comp.databases.ms-access
User-Agent: Xnews/03.11.14
Lines: 32
NNTP-Posting-Host: 24.226.64.223
X-Complaints-To: abuse@home.net
X-Trace: news4.rdc1.on.home.com 976618606 24.226.64.223 (Tue, 12 Dec 2000 02:56:46 PST)
NNTP-Posting-Date: Tue, 12 Dec 2000 02:56:46 PST
Organization: Excite@Home - The Leader in Broadband http://home.com/faster