Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending interrnet e-mail message in off-line mode
Message
From
20/01/1999 04:36:11
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Sending interrnet e-mail message in off-line mode
Miscellaneous
Thread ID:
00177907
Message ID:
00177907
Views:
97
In our company we use Outlook and Exchange e-mail client
in off-line mode to sending internet e-mail messages.
In my app I create mail button with next click event.

with oleMAPISession
.UserName = "Maros Klempa"
.Password = "lorien"
.Signon()
if ( .SessionID > 0 )
oleMAPIMessages = createobject( "MSMAPI.MAPIMessages.1" )
oleMAPIMessages.SessionID = .SessionID
else
return
endif
endwith
with oleMAPIMessages
.Compose()
.RecipDisplayName = "sapmle@adress.sk"
.RecipType = 1
.ResolveName()
.MsgSubject = "Sample subject"
.MsgNoteText = "Sample email text"
.Send( .F. )
endwith
oleMAPISession.Signoff()

This code work o.k. But command Signon() induce one problem.
I use internet e-mail in off-line mode. But this command
start download all messages from all my e-mail boxes (I use
two internet e-mail boxes). I want only send this message, not
download messages. Is there a way to prevent download messages?

Maros Klempa
Reply
Map
View

Click here to load this message in the networking platform