Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: James Mio
  Where is James Mio?
 Boca Raton
 Florida - United States
 James Mio
 To: Simon Arnold
  Where is Simon Arnold?
 Halifax
 United Kingdom
 Simon Arnold
 Tags
Subject: RE: vfp6 to outlook2000
Thread ID: 397 Message ID: 450 # Views: 2 # Ratings: 0
Version: Unknown Category: General VFP Topics
Date: Wednesday, May 30, 2001 4:01:11 PM         
   


Great stuff!

Could you post some code which would allow me to do the following things:

1) Process mail from an inbox
2) Remove from inbox after processed
3) Move mail from one folder to another

Thanks in advance

> > Can you repost the script for this or redirect to one that is already listed
> >
> > Larry, Jamaica
>
> #DEFINE olMailItem 0
> #DEFINE CR CHR(13)
>
> oOutlook = CREATEOBJECT('Outlook.Application')
> oMailItem = oOutlook.CreateItem( olMailItem )
> WITH oMailItem
> .Subject = "Subject of Message"
> .Body = "Main Body Text of Message"
> .Recipients.Add("simon.anold@foxite.com")
> .Save()
> .Send()
> ENDWITH
>
> This just sends e-mail, if you want more in-depth info on other area's let me know.
>
> Simon Arnold
> Westlake Computer Systems Ltd.
> Halifax, UK.
> simon.arnold@foxite.com


Hooty!

ENTIRE THREAD

vfp6 to outlook2000 Posted by Larry Crumbie @ 5/27/2001 7:28:52 PM
RE: vfp6 to outlook2000 Posted by Simon Arnold @ 5/28/2001 2:49:01 AM
RE: vfp6 to outlook2000 Posted by James Mio @ 5/30/2001 4:01:11 PM