Look at Craig Boyd's fll for mapi.

John Harvey

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf
Of G Gambill
Sent: Sunday, March 01, 2009 6:55 AM
To: [email protected]
Subject: VFP Controlling Outlook Express

Running VFP 6
Windows XP SP 2

I am wanting to programatically sent emails (church group) from VFP.

I found a web page talking about using something called CDO with WIndows 2K
and the following code.

oMSG = createobject("CDO.Message")

 ** DO NOT FORGET TO CHANGE! You would not believe how many of theses I get!
:)

oMSG.To = "[email protected]"

oMSG.From = "[email protected]"

oMSG.Subject = "Hello Email"

oMSG.TextBody = "This is an easy way to create an email"

oMSG.Send()

I changed the "oMSG.To =" and the "oMSG.From =" to valid gmail accounts but,
it did mot work.  Didn't complain, just did nothing.  Actually, AVG warned
that someone was trying to access the internet and I allowed it.

Btw, Outlook Express is set up to use my gmail account and works well.

Using CDO is not important.  I just need to get VFP sending emails. I've
used BLAT in the past but, a lot of soficiated IT types seem to filter the
mesges out.

Any suggestions will be greatly appreciated.

TIA, George


--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/033e01c99a92$af703940$0e50ab...@[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to