Problem using Redemption DLL

S

Shaun

I have a form that I am using the redemption DLL for
various ares in the forms script. However I have a problem
using the safemailitem to send the form. The email gets
sent but it only arrives as a standard IPM.Note without
the form and its script. The form is published in my
personal folders and is published as not to send the form
definition.

I have basically amended the call to Item.Send from within
the script to the following:

Dim SafeItem
Set SafeItem = CreateObject("Redemption.SafeMailItem")
SafeItem.Item = Item
SafeItem.Recipients.Add WizardForm.txtAuthManager
SafeItem.Recipients.ResolveAll

MsgBox "Item Message Class = " & Item.MessageClass
MsgBox "SafeItem Message Class = " &
SafeItem.MessageClass
MsgBox "SafeItem Item Message Class = " &
SafeItem.Item.MessageClass

' Item.Send
SafeItem.Send


Any Ideas?

Thanks in Advance

Shaun
 
S

Sue Mosher [MVP]

That's by design and has nothing to do with Redemption. If the form is published only locally to you, the recipient will not have access to the form definition. If you want the recipient to see your form layout and run your script, the recipient needs access to the published form definition.
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
 
G

Guest

Sue,

Sorry, I should have made myself clearer.
I am sending it to myself for testing, so I still can see
the published form. When it goes live, it will be
published into the organisational forms library, so that
it is only visible to all members in my organisation.

Hope this helps

Shaun
-----Original Message-----
That's by design and has nothing to do with Redemption.
If the form is published only locally to you, the
recipient will not have access to the form definition. If
you want the recipient to see your form layout and run
your script, the recipient needs access to the published
form definition.
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers


"Shaun" <[email protected]> wrote in
message news:[email protected]...
 
S

Sue Mosher [MVP]

Is there any other code behind the item that might be causing it to one-off? I presume your MsgBox statements show that the item has the correct class when it's sent?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top