>Hi All,
>
>
>I am using a NT server and a VFP program that create E-mail. The VFP program will work fine if it launch from the explorer or run command.
>
>I use the AT (NT scheduler) command to schedule and launch my fox pro program.
>The NT scheduler launch the program but it could not create the E-mail and E-mail out to the appropriate reciepient.
>
>Environment
>-NT Server 4.0
>-Log in as Admin
>Schedule launch as AUTOMATIC and using the ADMIN logon (Control Panel, Service,schedule, log as as admin)
>
I'd look at SMTP for outbound-only stuff; it's easy and cheap to do (in fact, there's SMTP service in Win2K server without much effort, and CDONTS is easy, too.) No need for VFP - I can do all that's needed in VBScript. Rick Strahl's wwIPStuff may provide the necessary functionality in the VFP app; I know I can do everything needed to send email using WSH scripting and CDONTS.
If you want to look at a more complete solution, you might look into Deerfield's MDaemon product, which can provide an inexpensive, powerful and easily configured mail server.
>
>VFP Program
>Instantiate the OUTLOOK control , set profile, and etc, and create the E-MAIL
>
>
>The VFP program will work fine if launch manually however using the AT command it will not work. When the schedular fire , the program did got launch but it cannot create E-mail.
>
>It seem like there is a security issue with using the AT command with outlook or MAPI.
>
>Help me out ???
>
>
>I am trying to schedule the VFP program to e-mail some status report using NT server.
>
>
>Thanks