Im programming an add in for word to programmatically do the mail merge. But
i have all the code that sends it but then when i set it up to email like
this....
/* Merge properties */
ASSIGN
chTemplate:MailMerge:MailAsAttachment = FALSE
chTemplate:MailMerge:Destination = 0
chTemplate:MailMerge:MailAddressFieldName = "Email"
chTemplate:MailMerge:MailSubject = "Test"
chTemplate:MailMerge:Destination = 2
chTemplate:MailMerge:MailFormat = 1.
For some reason the securty access dialog keeps comming up. I have
redemption but dont know how to use it here. and i dont know why its doing
this or how to get around it
If by Security Dialog, you mean the following message:
"Opening This Will Run the Following SQL Command" then see the following
Knowledge Base Article:
http://support.microsoft.com?kbid=825765

Signature
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP
> Im programming an add in for word to programmatically do the mail merge.
> But
[quoted text clipped - 13 lines]
> redemption but dont know how to use it here. and i dont know why its doing
> this or how to get around it
dayv2005 - 11 Feb 2008 20:12 GMT
not that but this is what im getting.
there is a porgram that is accessing you email information in outlook. Do
you give them permission? then it's like for how long 1 - 2 - 5 - 10 minutes?
> If by Security Dialog, you mean the following message:
>
[quoted text clipped - 20 lines]
> > redemption but dont know how to use it here. and i dont know why its doing
> > this or how to get around it
You can consider the ClickYes utility:
http://www.contextmagic.com/express-clickyes/
(there may be others).
I'm not sure there is any way you can use redemption to help you here as
Word itself does all the work of sending the e-mail and you can't intercept
its code. However, you can consider "rolling your own" merge to e-mail and
you may be in a position to use redemption then.

Signature
Peter Jamieson
http://tips.pjmsn.me.uk
> Im programming an add in for word to programmatically do the mail merge.
> But
[quoted text clipped - 13 lines]
> redemption but dont know how to use it here. and i dont know why its doing
> this or how to get around it