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
3
votes
1 answer

How to save selected item in Outlook VBA

I want to save the selected item in Outlook. With the below code, I am able to save the item but it saves only the 1st item and not the selected item. What do I need to change in order to save the selected item? Dim oOlApp As Object, objNmSpc As…
Gaus Shaikh
  • 189
  • 2
  • 8
  • 18
3
votes
1 answer

Resize a pasted JPEG in a MailItem

I am trying to send a picture from an Excel sheet, but the size is very small. How could I get a decent size (basically the whole screen)? Here is the code: Sub send_as_a_pic() 'Copy range of interest Dim r As Range Set r =…
draynaud
  • 63
  • 1
  • 8
3
votes
2 answers

Add-In could not be started

I'm currently developing an add-in for Outlook, I followed the basic steps in creating an add in, but whenever I run (the unedited pre-generated) project, I get the following error: This add-in could not be started. Close this dialog to ignore the…
Paradoxis
  • 4,471
  • 7
  • 32
  • 66
3
votes
0 answers

How to process emails with attachment using Python?

My ultimate goal is to open files that are sent to an email account, process data in those files and upload the data into a database. I am stuck at the first stage. I can't open and process the email message from Outlook. I've never worked with…
Mikhail Venkov
  • 358
  • 2
  • 11
3
votes
1 answer

Excel vba: Looping through all subfolders in Outlook email to find an email with certain subject

I have written the following code in Excel VBA that opens an email with the given subject if located in the default inbox folder in Outlook. However, I would like to search for this email in all inbox subfolders. Because the code will be used by…
Trs
  • 63
  • 2
  • 2
  • 8
3
votes
2 answers

Nodemailer Invalid login: 451 4.7.0 Temporary server error

I am trying to send an email from office 365 outlook account using oauth2 but I am getting following error Invalid login: 451 4.7.0 Temporary server error. Please try again later. PRX4 [MA1PR01CA0110.INDPRD01.PROD.OUTLOOK.COM] Here is my code let…
Sam
  • 795
  • 2
  • 18
  • 31
3
votes
1 answer

run-time error 287 - Outlook when set inspector.wordeditor

Set oApp = CreateObject("Outlook.Application") Set oMailItem = oApp.CreateItem(0) oMailItem.BodyFormat = olFormatRichText Set oInspector = oMailItem.GetInspector oInspector.Display MsgBox "IsWordMail = " & oInspector.IsWordMail & vbLf &…
Scott
  • 39
  • 3
3
votes
1 answer

What are the current OAuth URLs and scopes for Microsofts infrastructure?

I am trying to build a bot that will need a basic outlook login. I was watching this video https://channel9.msdn.com/events/Build/2017/P4063?term=cortana%20skill and the guy at 17:02 adds the following values for scopes and Authorization and Token…
nmrlqa4
  • 659
  • 1
  • 9
  • 32
3
votes
3 answers

Outlook 2013 'Run a script' rule has disappeared

I have some rules for work in outlook 2013 - however following my laptop crashing the other day, I can no longer run any rules, they simply do not work (I don't even get a debug notification). Upon checking my macros, I found that when I tried to…
Rachael
  • 87
  • 2
  • 9
3
votes
4 answers

Paste clipboard in outlook email in normal order

I have 5 userforms for an email. The workflow goes like this: create new email userform1.show user selects the fields automatic printscreen is inserted in the text userform2.show user selects the fields automatic printscreen is inserted in the…
wittman
  • 305
  • 1
  • 6
  • 26
3
votes
2 answers

I am not able to add an image in email body using python , I am able to add a picture as a attachment but i want a code to add image in mailbody

Right now I am using below code: import win32com.client as win32 outlook = win32.Dispatch('outlook.application') mail = outlook.CreateItem(0) mail.To = 'to address' mail.Subject = 'Message subject' mail.Body = 'Message body' mail.HTMLBody =…
Mayank Shivhare
  • 51
  • 1
  • 1
  • 6
3
votes
1 answer

How to copy E-Mail body with signature pictures

My goal: display one mail to the user for editing create another mail with the same body content My problem: I can copy everything from the first mail except the image from my signature. Why is that? This code is (and needs to be) run in…
user7857211
3
votes
2 answers

How can I determine if an Outlook folder is public?

I need a way to determine if an Outlook folder is public. I suspect there is some property Microsoft.Office.Interop.Outlook that will allow me to do it, but I can't find it.
Greg Coleson
  • 111
  • 1
  • 6
3
votes
3 answers

Create a Gmail share link

I would like to put a button on my one page web application that allows a user to send a link through Gmail. I found that some websites such as addthis.com provide such a button, however this button automatically uses the link from the url bar.…
user3398797
  • 429
  • 1
  • 7
  • 16
3
votes
5 answers

Outlook Email via a Webpage

I have a web application developed with ASP.net and C# that is running on my companies' intranet. Because all the users for this application are all using Microsoft Outlook without exception, I would like for the the application to open up an…
Keng
  • 52,011
  • 32
  • 81
  • 111