The reason I see he is using his method is because he is attempting to circumvent the Outlook security precautions. This is probably not good way to go because of possible liability concerns, but it appears to be the rationale.
>Furthermore, from your description of your problem you do not need Outlook2002 to perform this task. Why not just use MAPI, that is the MSMAPI32.OCX control? The sample code provided with VFP 6,7, or 8 shows you how to send email.
Brian Seekford
Seekford Solutions, Inc.http://www.SeekfordSolutions.comInternet ActiveX Controls and .NET Class Libraries.
SMTP/S FTP POP3/S HTTP/S SNTP MIME PING WHOIS TRACEROUTE NNTP DNS MX
Base64, UUEncode, yEnc, MD5, SHA1, URL, Quoted-Printable.
Resizer and Tooltips
Email Verification and more. Check us out!