130 Targets(0) = "smtp:CR**@NorthState.net"
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?