Article: 179756 of microsoft.public.fox.programmer.exchange
Thread-Topic: Grabbing an email Address from a Form
thread-index: AcUsAYEiHph53JROQwaiesOZAkaJew==
X-WBNR-Posting-Host: 206.29.98.226
From: =?Utf-8?B?VG9t?= <Tom@discussions.microsoft.com>
References: <F3C056F1-CCF4-4639-874F-568BC1DBAE15@microsoft.com>
Subject: RE: Grabbing an email Address from a Form
Date: Fri, 18 Mar 2005 13:29:02 -0800
Lines: 16
Message-ID: <64012719-9E6A-410C-981F-9B584CC20FC4@microsoft.com>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.fox.programmer.exchange
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
Path: news.btopenworld.com!btnet-feed3!news-peer0-test!btnet!news-in.ntli.net!newsrout1-win.ntli.net!ntli.net!newsfeed01.sul.t-online.de!newsfeed00.sul.t-online.de!t-online.de!TK2MSFTNGP08.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: news.btopenworld.com microsoft.public.fox.programmer.exchange:179756

aOk i answered my own question with the Following Code.

oOutlook = createobject("Outlook.Application")
#define olMailItem 0
oMailitem = oOutlook.createitem(olMailitem)
WITH oMailitem
.to = lagstat.pemail
endwith
oMailitem.display

However it raised another. when a person sends in the above code, and
outlook is not open, it waits to actually send the item untill they open up
outlook. i need the mails to send when the user hits the send button, even if
Outllok is Closed.

Thanks again.