Newest 'outlook' Questions - Stack Overflow

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.

0
votes
0answers
5 views

How to Download a file using a tag in outlook for mac

I implemented an addin to download files from s3 bucket. It works fine with outlook for desktop and owa but not working in outlook for mac. I need to fix this issue. this is the code part I have used ...
-1
votes
0answers
11 views

How can I automatically save specific sent emails from Outlook 2013 to a local folder?

I am looking for either some VBA code or a Run-a-Script Rule that I can use in Microsoft Outlook 2013 to automatically save certain sent emails to a local folder. In my case, whenever I send an email ...
0
votes
0answers
25 views

Code to retrieve attachments from outlook to a specific folder

I am trying to write an R code to download attachments from emails with a specific subject to a specific folder. With the help of some information in this website I was able to write the initial part, ...
0
votes
0answers
7 views

Executing shell script in windows

How to execute shell script in Windows and send an attachment of the script output to the outlook mail? I'm banging my head from the last 2 days to work on this.
0
votes
2answers
31 views

Send email from today's date

I have an excel spreadsheet for permits, and one column is their expiration dates. My boss wants to be emailed about the permits that expire in the next 2 weeks. How can I use visual basic to tell ...
0
votes
1answer
12 views

How to capture custom button click event in outlook from excel?

I'm trying to control Outlook via Excel by VBA ofc. My Excel code creates and XML that adds button to Message Ribbon. The button's job is to save email to specific location given by Excel. I cant run ...
0
votes
1answer
16 views

add a out of office appointment to selected day

I know with VBA you can add appointments to the outlook calendar with a set date and time in the code but all I would like to do is add an appointment to my calendar between 7:00 and 9:30 on the ...
0
votes
2answers
25 views

How to insert a table after body of e-mail and before signature?

I am using a below code that is pasting a table from excel to the outlook file. However, right now the table is pasted on the very bottom of the email - after the signature. What I would like to ...
0
votes
0answers
18 views

Preventing link previews in html emails

I am sending out html emails with my company name and website link in the footer. However when viewing these in outlook a preview of the website's content is shown below the link. I have had a search ...
1
vote
1answer
28 views

How to enter senders name into email body

I am trying to setup a script to send email, and I want to add the Senders Name (depending on who runs the script) to the Email Body. Emailing works, and I'm setup on Juypter, runing Python 3, ...
0
votes
1answer
10 views

Sync Internet calendar with office 365 Calendar for all devices (smartphone)

I have an Internet calendar (.ics) that I will sync with my office 365 account. In the outlook desktop app, I can easily add an internet calendar with username and password, and I have the ability to ...
1
vote
1answer
29 views

Sending e-mail with adresses in worksheet with VBA

I have a sheet called "Test" where in column A is a list of e-mail adresses. I want to send an e-mail to all adresses and use the following code Sub EmailSend() Dim objOutlook As Object Dim objMail ...
-1
votes
0answers
18 views

PST: Moving an Element into a Folder

So i have this Situation. I have around 15k .eml files out from effin Windows Live Mail and i need to import them into an Outlook PST file. now i have some code to create a PST file from folder ...
0
votes
1answer
13 views

Can I remove record set TXT for Office 365 on Route 53

I have a record set TXT in Route 53, cause I need create a TXT record verification for Google Search, can I delete this? Is this also for some verification purpose? Should it be there forever?
0
votes
0answers
14 views

How to create a blank calendar in outlook to a .pst / data file using VB(Visual Basic) [on hold]

How to create an outlook calendar using visual basic to a .pst / data file.Example Where: myNameSpace = OutlookApp.GetNamespace("MAPI") objFolder = myNameSpace.Folders.GetLast ...
1
vote
0answers
21 views

Outlook Redemption throws MAPI_E_OBJECT_CHANGED error saving RDOMail using unwrapped RDOStore

This is a follow up question from Outlook interop code throws "message has been changed" error the second time when the code tries to save a mail item. While the unwrapped store works fine ...
1
vote
1answer
23 views

How to filter response with query parameters on POST methods on Microsoft Graph API?

I am attempting to make a simple room booking application within my office. Users can select a time frame, see the available rooms, and book the room (create an event in their calendar in that time ...
0
votes
1answer
35 views

Sending emails to multiple recipients with multiple attachments

I'm very new to VBA and found a code online that sends emails to multiple recipients but can only attach 1 file per email. I cannot find a code that works wherein it goes to a specific folder and ...
-2
votes
0answers
20 views

Convert email text to an ICS file in C#? [on hold]

In our company we receive maintenance notifications via email in outlook. I'm wondering if there is a way to make a script in C# that does the following: 1- Pulls the maintenance emails from outlook ...
0
votes
1answer
14 views

Problem with why the filter on current code isn't being applied to mails

I'm trying to set up a macro that will look at my sent items and delete any mails that contain "invoice" that are more than 30 days old. It currently works for emails older than 30 days but doesn't ...
1
vote
1answer
15 views

Get From, To, Subject and Date from Outlook Mail Item

I need help to add Date, From, To and Suject to construct a pdf filename. 'Construct a safe file name from the message subject Dim msgFileName As String msgFileName = MySelectedItem.Subject Set ...
-5
votes
1answer
32 views

Copy text and image to outlook body from a single worksheet

Trying to replace outlook body text enter code hereSub CreateEmailfromTemplate() enter code hereDim wdDoc As Object enter code hereDim oRng As Object enter code hereDim obApp As Object enter code ...
0
votes
1answer
22 views

Open “x” file triggered by email subject containing “x”

I'm trying to write a code to open an X file (.bat) when an email with X subject arrives. To explain a little more, i would like to automatically open a file when the associated email subject arrives; ...
0
votes
1answer
31 views

Excel VBA missing Microsoft outlook 15.0 reference and “Error in loading DLL”

I have been given an Excel work book to fix. What ever I click I get “Error in loading DLL” (e.g. I cannot access the modules). I can also see "MISSING: Microsoft Outlook 15.0 Object Library" in the ...
-1
votes
0answers
25 views

Table within table rendering on Outlook iOS [on hold]

I have an email html code that supposed to be rendered well on outlook app on iOS devices. The problem is that it has a strcuture of table within a table. This causes outlook app to shrink/scale the ...
0
votes
1answer
26 views

How to get archived folder calendar route using visual basic

The Second line is to get default folder calendar. myNameSpace = OutlookApp.GetNamespace("MAPI") myNameSpace.GetDefaultFolder(OlDefaultFolders.olFolderCalendar) My question is how do you get archive ...
0
votes
1answer
32 views

How to use VBA to open msg file, edit it manually, save and replace the original msg file

I am working on a project where i need to auto generate the emails. However, some of autogenerated emails need some manual editing. I am trying to make a macro to open all the msg files which are auto ...
0
votes
1answer
19 views

How to give warning if body is missing information about location of an appointment through VBA in outlook?

I have to send an appointment invite through Outlook and the location for that is Skype. When the location is Skype, the body should contain the strong "Join Skype Meeting". When the user tries to hit ...
0
votes
0answers
12 views

Excel with Python win32com How to open and close and save Excel's changes so Outlook preview works

I'd like my emailed excel files to properly show all the chart lines in the Outlook preview. (I think Excel needs to open and perform the formula's so the results can be charted, and Outlook preview ...
1
vote
0answers
45 views

Can't access user Exchange mailbox on certain machines

I'm trying to run the following code as my own user. var email = UserPrincipal.Current.EmailAddress; ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2007_SP1); service....
0
votes
1answer
20 views

PowerShell script to create Skype meeting in Outlook

I am able to create a code to create an appointment in outlook using Powershell. I want to create Skype meeting in outlook but not able to do that. I wrote below script to create appointment in ...
1
vote
2answers
20 views

Office.context.mailbox.item.itemId is short ? why?

I have a question. Outlook add-in. The itemId value is strange from 3 days ago. We are using the office.js provided by Microsoft. It was developed as an official document. Issues The results for ...
0
votes
1answer
18 views

Retrieve SingleValueExtendedProperties with MS-Graph API created with EWS

My application sync events between Exchange in Office 365 and my database. For now I use EWS and I add extended properties (ExtendedProperties) to save some custom data. Since several weeks the sync ...
0
votes
0answers
17 views

How to add custom property to InternetHeaders of Outlook MailItem

I need to add custom InternetHeader x-auth-guid to existing MailItem in Outlook inbox (in Exchange account) from VSTO add-in. Something like described here https://docs.microsoft.com/en-us/previous-...
0
votes
1answer
9 views

Delete an Archive Folder in MS Outlook

I want to remove / delete an Archive folder in MS Outlook Version: MS Office Professional Plus 2016. I have tried closing the archive and it did close and disappear only to re-appear the next time ...
1
vote
0answers
21 views

Receiving 405 error on uploading file through VBA

I'm trying to upload a file from outlook macro via VBA to my REST API however in response I'm getting 405 not allowed error. I tried to find the root cause but no luck. VBA Code Sub uploadjustfile() ...
0
votes
2answers
29 views

Access Report - Preview context menu - Send to Mail Recipient - How to catch this event?

When you preview a report, right-click offers the option, Send to... -> Mail Recipient. I need to catch this event and execute code the reads the recipient e-mail address as typed into Outlook when ...
0
votes
1answer
16 views

Open a task pane when an appointment is accepted or created

So the gist of it is that I am trying to open an outlook task pane whenever the user creates an appointment or updates it. It should be simple but I havent found a solution yet. I have tried the ...
1
vote
2answers
40 views

C# save last send mail to desktop (as .msg)

I am trying to save last send mail from Outlook to my desktop as .msg format. But i am getting error with my code in last line of my code as follow: ((Microsoft.Office.Interop.Outlook....
0
votes
0answers
16 views

How to automatically forward a calendar change in outlook, with exception

I have multiple outlooks (private and work) which i need to synchronise appointments/meetings with. I did set up some forwarding rules. Unfortunately those dont work when i create appointments/...
0
votes
0answers
13 views

How to change the Credentials for Outlook while reading mails from python?

I am trying to make an email bot which will read the emails and reply on it's own. For this i was using the python through MAPI.How does the authentication work while reading emails from outlook since ...
0
votes
0answers
13 views

Edit .oft files (Microsoft email file) using R [closed]

I have an email template that I want to modify using R. Specifically, it has a date and location section that I want to update based on columns. I know that I can do this with stringr, but what I can'...
1
vote
0answers
46 views

python html MIME e-mail with embedded image and zip attachment display issues in outlook

I am generating e-mails in python 3.6 via MIMEMultipart(). The e-mail is formatted via HTML and I am embedding a image and attaching a zip file. If I only embed the image the e-mail looks great in ...
0
votes
1answer
7 views

Is there any way to show a custom message when a user opens Outlook in safe mode?

We've built some automated governance around sending emails from Outlook using VSTO. Users are able to avoid this automation if they open Outlook in safe mode. Is there any way we can provide a ...
0
votes
0answers
9 views

Add an all ready created Exchange shared mailbox to Outlook VIA code for mass automation

I have multiple users creating shared mailboxes on a daily bases. Currently I field issues where the client does not know how to add the shared mailbox to their Outlook client. I cannot use exchange ...
0
votes
1answer
24 views

Powershell script to create a meeting in outlook

I am trying to create a PowerShell script to create a meeting in the Outlook. I am stuck in the code for setting up the timezone of the meeting. The time zones I am looking for is CST, PST, EST, AEST. ...
1
vote
0answers
17 views

Rewrite Mail Body in Outlook through Python Script

Our company has recently added an automatic filter to all incoming Emails (O365) that rewrites URLs to some redirection service that is both unreliable and buggy. Additionally I hate it if a link is ...
0
votes
1answer
20 views

How do I check if a mail has been sent using MAPI in a WPF-Project?

I am not able to know if the user has sent the mail or aborted the process. I am working on a WPF-Project that encrypts files in aes-256 and opens an Outlook-popup where you can send the encrypted ...
-4
votes
0answers
25 views

How to fix Run-time error '-2147024809 (80070057)'

Sub getDataFromOutlook() Dim OutlookApp As Outlook.Application Dim OutlookNamespace As Namespace Dim Folder As MAPIFolder Dim OutlookMail As Variant Dim i As Integer Set ...
1
vote
1answer
33 views

Nested IFs to send emails vis VBA

I am trying to complete some VBA to send an email to different people based on set criteria(1, 2 or 3). I can get the email to send on an IF with the first part but cannot get it to include the ...