mapi

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

Is there a reliable way to implement email functionality without an email client?

被刻印的时光 ゝ 提交于 2019-12-11 05:33:27
问题 I'm currently tasked with adding limited email functionality to an application. It's only for Windows PCs that don't have Outlook installed but may have one of Outlook Express, Windows Live Mail, or something similar. I am not allowed to obtain email server details as the PCs are for clients, not internal. I also cannot use CDO or extended MAPI as the client may not have Exchange and I have also been forbidden from creating a web service to implement the functionality as that would be far too

Is Interop.Outlook multithreaded?

倖福魔咒の 提交于 2019-12-11 04:50:17
问题 I need to use Outlook Interop objects for generating .MSG files from a web interface. That's why they will be accessed simultaneously by different threads. Is it multithreaded? And another question: Does Outlook need to be initialized (e.g. account set) before using Outlook.Application on a server? 回答1: The simple answer to your question is No . Don't go down the automation route, Office applications are not designed to be used within a non-user interactive environment or to be ran on a

Delphi: how to compose an email in Outlook without using MAPI?

戏子无情 提交于 2019-12-10 21:48:15
问题 In this question I just asked I told that I prepare Outlook messages by sending data from my app to Outlook with MAPI. But in this way I have one major hurdle: I cannot send formatted text for the message body. My form has an rtf field, I strip away rtf data then prepare the outlook mail. How is it possible to do the same (creating an outlook outgoing email ready to be sent) without using mapi, and keeping the formatting, somehow "rtf to html"... Does anyone already have this code? 回答1: Using

How to get Outlook contact groups using MAPI?

旧街凉风 提交于 2019-12-10 17:02:09
问题 In Outlook 2010, you can create contacts and add them to groups. Is there any way to get the list of such groups and the contacts in them? Here's how I access the contacts: var outlook = new Outlook.Application().GetNamespace("MAPI"); var folder = outlook.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderContacts); foreach (var curr in folder.Items.OfType<Outlook.ContactItem>()) { ... } I do not mean default contact folders, such as "Contacts" and "Suggested contacts". 回答1: The contact groups

How to process/extract .pst using hadoop Map reduce

痴心易碎 提交于 2019-12-10 11:30:25
问题 I am using MAPI tools (Its microsoft lib and in .NET) and then apache TIKA libraries to process and extract the pst from exchange server, which is not scalable. How can I process/extracts pst using MR way ... Is there any tool, library available in java which I can use in my MR jobs. Any help would be great-full . Jpst Lib internally uses: PstFile pstFile = new PstFile(java.io.File) And the problem is for Hadoop API 's we don't have anything close to java.io.File . Following option is always

C# MAPI to read exchange server inbox

不想你离开。 提交于 2019-12-08 22:35:53
问题 I want to write C# application which will remotely connect to exchange server and read my inbox! I want to use MAPI for that. So I got two questions: Can it be done remotely, and is there any requirements(e.g. install outlook client,etc? ) I was not able to find any code example in C# which uses MAPI to connect to inbox? 回答1: 1) If I remember correctly Outlook must be installed and a profile must be set up. (In short; you are reading Outlooks data, not Exchange). 2) There are samples for this

Outlook PropertyFrom MAPI Schema Property ID

老子叫甜甜 提交于 2019-12-08 12:08:42
问题 I am looking to get the actual property name from a MAPI schema property. I'm obtaining the MAPI Schema property "http://schemas.microsoft.com/mapi/proptag/0x67AA000B" but I would like to know what field this corresponds to (I.E. Anniversary, BusinessAddress, etc). Any insight would be appreciated. 回答1: This link to MSDN provides a table which shows the allocation of particular tag range values to an assigned purpose MAPI Property Tag Table. The table indicates that 0x67aa000b is in the

Using MAPI to access the Exchange Server from a Service

前提是你 提交于 2019-12-08 06:03:55
问题 I was tasked with building an application that would check email using MAPI. I made use of a wrapper class coded in cpp, which is accessed from c#. I realize that combining managed and unmanaged code is not necessarily the best path, but it was what I could get to work. After getting it working, I was asked to make the application a service, so it could be run when the system was not logged in. The client requires us to use MAPI, and is using Outlook 2007, but I would like it to be compatible

Upgrading VB6 code from Outlook 2007 to Outlook 2010

北城以北 提交于 2019-12-08 04:03:41
问题 We want to upgrade our VB6 code to use Outlook 2010, but we're getting the following error: Active x cannot create object This is our current code: Public Sub SendEmail() Set emailOutlookApp = CreateObject("Outlook.Application.12") Set emailNameSpace = emailOutlookApp.GetNamespace("MAPI") Set emailFolder = emailNameSpace.GetDefaultFolder(olFolderInbox) Set emailItem = emailOutlookApp.CreateItem(olMailItem) Set EmailRecipient = emailItem.Recipients EmailRecipient.Add (EmailAddress)