outlook

Adding a section to the To-Do bar in Outlook 2007/2010?

与世无争的帅哥 提交于 2020-01-02 07:59:51
问题 I would like to add a new section to the To-Do Bar in Outlook 2010 (or 2007). I found some code to create a new collapsible task pane and someone claiming you can't modify the To-Do bar, but I also found a product called Add-In Express that claims it can do it (although at $349 it's not worth it for a one-off project). Is is possible to do that? 回答1: After some research (and after having seen the product documentation of Add-in Express), I figured that it is possible to customize the To-Do

Saving Outlook email as PDF + Attachments

对着背影说爱祢 提交于 2020-01-02 06:35:07
问题 So I am using a macro to save incoming mail (with an inbox rule and VBA code). The problem I am having is that when there are multiple emails with the same name (and also if the attachments have the same name) they will not save. (they overwrite each other). I need both the email and the attachments to loop through 1-10 (there can be up to ten emails and attachments with the same names). Here is the code: Sub SaveAsMsg(MyMail As MailItem) ' requires reference to Microsoft Scripting Runtime '

How to launch a URL when an email arrives

天大地大妈咪最大 提交于 2020-01-01 15:31:29
问题 I would like to launch a URL when an email arrives in Outlook. I setup a rule and have it trigger a script function. It looks like I want to call ShellExecute to launch the URL in a browser, but when I hit this line: ShellExecute(0&, "open", URL, vbNullString, vbNullString, _ vbNormalFocus) The method is not defined. Any ideas? 回答1: ShellExecute is a function in a windows dll. You need to add a declaration for it like this in a VBA module: Public Declare Function ShellExecute Lib "shell32.dll

How to launch a URL when an email arrives

好久不见. 提交于 2020-01-01 15:31:28
问题 I would like to launch a URL when an email arrives in Outlook. I setup a rule and have it trigger a script function. It looks like I want to call ShellExecute to launch the URL in a browser, but when I hit this line: ShellExecute(0&, "open", URL, vbNullString, vbNullString, _ vbNormalFocus) The method is not defined. Any ideas? 回答1: ShellExecute is a function in a windows dll. You need to add a declaration for it like this in a VBA module: Public Declare Function ShellExecute Lib "shell32.dll

What's the best library for reading Outlook .msg files in Java? [closed]

孤街醉人 提交于 2020-01-01 10:56:09
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I would like to read the text and binary attachments in a saved Outlook message (.msg file) from a Java application, without resorting to native code (JNI, Java Native Interface). Apache POI-HSMF seems to be in the right direction, but it's in very early stages of development... 回答1: You could use Apache POIFS,

How to add events to Outlook Calendar or Google Calendar programmatically?

末鹿安然 提交于 2020-01-01 09:44:57
问题 I have a Java Web application from which the user can add events with date, subject and description (like tasks). I want to send these events to the user's outlook calendar programmatically. Can anyone help me how to achieve this? PS: If it can be done through Google Calendar tell me how to do that as I am not stuck with outlook :) 回答1: You can now use Outlook Calendar REST API and send requests from your java code. For the auth flow see this getting started documentation. Eg. POST to https:/

How to drag and drop an email, from Outlook, into a .NET application?

不问归期 提交于 2020-01-01 09:28:05
问题 I am trying to figure out how to drag and drop an email from Outlook 2010 into my .NET application. I've seen quite a few articles, most with very complex solutions. My thought is it shouldn't be that complex ... but I could be wrong. Any help would be much appreciated! 回答1: A easier solution has been posted here: Get body from Outlook email [Drag’n’Drop] Outlook.Application outlook = new Outlook.Application(); Outlook.Explorer oExplorer = outlook.ActiveExplorer(); Outlook.Selection

Safe markup for HTML email

99封情书 提交于 2020-01-01 02:06:06
问题 Email clients are limited in their HTML display capabilities. What HTML markup and CSS styles is it safe to use in HTML-formatted email? 回答1: In general you want to stick to 10+ years old HTML. Avoid trying to link to external stylesheets and avoid styles in the HEAD. Use inline styles. Use HTML tables for layout. Industry standard is to stick to width of 600px or less for your email content. This is a good guide: http://kb.mailchimp.com/article/how-to-code-html-emails 回答2: Some useful links

Not able to connect to outlook.com SMTP using Nodemailer

白昼怎懂夜的黑 提交于 2019-12-31 21:43:21
问题 I am creating the transport object like this. var transport = nodemailer.createTransport("SMTP", { host: "smtp-mail.outlook.com", // hostname secureConnection: false, // use SSL port: 587, // port for secure SMTP auth: { user: "user@outlook.com", pass: "password" } }); This is the error which I am getting, when I try to send the mail. [Error: 139668100495168:error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number:../deps/openssl/openssl/ssl/s3_pkt.c:337: ] When I tried setting

Not able to connect to outlook.com SMTP using Nodemailer

只愿长相守 提交于 2019-12-31 21:43:06
问题 I am creating the transport object like this. var transport = nodemailer.createTransport("SMTP", { host: "smtp-mail.outlook.com", // hostname secureConnection: false, // use SSL port: 587, // port for secure SMTP auth: { user: "user@outlook.com", pass: "password" } }); This is the error which I am getting, when I try to send the mail. [Error: 139668100495168:error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number:../deps/openssl/openssl/ssl/s3_pkt.c:337: ] When I tried setting