Questions tagged [outlook]

Microsoft Outlook is a personal information manager from Microsoft (most notably used for handling e-mail), available both as a separate application as well as a part of the Microsoft Office suite.

Microsoft Outlook is a personal information manager from Microsoft (most notably used for handling e-mail), available both as a separate application as well as a part of the Microsoft Office suite. It includes an e-mail client, calendar and other personal information organization tools.

The tag is for version-agnostic questions. It is expected that questions on Stack Overflow relate to programming, so you should also be tagging your question with a tag such as (if you are programming in VBA) along with your version (if not mentioned in the question):

Links:

22017 questions
53
votes
1 answer

How do I View the HTML Source of an email in Outlook 2016

I would like to view the html source code of an email in outlook 2016. It seems to have changed from the previous versions of outlook. I am running Outlook 2016 Thank you :)
protoEvangelion
  • 4,355
  • 2
  • 29
  • 38
52
votes
15 answers

How to add default signature in Outlook

I am writing a VBA script in Access that creates and auto-populates a few dozen emails. It's been smooth coding so far, but I'm new to Outlook. After creating the mailitem object, how do I add the default signature to the email? This would be the…
PowerUser
  • 11,583
  • 20
  • 64
  • 98
51
votes
2 answers

Regular Expression Rules in Outlook 2007?

Is it possible to create rules in Outlook 2007 based on a regex string? I'm trying to add a filter for messages containing a string such as: 4000-10, a four digit number followed by a dash and then a two digit number, which can be anything from…
Kevin Coppock
  • 133,643
  • 45
  • 263
  • 274
50
votes
7 answers

Markdown in outlook

Because this is not the kind of company where wiki's are accepted, we tend to do a lot of communication through outlook. Sending code snippets through it is painfull. Is there some way to get the markdown thing we have here, but in outlook?
Boris Callens
  • 90,659
  • 85
  • 207
  • 305
47
votes
4 answers

HTML Emails: fallback for mso conditional?

UPDATE 2023: This question was originally asked in 2013 - the landscape and supported technologies have changed greatly in that time. The accepted answer is functional and effective for legacy clients, but Frank Hagenson's answer is most likely to…
CodeMoose
  • 2,964
  • 4
  • 31
  • 56
46
votes
4 answers

Sending email in R via outlook

How can I send emails in R via Outlook? All the examples of sendmailR use the gmail server, but I cannot do that.
user3022875
  • 8,598
  • 26
  • 103
  • 167
45
votes
6 answers

Save attachments to a folder and rename them

I'm trying to get a VBA macro in Outlook that will save an email's attachment to a specific folder and add the date received to the file name. My googling has gotten me this far: Public Sub saveAttachtoDisk (itm As Outlook.MailItem) Dim objAtt…
Roy Haskell
  • 498
  • 1
  • 4
  • 6
45
votes
10 answers

Outlook 2010 overriding font-family from Arial to Times New Roman

I'm programmatically sending HTML-formatted email, and setting the font as Arial throughout (font-family: Arial;). When the messages arrive in Outlook 2010, text in table elements is in Times New Roman. Text in div elements is fine in Arial. If I…
Tom Hamming
  • 10,577
  • 11
  • 71
  • 145
44
votes
1 answer

HTML email in outlook table width issue - content is wider than the specified table width

My HTML email template is displaying correctly without major problems in Gmail, Apple Mail and iOS Mail. Outlook however is a horrifying mess and I can't for the life of me figure out what I've done wrong??? My email template is not using any overly…
Adrian Brown
  • 442
  • 1
  • 4
  • 8
41
votes
2 answers

How do I trigger a macro to run after a new mail is received in Outlook?

I'm writing a macro that creates tickets on a database based on alerts received from a Nagios server as an email. However, I cannot let the macro run in an infinite loop while checking for mails because it is just too resource heavy and makes my…
Gautam Mainkar
  • 546
  • 1
  • 5
  • 9
40
votes
5 answers

Sending Outlook meeting requests without Outlook?

I just wonder if it is possible to send Meeting Requests to people without having Outlook installed on the Server and using COM Interop (which I want to avoid on a server at all costs). We have Exchange 2003 in a Windows 2003 Domain and all users…
Michael Stum
  • 177,530
  • 117
  • 400
  • 535
39
votes
5 answers

Why am I receiving exception from Office's Outlook library?

I have an application that calls Email hello = new Email(appropriate constructor); hello.Email_Send(); I'm receiving the exception: Retrieving the COM class factory for component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to the…
Zee
  • 1,780
  • 3
  • 16
  • 27
37
votes
3 answers

Does VBA contain a comment block syntax?

In VBA is there a short way to comment out a block of code the same way java uses /*...*/?
Tim.DeVries
  • 791
  • 2
  • 6
  • 21
35
votes
7 answers

Line-height not working in Outlook 2010 for HTML Email

Outlook 2010/ Outlook 2007 does not appear to be honoring line-height whatsoever in my HTML Email. (It works perfectly in Outlook 00 and Outlook 03) I've been doing some extensive googling - and HTML CSS support charts I have found say that Outlook…
Lauren
  • 351
  • 1
  • 3
  • 4
35
votes
4 answers

How do I generate and open an Outlook email with Python (but do not send)

I have a script that automatically creates and sends emails sends emails using the simple function below: def Emailer(text, subject, recipient): import win32com.client as win32 outlook = win32.Dispatch('outlook.application') mail =…
wnnmaw
  • 5,444
  • 3
  • 38
  • 63