Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Eric den Doop
  Where is Eric den Doop?
 Eric den Doop
 To: Stephen Ames
  Where is Stephen Ames?
 United Kingdom
 Stephen Ames
Subject: RE: VFP to Outlook Express
Thread ID: 285 Message ID: 286 # Views: 1 # Ratings: 0
Version: Unknown Category: General VFP Topics
Date: Tuesday, May 22, 2001 4:57:05 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

Hi Stephen,

This code is compatible for use with Outlook Express, but it requires OE to be the default mail handler. There is a button in the Options dialog that takes care of this setting.


Eric den Doop


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