PC Review

Thread Tools Rate Thread

Can't get Attachments with Redemption - error

New Member
Join Date: Sep 2007
Posts: 3
      11th Sep 2007
Hi -
I am trying Redemption for the first time, and was trying to access Attachments.

When I try the code below (VB6) I get a popup error:
Runtime error "-2147418113 (8000ffff)':
You are not authorized to use this object. Set AuthKey property first

Private oApp As Outlook.Application
Private oMess As Outlook.MailItem
Private Sub Command2_Click()
Dim rMess As Object
	Set oApp = New Outlook.Application
	Set oMess = oApp.CreateItemFromTemplate(msgfile)
	Set rMess = New Redemption.SafeMailItem
	rMess.Item = oMess
	rtf.Text = rMess.Body
Dim rAtt As Redemption.Attachment
	For Each rAtt In rMess.Attachments 'ERROR OCCURS HERE
		With rAtt
			List1.AddItem .DisplayName
		End With
	Next rAtt
End Sub
I am not using AuthKey anywhere in my code - and when I try, I get basically the same error message.

Is this message due to the fact that I am using the Developer version ?

Reply With Quote
New Member
Join Date: Sep 2007
Posts: 3
      11th Sep 2007
Never mind - It turns out I had Redemption reg keys I wasn't aware of - so i deleted them.

I think that some other program I use also uses Redemption....
Reply With Quote

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to Use Redemption to copy msg attachments to inbox Aaron Microsoft Outlook VBA Programming 1 9th Feb 2009 08:11 PM
Problem saving attachments with redemption wxcnbv Microsoft Outlook Program Addins 0 22nd Feb 2007 04:00 PM
How To Use Redemption To Save Attachments MikeC Microsoft Outlook VBA Programming 2 26th Aug 2004 01:55 AM
Saving Attachments - Redemption news.microsoft.com Microsoft Outlook VBA Programming 2 17th Feb 2004 10:39 PM
OL Redemption - Attachments Invisible Mike Vest Microsoft Outlook Program Addins 2 19th Sep 2003 05:29 PM




All times are GMT +1. The time now is 01:17 PM.