RE: Sending E-mail from VFP

Author: Graham Brown

Posted: 2011-08-22 at 07:21:31

You can also CDOSys to send email. I use this all the time as it is

built in to Windows.

http://leafe.com/archives/full_thread/442226

-----Original Message-----

From: profox-bounces@leafe.com [mailto:profox-bounces@leafe.com] On

Behalf Of Brant E. Layton

Sent: 19 August 2011 19:01

To: GrahamB

Subject: Sending E-mail from VFP

Hi Folks,

I'm seeking some insight into sending E-mail from VFP programs.

In the past, I've seen this done by dropping .BAT files containing MAPI

commands

into a system folder, with the .BAT file sending another .txt file.

There

wasn't a good way to track the success of the sending. It also doesn't

seem to

work if you can't get access to MAPI processes (like, you don't have a

server,

don't have Exchange, etc.). At least this is my understanding of the

mechanism.

Today, I need to be able to generate a nifty, nicely-formatted HTML

Email (with

logos, etc.), and send it, done by a VFP program. I'm not worried about

the

generating, just the sending part.

I'm assuming that the old way would still work, and have heard of some

virtual

printers that will do this.

Comments and/or experience on the best way to do this?

Thanks in advance,

Brant Layton

480.964.1316

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

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/0AF51B84D903A144B9EE71AEAFE7E81C0EC230@compsys1.CompySys.local

** 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.

©2011 Graham Brown