Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Stephen Ames
  Where is Stephen Ames?
 Bexley
 United Kingdom
 Stephen Ames
 Tags
Subject: VFP to Outlook Express
Thread ID: 285 Message ID: 285 # Views: 1 # Ratings: 0
Version: Unknown Category: General VFP Topics
Date: Tuesday, May 22, 2001 4:04:54 AM         
   



I already send emails from my apps using Outlook 97/98/2000
but how can I use OE5 which is what some customers have.

I looked at the webboard but the messages must be archived or something
as they came back blank.

This is what I use now and it almost certainly came from the webboard.

oform=createobject("form")
oform.addobject("Session1","olecontrol","MSMAPI.mapisession")
oform.addobject("message1","olecontrol","MSMAPI.mapimessages")
oform.session1.signon
oform.message1.sessionid = oform.session1.sessionid

oform.message1.compose
oform.message1.recipaddress=sendtox
oform.message1.resolvename
oform.message1.msgsubject=subject
oform.message1.msgnotetext=msgtxt

oform.message1.send(0)
oform.session1.signoff
release oform



Stephen Ames

ENTIRE THREAD

VFP to Outlook Express Posted by Stephen Ames @ 5/22/2001 4:04:54 AM
RE: VFP to Outlook Express Posted by Eric den Doop @ 5/22/2001 4:57:05 AM
RE: VFP to Outlook Express Posted by Stephen Ames @ 5/22/2001 9:30:26 AM