screech_
Fri Dec 03 12:35:09 CST 2004
That is incorrect. On my deveoplment machine I have the Office XP version of
Outlook with no server setup, just a personal folder file and address book,
and I do not get an error when send is called. When I try seeing if send
returns anything the varible become .null., if a server is setup and the
message is sent, does send return anything other than .null.? Due to rules
on network at work my development computer can't be connected. And it takes
MONTHES to get approval to put software on a networked computer, can't wait
that long just to test something.
Was really hoping to be able to determine if a server is setup, only create
email if one is (Better yet, not enable the email option in the program). If
Send has a return value that would be faster that checking the sent folder,
which I'd shy away from unless there is a way of calling Send/Recieve and VPF
wait on the results of that before checking the folder.
The link is a good example of basic usage, which I've already done.
Thanks for the reply, look foward to more that may lead to a better solution.
John B.
"DSummZZZ" wrote:
> Well, you can't set up Outlook without giving it a server to act on, so by
> simply attempting to create the Outlook instance from VFP you should know
> if it is working:
> oOutlook = CreateObject("Outlook.Application")
>
> When you attempt to send it, as long as no error occurs, it should have
> been sent. But you can always check the 'Sent Items' fold via VFP if
> needed.
>
> Here's a good example for using Outlook:
>
http://www.tek-tips.com/faqs.cfm?fid=766
>
>
>
>