outlook-redemption

retrieving the default outlook email account using Redemption

和自甴很熟 提交于 2019-12-11 23:31:52
问题 just trying to work my way around using Redemption; I've got the following code to retrieve the RDOAccounts (Email accounts) from the default Profile: Profiles profiles = (Profiles)Activator.CreateInstance(Type.GetTypeFromProgID("ProfMan.Profiles")); Profile defaultProfile = profiles.DefaultProfile; //open a RDOSession for this profile RDOSession session = RedemptionLoader.new_RDOSession(); session.Logon(defaultProfile.Name); RDOAccounts accounts = session.Accounts; Where I'm stuck is trying

CreateObject(“Redemption.RDOSession”) returns error code 800401FA

Deadly 提交于 2019-12-11 17:57:02
问题 I'm trying to use the redemption library in my script now and I can't load it. Set m_objRDOSession = CreateObject("Redemption.RDOSession") I have also tried to load it directly like the following Set m_objRDOSession = GetObject("Redemption.dll", "Redemption.RDOSession") Both the same error code, with null message and source. I'm using windows 64 bit with outlook 32 bit. I have successfully loaded the library with c# and the redemption loader on the same machine. PS: I should mention that I

Redemption how to determine object types in example code

北慕城南 提交于 2019-12-11 17:45:53
问题 I just start using Redemption and not really sure how to use the Doc. I using C# VS2017 and Redemption 5.17. RES_CONTENT = 3 FL_SUBSTRING = 1 FL_IGNORECASE = &H10000 PR_SUBJECT = &H0037001E 'create new search folder set Session = CreateObject("Redemption.RDOSession") Session.Logon set DefaultStore = Session.Stores.DefaultStore set SearchRootFolder = DefaultStore.SearchRootFolder set NewSearchFolder = SearchRootFolder.Folders.AddSearchFolder("Test Redemption Search Folder") 'set the

Prevent authentication prompt when configuring a new Exchange Online email profile using Redemption

非 Y 不嫁゛ 提交于 2019-12-11 17:28:38
问题 I have an issue where attempting to configure an Exchange Online mail service for a new profile using Profman causes an authentication prompt, and was wondering if anyone had done something similar programmatically before, and whether or not they were able to provide credentials / prevent the prompt from showing? RDOSession profileSession = RedemptionLoader.new_RDOSession(); string proxy = String.Format("hknprd0204.outlook.com",machineName); string server = String.Format("hknprd0204.mailbox

Programmatically accessing “Offline Address book” using Redemption

a 夏天 提交于 2019-12-08 02:13:39
问题 How to access "Offline Address Book" (from exchange server/outlook configured to exchange machine) using Redemption dll (C#). I am looking for some sample code to proceed with my task. 回答1: Try this. I am using Redemption 4.6. I created a form and added a DataGridView for result viewing purpose. Here is my code: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace

Using Redemption dll (Outlook) on a 64 bit machine

▼魔方 西西 提交于 2019-12-08 02:04:26
问题 I have an exe that I have installed on my 32 bit machine, it loops through logged in users Inbox and works fine, (NB I still havent got it working for another user (see here) any ideas there would be appreciated as well!). But when I install it on 64 bit server I am getting this error: Creating an instance of the COM component with CLSID {29AB7A12-B531-450E-8F7A-EA94C2F3C05F} from the IClassFactory failed due to the following error: 80004005. I have registered the Redemption dll on the server

Multiple Actions for one Outlook rule in Powershell

帅比萌擦擦* 提交于 2019-12-07 22:17:24
问题 I have a question about Outlook Rules in Powershell. I wrote some code that successfully stores any incoming e-mail from a certain sender to the deleted-items folder. I did this because when the mails enter the junk folder, the junk folder still has the counter token of mails, so in the end it will say I have 10-mails in the junk folder. I want to avoid this by just throwing the incoming mails from that sender to the deleted-items folder and also marking the mail as "read" so that I don't see

Multiple Actions for one Outlook rule in Powershell

﹥>﹥吖頭↗ 提交于 2019-12-06 12:04:35
I have a question about Outlook Rules in Powershell. I wrote some code that successfully stores any incoming e-mail from a certain sender to the deleted-items folder. I did this because when the mails enter the junk folder, the junk folder still has the counter token of mails, so in the end it will say I have 10-mails in the junk folder. I want to avoid this by just throwing the incoming mails from that sender to the deleted-items folder and also marking the mail as "read" so that I don't see the clutter in the deleted items folder. The question is really: Can I add multiple actions to the

Using Redemption dll (Outlook) on a 64 bit machine

谁都会走 提交于 2019-12-06 07:02:47
I have an exe that I have installed on my 32 bit machine, it loops through logged in users Inbox and works fine, (NB I still havent got it working for another user ( see here ) any ideas there would be appreciated as well!). But when I install it on 64 bit server I am getting this error: Creating an instance of the COM component with CLSID {29AB7A12-B531-450E-8F7A-EA94C2F3C05F} from the IClassFactory failed due to the following error: 80004005. I have registered the Redemption dll on the server ( see here ). I have done this running-c-app-32-bit-on-64-bit-machine NB. The class id would appear

Programmatically accessing “Offline Address book” using Redemption

混江龙づ霸主 提交于 2019-12-06 05:29:33
How to access "Offline Address Book" (from exchange server/outlook configured to exchange machine) using Redemption dll (C#). I am looking for some sample code to proceed with my task. Jojo Sardez Try this. I am using Redemption 4.6. I created a form and added a DataGridView for result viewing purpose. Here is my code: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace TestingJojoWinForms { public partial class frmRedemption : Form { public frmRedemption() {