By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,136 Members | 1,827 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,136 IT Pros & Developers. It's quick & easy.

MAPISendMail question - repost

P: n/a
130 Targets(0) = "smtp:CR**"
135 MySubject = "Some relevant subject"
140 MyBodyText = "Blah, blah, blah"
150 Call SendMailWithOE(MySubject, MyBodyText, Targets)

SendMailWithOE invokes MAPISendMail courtesy of the
msoe dll in the outlook express folder. (see function declaration)

Declare Function MAPISendMail _
Lib "c:\program files\outlook express\msoe.dll" ( _
ByVal Session As Long, _
ByVal UIParam As Long, _
Message As MAPIMessage, _
ByVal Flags As Long, _
ByVal Reserved As Long) As Long

I would like to use the function call to call OE up in a state much
as it is when you open OE, click Create Mail and then click the
"Offline" icon on the compose window's menu bar. Creating a
letter that way writes the finished letter to OE's Outbox folder
rather than actually attempting to SEND it.

Am unsure if the MAPI interface supports my objective. Was
wondering if anyone in this NG has dabbled?
Oct 4 '06 #1
Share this Question
Share on Google+
1 Reply

P: n/a
did you test out the properties/methods that MAPI exposes? Did you
wander over to the bookstore and look up the OReilly book on using
MAPI? Did you look on the MS site? Or are you just expecting everyone
to do your work for you again?

Oct 4 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.