Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Email out of VFP

68 views
Skip to first unread message

..

unread,
Feb 23, 1999, 3:00:00 AM2/23/99
to
Hi Everyone!

Sorry if I'm bringing up an issue that you've beaten to death over the last
few months, but I've been away. I now have my VFP 6.0 app running against
an Oracle server, and it only took 3.5 months. <g>

Now I have a need to produce a report and distribute it to supervisors
throughout the county. I could put it in their mail slot.... but it would
be a lot neater if I could just email it to them. Is there a way to create
email messages out of VFP? We are using Microsoft Outlook as the mail
client and Microsoft Exchange Server, not SNMTP.

TIA for any help.

Best!

Randall
[Just my Dog and I at the Edge of the Universe]

Eric June

unread,
Feb 24, 1999, 3:00:00 AM2/24/99
to
Randall,

You can use our IDSMail component in VFP to send/receive mail via any
mail system based on MAPI, SMTP/POP3 (Internet mail), VIM (Lotus), MHS
(Novell), Banyan VINES, Active Messaging, or CDO. This includes support
for Outlook and Exchange Server.

For example, here is all the code you would need to send a message with
a file attachment:

Local idsMail
idsMail = CreateObject("IDSMailInterface32.Server")
idsMail.ObjectKey = "ABC123"
idsMail.NewMessage
idsMail.AddRecipientTo ("Jim Smith")
idsMail.AddRecipientCc ("Mary Brown, Doug Williams")
idsMail.Subject = "Meeting Agenda"
idsMail.Message = "Here is the agenda for the weekly meeting."
idsMail.AddAttachment ("C:\MEETINGS\AGENDA.DOC")
idsMail.Send

For more info on IDSMail, go to http://www.intuitive-data.com

--
Regards,

Eric June
Intuitive Data Solutions

--------- We Make OLE Servers Intuitive --------------
Eric June ej...@intuitive-data.com
Intuitive Data Solutions fax: (408) 776-1267
Send/Rcv Email *EASILY* through SMTP/POP, VIM, MAPI,
MHS & VINES http://www.intuitive-data.com/idsmail.htm
------------------------------------------------------

Anders Altberg

unread,
Feb 24, 1999, 3:00:00 AM2/24/99
to
Hi Randall
Buttons.vcx has a Mailbtn class.
And check out ftp://ftp.microsoft.com/developr/fox/kb/q181/9/26.txt
-Anders

.. wrote in message <#d7SY14X#GA....@uppssnewspub04.moswest.msn.net>...

Charlie Fineblum

unread,
Feb 24, 1999, 3:00:00 AM2/24/99
to
I hear the Marbury mail controls are excellent.

Charlie

Ozzie

unread,
Feb 24, 1999, 3:00:00 AM2/24/99
to
Rick Strahl's West Wind Web Connection provides an excellent email function:

SET PROCEDURE TO wwUtils ADDITIVE
SET CLASSLIB TO wwIPStuff ADDITIVE

loMail=CREATE("wwIPStuff")

SET MEMOWIDTH TO 200

WITH loMail
.cMailServer="mail.sasipos.com"
.cSenderEmail="Douglas...@sasipos.com"
.cSenderName="Ozzie"
.cRecipient="Douglas...@sasipos.com"
.cCCList="ozz...@erols.com"
.cBCCList=""
.cSubject=pcSubject
.cMessage=pcMessage
.cAttachment=pcAttachment
.SendMail()
ENDWITH


Tim Pannell

unread,
Feb 25, 1999, 3:00:00 AM2/25/99
to
Isn't that one just for SMTP mail?

Ozzie wrote in message ...

Greg Foote

unread,
Feb 26, 1999, 3:00:00 AM2/26/99
to
Check www.mabry.com

Greg Foote

..

unread,
Feb 26, 1999, 3:00:00 AM2/26/99
to

I want to thank everyone for their responses. I'm grateful for all the
options you've given me.

Best!

Randall

Garrett Fitzgerald

unread,
Mar 1, 1999, 3:00:00 AM3/1/99
to
In article <S2WA2.10$7n1...@news.rdc1.md.home.com>, c...@radix.net
says...

> I hear the Marbury mail controls are excellent

I think you mean Mabry, at http://www.mabry.com/.
--
Garrett Fitzgerald
UNICOM, Providence, RI
#INCLUDE "\Program Files\Microsoft Visual Studio\VFP98\StdDsclm.h"

0 new messages