There're a few ways to get around Outlook warnings but you should understand implications of each of them:
- Free Express ClickYes program at
http://www.express-soft.com/mailmate/clickyes.html.
- Redemption at
http://www.dimastr.com/redemption/home.htm.
-
How do I avoid the annoying Outlook dialog sending Outlook automation or MAPI email? FAQ #8155
-
OL2000: Administrator Information About the Outlook E-mail Security Update mskb #
Q263297.
>I have automated sending single emails from my vfp6 app using automation. I am getting 2 messages that I am concerned will confuse the user.
>1. A program is trying to access email address's you have stored in Outlook. Do you want to allow this?" Allow access for ??minutes "Yes/No/Help"
>I check the access box and set for 1 minute, click yes...next message pops
>2. A program is trying to automatically send email on your behalf. do you want to allow this? "Yes/No/Help"
>I click yes and the email goes to the intended receipient, like it should.
>
>I cannot find and pem's to control this behavior. There should be settings I can temporarily disable to allow the email to be sent without user interaction. Any suggestions? Code below:
>
>* email merged output
>oOutLook = getobject(,"Outlook.Application")
>oMail = oOutlook.CreateItem(0)
>WITH oMail
> .recipients.add(lcAddress)
> .subject = lcSubject
> .body = lcBody
> .save()
> .attachments.add(ThisForm.p_Memo_Location)
> .save()
> .send()
>ENDWITH
>
>
>Thanks, Chuck
--sb--