Category "outlook"

Accessing an email attachment as an object

OK so I have a script that goes through my outlook inbox looking for a particular header string. This works great for emails directly in my inbox. Now I'm tryin

Hiding custom ItemProperties from print. Interop.Outlook

I have written an Outlook plugin that basically allows emails being received through Outlook to be linked with a website so that the email can also be view in t

Reading an .eml (outlook email) file using c#

I'm writing a service that cleans files by removing all malicious content. I'm using Interop Excel & Word api's like this: Excel var excelApp = new Mi

Reading an .eml (outlook email) file using c#

I'm writing a service that cleans files by removing all malicious content. I'm using Interop Excel & Word api's like this: Excel var excelApp = new Mi

Bypass/Ignore Exchange Server "Maximum Send Size"?

As soon as possible I will start a bounty and award 150 (that's what I have) points for solution. I am developing Outlook add in. When message is sent, add in

Outlook Reply or ReplyAll to an Email

Set objOutlook = CreateObject("Outlook.Application") Set objMail = objOutlook.CreateItem(0) objMail.To = "[email protected]" objMail.cc = "[email protected]" o

How to access outlook object using powershell script without a security prompt?

I have prepared powershell script which access outlook to save the attachment and prepare the new report. Currently my script always ask/throws the pop up askin

C# Problems getting a specific named MAPI property from a .msg

I'm having a similar problem to this question in getting a pair of "custom" MAPI properties from a MailItem in a C# console app, but with the extra twist that i

Is there any way to get the date time on the "you replied to this message on [xxx]"?

I am trying to do a email export from outlook to excel macro which includes the recipient, email subject and most importantly the date time of email reply. I ha

outlook interop application doesn't get all emails C#

I'm trying to get outlook Email using Microsoft.Office.Interop.Outlook but in cases where the folder has a lot of emails (for example 1904 Emails) I'm getting o

Saving "Device Independent Bitmap" attachment

How to properly save this kind of attachment (from signed message)? I saved this with .SaveAsFile method, but it is without any extension and no application can

Get sub messages from Outlook .msg files

I need to parse a few .msg files which have trail mails. Is there any way to get the sub messages and identify the initiated and the responded emails. I do not

How do I center an image in a table in Outlook

What is the correct inline css to move text or an image center in Outlook. Any time I open it in a browser, it looks great but the bottom image and text always

How to delete an email account ( one added in Tools->Account Settings -> Email) through C#

I tried to delete the root folder associated with an email account using Outlook Namesapce's Remove Store method but it throws an error saying it is associated

Set a custom "forwarded" message to Mail Item via VSTO Outlook 2013 Plugin

I am developing a VSTO Plugin for Outlook 2013 (or higher) that allows users to forward mail contents and sender/recipient data to some other program. The sendi

MAPI Outlook History/Change Log

Is there a way to see the changes to an 'AppointmentItem' through MAPI/Outlook? So, for example, if a meeting was re-scheduled and the category changed as well

Outlook Distribution Lists (DistListItem) are not updated after a referenced contact (ContactItem) is changed

I've gathered some code from around the web to create Contacts and then Contact groups. However, if I update the contact after creation, the "relation" between

add attachment picture into html email body in office 16 / O365

I have been using this code in office 2013: With OutMail .Attachments.Add fName .HTMLBody = .HTMLBody & "<br><B>" &

Can't programmatically set follow up on Outlook 2016 taskitem in C#

In Outlook 2016 (and I assume previous versions) you are able to right-click a task and select Follow-up, and then choose when you'd like to have the item follo

Open.ics with Outlook 2013 to read items

This is specific to Office 2013. In previous versions of Office (2010), I had a script which would download an .ics attachment and then save it to my calendar.