Category "outlook"

Deploy/programmatically create Outlook Rule to run Script

I need to deploy an Outlook rule that runs a script. So in other words I need deploy both an Outlook rule and the script it runs. I know I can get users to impo

How to get all appointments including the private ones?

I want to list all Outlook appointment times in a specific time range and I am only interested in start and end time of the appointments. I'm using this code s

Python: Automatically send Outlook email bypassing the programmatic access warning

I am trying to send out email alerts on my virtual machine using Python. This is my code: olMailItem = 0x0 obj = win32com.client.Dispatch("Outlook.Application"

Wait for 5-10 seconds then run Outlook code

I have VBA code in an Outlook rule. I want when I get email with a specific subject, Outlook starts to run a script. However, when email is received, Outlook s

Return one newest instance of the mail, based on subject, from multiple subfolders

I have a search for items, in subfolders of the Inbox, based on subject line. I am trying to return the most recent mail and have been using the code: Items.Sor

Transferring variable from userform in the itemsend routine in outlook

currently, I have a routine in outlook that is run when I send and email. The object of the code is to automatically CC a person in organization A whenever I e

asp.net - How to find outlook mail attachment by ContentId Property

I can find email attachment from a MailMessage by ContenId like the following code : System.Net.Mail.MailMessage objNewMail = null; System.Net.Mail.Attachment

How to import OPML file into Outlook 2013 via VBA?

In Outlook 2013 there is an option to import an OPML file and add all or some selected RSS feeds to the feeds list. This function can be triggered by right-clic

Modifying Outlook 2010 autocomplete stream

I am accesssing the Outlook 2010 cache using the below code and modifying it. Please let me know how i can udpate the entry back to inbox mail store. Microsof

Determine if an Outlook event is a meeting and what the response was

I'm trying to write a macro in Excel that will look through my Outlook calendar, grab all the events, and display the following information: subject, start time

Filter sent items based on the recipients email address in Outlook

I am working on an activity facility which stores incoming and outgoing emails in the database for different contacts. I do this by looping through each folder

Outlook 365 vs Professional [save mailitem] Encoding Issues

I have an outlook addin currently in development that reads mail properties from outlook and displays on a winform. I built the outlook on an environment with

What are all the properties that I can assign to "with Outlook" with VBA?

In VBA we can create an object to run and manipulate other applications. I am trying to do a few jobs in Outlook with code in Excel. Eg - With OutMail .Su

Script to Download xls files embeded in a .msg file

There are 1000s of .MSG files on my d drive and each containe an XLS file,as attachemnt. Is there any way to download these xls files from these .msg file usin

Where do calendar messages in PST files store appointment times and dates?

I am using the PST File Format SDK to try and extract some appointment item data from an Outlook PST export: int main() { pst myfile(L"export.pst"); fo

Connect Office 365 use POP3 - PHP

I have a trouble with Office 365 use POP3 method. Currenty, I can't connect to this server: outlook.office365.com port:995 This is my code exampl

Outlook 2010 - assign fullsized pictures on a contact card - HOW?

I've faced with the next problem: I do not understand why but then I am assigning the proper picture in a high resolution (300x300dpi, file size ~1.5MB, photo's

Can I Access Outlook Add-Ins Through Outlook.Application in my Code?

I'm using Outlook.Application to send emails from my C# code. I have this Voltage Encryption Add-In which allows you to "Send Secure" a message rather than the

How to get SMTP address for exchange user quickly?

The below is my code, the PrimarySmtpAddress use 50ms which need more than 15 s to load more 300 users. I am not familiar with Outlook API, and it seems this Pr

Outlook 2010 GAL with Excel VBA

I have the following code to get contacts out of Outlook from Excel: Public Sub GetGAL() Dim olApp As Outlook.Application Dim olNs As Outlook.Namespace Dim ol