Category "outlook"

Automatically Allow Programmatic Access to Outlook

There is a Public Shared Folder that exists on a corporate exchange server. I am trying to connect to the outlook folder, and monitor it for incoming mail. H

MAPI_E_NO_ACCESS error setting RDOPstStore property

I'm attempting to set (actually clear) the PR_PST_PASSWORD property on a PST file using Redemption thusly: RDOSession session = new RDOSession(); RDOPstStore s

Print original email when it is undelivered

I'm using MS Office 2016 Desktop App on Windows 10. I didn't find any success searching online and also contacting MS Outlook Support to find that there is no e

Getting contact information from the Outlook GAL using Python and win32com

I am trying to write a script in Python that will pull the contact information from the Outlook Global Address List. For each entry, I've managed to get the nam

c# outlook addin - store data locally

Whenever an email is sent, I want someaction to be performed(we active this action by clicking some button that appears in the ribbon in the compose email windo

current code not extracting email headers for content-type

I use code from this link to get email headers from outlook. But, it is not extracting email body(content-type) correctly. Everything works fine. If you want

VBA Outlook: How to get the smtp address of the selected folder account

I have different accounts in my Outlook. Depending on the currently selected folder, I would like to find the smtp Email address of the corresponding account. (

How to close inline response

I want to close current Inline Response to do some behaviors. I have try this function: OutlookApp.ActiveExplorer().ClearSelection() but it cannot work under C

What TypeOf are these conversation headers?

I am trying to file emails using a macro, but I am having issues if the user selects a conversation header. What is the typeOf of these headers? I am trying

Copy old emails (> 6months) from Outlook to external location with outlook add-in

We have created a add-in for outlook to archive inactive emails to a harddrive location. It all works fine, except for e-mails that are not visible in the outlo

Getting Exchange Server's users timezone

I'm having a bit of a problem. I am working on a small outlook plugin(in c#) with the following functions(very simplified): Get all of the users from Exchange

HTML Anchor Tag Not Working in Outlook

I am making email template in Django to be sent to Outlook and I want to add anchor tag for navigation. However, I found the tags work in html browser but not i

Show embedded picture using node (nodemailer)

I use nodemailer to send mail with a embedded picture, var mailOption = { html: 'Embedded image: <img src="cid:[email protected]"/>', attachments:

Save Mail in MIME format (*.eml) in Outlook Add-In

I want to write a little Outlook addin (C#), which saves a selected mail (MailItem) to disk in plain MIME format (.eml). The MailItem.SaveAs() method only allow

Outlook plugin (VSTO) - Set focus back to editor after range's function InsertAfter

My outlook plugin (FormRegion) insert text into mail body on demand (user clicks a button) - the text is inserted by the "InsertAfter" function (Range's functio

Adding users to Exchange admin role groups via API?

Is it possible to add users/members to Exchange admin role groups via an API? The equivalent PowerShell cmdlet would be Add-RoleGroupMember and the specific gro

What is the best way to store some data in VSTO addin?

I have developed one outlook add-in, that has to be On or Off. to do that i have declared one static variable as shown below, ThisAddIn.cs public static bool

How to add signature to powershell code creating new mail?

I want signatures to show up when creating new message as they do with Ctrl+N? Here is my code: $Outlook = New-Object -ComObject Outlook.Application $Mail = $O

How check incoming emails using SenderEmailAddress?

I have a loop to check for incoming emails from Joe Doe with specific subject. That loop works and saves attachments from Joe Doe. If (Msg.SenderName = "Doe, J

How to create SQL Server data backup file in Outlook Compatible format by C# code

I want to take backups of all emails from SQL Server database and need to create it's backup file using C# code in outlook compatible format. So that emails can