Send and receive

  • Thread starter Thread starter Moritz Schubotz
  • Start date Start date
M

Moritz Schubotz

Hello NG,

I've written a program that checks my mail form my pop Server and deletes
all spam. Now want to get the good eMails in my MSOutlook for reading and
answering. Is it possible to convert the data string from the Pop server to
an outlook MailItem? Or how can call the outlook function "Send and receive"
which is in the command bar with my VB/VBA source code.

Thanks for your help

Moritz
 
Try

Set Btn = Application.ActiveExplorer.CommandBars.FindControl(1, 5488)

Btn.Execute


Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
Is there anyway to know if outlook finish sending/receiving after I
triggers send/receive from vba code?

Can Syncend event do this job?
 
Back
Top