Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create E-mail from a AT command on NT server
Message
From
31/10/2000 00:32:34
 
 
To
30/10/2000 11:37:13
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00435925
Message ID:
00436224
Views:
18
>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
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform