outlook

Copy Outlook mail (.msg) in windows folder

丶灬走出姿态 提交于 2020-01-24 19:27:06
问题 This code below create a folder for every e-mail that contains attachments. In the folder, we can find the attachments extracted and a word document. I would also like to have inside this folder a copy of the e-mail. here is my working code below. I just don't know how to copy the e-mail! Option Explicit Sub Application_Startup() Dim ol As Outlook.Application Dim ns As Outlook.NameSpace Dim fol As Outlook.Folder Dim i As Object Dim mi As Outlook.MailItem Dim at As Outlook.Attachment Dim

Outlook API: Receiving 'ErrorIrresolvableConflict' when trying to send Draft

寵の児 提交于 2020-01-24 15:46:06
问题 When trying to send a draft, I receive an error: "ErrorIrresolvableConflict","message":"The send or update operation could not be performed because the change key passed in the request does not match the current change key for the item., Item could not be saved because conflicts were detected when saving. The message seems to send later when trying in a sandbox. 回答1: I fixed this by inserting a timeout between the creation of the draft and sending the draft. Essentially, race condition issues

Outlook VBscript to forward emails in a folder

流过昼夜 提交于 2020-01-24 15:12:06
问题 I have a specific user that really wants to be able to redirect any email to other people in their department so that when that person replies to the email it will go back to the person who originally sent it. We can't give them permissions to send as everyone because not all users are internal so I am trying to make a VBScript to run in Outlook that will send forward all emails in a specified folder but change the reply address so that they don't have to manually put it in every time. I'm

Outlook Web-add in - Change color of the title bar

一笑奈何 提交于 2020-01-24 00:30:15
问题 I am trying to change the color of the title bar in my addin. I see in the xml file which produces the title on the title bar. What is the correct way to hook into the title bar? I see something similar question for C# Is there any way to change border/header background in VSTO outlook add in? in-vsto-outlook-add-in Please see attach photo to the area I want to change the background color for. 回答1: Currently this capability (changing the color of the title bar) is not available for add-ins.

Using Microsoft Outlook API with C# to list calendars and add events

邮差的信 提交于 2020-01-23 18:11:30
问题 I have found some Microsoft Resources about how to use the REST API to connect to an Outlook account. The sample tutorial they provided got me to create a WPF project and register an app with the Outlook Developer centre. So I have done all of that and can connect to Outlook. It shows the content screen where the user must allow access. All good. But I don't want to use WPF. Ideally I want to write a C# .NET DLL component what with communicate with the Outlook API so that I can specifically:

How to add multiple recipients to mailitem.cc field c#

大城市里の小女人 提交于 2020-01-23 05:01:12
问题 Oki, so im working on outlook .msg templates. Opening them programmatically, inserting values base on what's in my db. ex. when i want to add multiple reciepients at "To" field, instead of doing as following, mailitem.To = a + ";" + b + ";" + c; i do whats below, which is simpler, especially when i'm doing it in a loop. mailitem.Recipients.add("a"); mailitem.Recipients.add("b"); mailitem.Recipients.add("c"); My problem is, i also want to add multiple recipients at "CC" field and the function

getting access to outlook exchange global address book

南楼画角 提交于 2020-01-23 03:05:17
问题 i am building a csharp application and i would like a dropdown list of all users in my outlook global address book (the same one when i click on To: from outlook gui. is this possible to get this progrmaticall? what are the security requirements here? 回答1: Security ramifications, in addition to the Outlook dependency left me unable to use this approach, in the past. As a result, I ended up building this in the form of an LDAP query. Another plus is that, (in response to your other question)

how to drag and save outlook email into WPF application

邮差的信 提交于 2020-01-23 03:05:08
问题 I am creating a WPF application. i want to drag email from outlook into this wpf application and application needs to save it in a specific folder. i have tried using http://www.codeproject.com/Articles/28209/Outlook-Drag-and-Drop-in-C article. It works fine for winform. i tried using same code in WPF after fixing all compile time bugs but still it is not working. I have searched web a lot but cannot find any working solution for this problem. Can someone please provide any working sample

Calling a procedure within another class

百般思念 提交于 2020-01-23 02:35:41
问题 I've created an add-in for outlook 2010. I have a ribbon that has a button on it. When you click that button, I want it to call a procedure in the ThisAddIn.vb. There are two files: ThisAddin.vb and Ribbon.vb. I've tried several things to no avail. I've also set all the procedures to public. Call Testing123() Call ThisAddIn.Testing123() Etc How do I properly call this procedure? ****Ribbon1.vb**** Imports Microsoft.Office.Tools.Ribbon Public Class MyOutlookTab Public Sub Button1_Click(ByVal

Linux命令行时间管理工具taskwarrior和timewarrior的使用

只愿长相守 提交于 2020-01-23 01:48:51
前言(我使用时间管理软件的感悟,可以跳过转正文) 在windows或者其他平台下有各种时间管理的软件,像奇妙清单,mlo等。对于时间管理我在乎的主要是两点, 一个是任务管理,一个是时间记录。 很多热门的时间管理软件特别是手机端的,我都不能坚持用下去,可能我觉得手机时间管理是个悖论。手机有太多吸引我们注意力的东西了。 一旦解开屏幕,你可能很难再合上。 而时间记录功能可能比任务管理更吸引我。记录自己的时间都花在哪里了。自己浪费了多少时间,自己一天天都在做些什么。 在所有的pc端的时间记录软件里面,我觉得功能最完善的是Outlook,没错,就是微软的Outlook!outlook里面有个日历功能。 可能实现时间块的功能,包括消息提示等等功能。最大的缺点就是需要安装outlook,启动慢,而且这个功能只是outlook的一个子功能。 在回到任务管理和时间记录上,几乎没有哪个软件同时在这两方面做的好的(可能是我不知道,知道请告诉我)。而taskwarrior和timewarrior就同时具备这两个功能。 正文 什么是taskwarrior和timewarrior? 其实这两个不是两个独立的软件,而是一个软件!timewarrior是taskwarrior的一个子功能。在taskwarrior1.1.0 版本发布了timewarrior这个功能。 taskwarrior是用来做任务管理的