Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Outlook XP security message
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00527297
Message ID:
00527366
Views:
36
>When running this code...
>
>loOutlook = createobject('outlook.application')
>USE newvanfox
>SCAN
>	loEmailItem = loOutlook.CreateItem(0)
>	loEmailItem.To = newvanfox.email
>	loEmailItem.Subject = "update: July Vancouver FoxPro meeting"
>	loEmailItem.Body = FILETOSTR("julymeeting.txt")
>	loEmailItem.Send
>ENDSCAN
>loOutlook = .null.
>release loOutlook
>
>
>Outlook XP (2002) forces me to confirm each email send by clicking a yes button. Does anyone know the setting in Outlook to make it send the email without requiring manual intervention?

This looks like the result of the Outlook security patch. If it is then the only way to get rid of it is to get rid of the patch. We use Outlook 2000 SR-1 here and when I installed that patch and realized the extent that MS went to prevent the object from being used behind the scenes, well I then realized I could not live with that and be automated at the same time (my PC processes several things in the background using Outlook). So I uninstalled outlook and reinstalled it to a SR-1 version without the patch and have avoided that patch ever since.
Bret Hobbs

"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform