how to receive email?

T

terry

Hi,
How can I write code to triggered of the application Item_Send event
Isn't it possible with ol.2k
best regards
 
T

terry

Hi,
The outlook2000 is open as a out-process server
I would to control the outlook2000 to receive Email in my program
I find nothing in msdn, Is it possible?
How can i do this
best regard

----- terry wrote: ----

Hi,
How can I write code to triggered of the application Item_Send event
Isn't it possible with ol.2k
best regards
 
H

Hollis D. Paul

The outlook2000 is open as a out-process server,
I would to control the outlook2000 to receive Email in my program,
I find nothing in msdn, Is it possible?
How can i do this ?
The usual setup is to have Exchange as the server, and Outlook as the
client. But, if you are using a laptop which travels, and you want to
do email while off the LAN, and you want to synchronize that email
traffic with the Exchange server when the laptop returns, then you
designate specific folders for Off-line use, and Exchange/Outlook
creates an OST file on the laptop to which it will connect rather than
Exchange. Then you add an internet connection account as the second
account to the mail profile, which will be used when the Exchange
connection is absent.

If you want to use Outlook in a stand-alone configuration, without
Exchange, then you use a .pst file for infostore and configure a local
internet connection using the Email Connection Wizard. Outlook will
use that connection to get and send email.

In both off-line and stand-alone configurations, you use the Item.send
method to send the message out. Like you, I don't immediately a
get-email-from-server method, so I will ask the experts.



Hollis D. Paul [MVP - Outlook]
(e-mail address removed)
Using Virtual Access 4.52 build 277 (32-bit), Windows 2000 build 2195
http://search.support.microsoft.com/kb/c.asp?FR=0&SD=TECH&LN=EN-US

Mukilteo, WA USA
 
H

Hollis D. Paul

How can i do this ?
best regards
The Experts said:

Ken Slovak says:
Item.Send just submits the message to the transport mechanism. To
actually initiate a send/receive you need to either use CDO and
Session.DeliverNow or get a handle to the CommandBar buttons for Send
or Send/Receive and execute them. I have sample code for that at
http://www.slovaktech.com/code_samples.htm#SendReceive

Many of those techniques will fire the HELL prompts though.

Neo says:

If Outlook 2002/2003, give the SyncObjects/SyncObject objects a look in
the Outlook OOM. Earlier versions would require Ken's methods.

There you have it--a lot more than I could have told you.

Hollis D. Paul [MVP - Outlook]
(e-mail address removed)
Using Virtual Access 4.52 build 277 (32-bit), Windows 2000 build 2195
http://search.support.microsoft.com/kb/c.asp?FR=0&SD=TECH&LN=EN-US

Mukilteo, WA USA
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top