Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Filter by
Sorted by
Tagged with
0 votes
0 answers
15 views

CSS is not being applied correctly in Outlook Classic on macOS

I am experiencing an issue where the CSS of my email template is breaking on MAC devices that use Outlook Classic. I have tried adding some validations such as the following: <!--[if mso]> ...
João Emboaba's user avatar
0 votes
0 answers
30 views

ms-graph keeps only html body when creating drafts

I use ms-graph for sending emails and it works fine when I pass it a full html body that start with the <!DOCTYPE html> element. However, the same html is stripped down to its <body> ...
t3chb0t's user avatar
  • 19.3k
2 votes
0 answers
178 views

VBA Excel sending email has been "reduced" in abilities

For years I have had code similar to the following, and it has always worked fine. But now we recently updated to Win 11, perhaps it is related or there is some other update or policy change that ...
Andreas's user avatar
  • 24k
1 vote
0 answers
114 views

Transferring data from one Excel workbook to another with ADODB.Connection reformats dates

I set up an event listener in Outlook that, when a certain item drops into a mailbox, will take the attachment from the email, unzip the file and save it into a directory. I use ADODB.Connection to ...
Drawleeh's user avatar
  • 279
0 votes
0 answers
64 views

Outlook VBA mailitem.move not synching to server [closed]

Recently (November 2025) a VBA script that moves emails from the inbox into a folder stopped working. When executed, mailitem.move works as intended in Outlook classic - the item in moved. But the ...
user31814597's user avatar
0 votes
0 answers
45 views

New Outlook ignores (or overrides) button image and text labels in manifest

We have a published Outlook Add-In that has been in the Microsoft Store for quite a few years. We now noticed that, when switching to the New Outlook, that our primary button that appears in the ...
Wim Immelman's user avatar
0 votes
0 answers
46 views

Unable to get webLink for Microsoft 365 Group messages using Microsoft Graph

If a user is added to a Microsoft 365 group, they receive new mails in their inbox, but previous mails remain inside the group mailbox (visible in Outlook under Groups). I want to search a work order ...
Lucky Ali's user avatar
0 votes
0 answers
38 views

Power Automate “Get emails (V3)” — Error: Default folder Inbox not found when accessing shared personal mailbox

I’m creating a Power Automate flow where I want to access emails from a specific Outlook account. Here’s my setup: Account A (abc) — This is the primary Outlook account where the emails actually exist....
Basit Mirza's user avatar
0 votes
0 answers
64 views

Send an email from a VB.NET application using outlook features

This is my code Imports Outlook = Microsoft.Office.Interop.Outlook Private Sub SenEmail_Click(sender As Object, e As EventArgs) Handles SenEmail.Click Dim olApp As Outlook.Application = New ...
Juan Carmona's user avatar
0 votes
0 answers
57 views

Outlook Add-in only manifest: why does SmartAlert (OnAppointmentSend) not work for Outlook classic?

I want to build an Outlook web-add-in with a smart alert listening to the OnAppointmentSend event. We use Microsoft 365 Exchange online server. It works fine for Outlook new and Outlook web, but it ...
Powerslave's user avatar
0 votes
1 answer
48 views

With Outlook 2021, is there a way to use IConverterSession

I have a project that uses the function CoCreateInstance that tries to load IConverterSession. but now that's failing, with HR -2147221164 Our CoCreateInstance example: HR = CoCreateInstance( ...
Tyler McCall's user avatar
0 votes
1 answer
76 views

Getting message Id from MS Graph API sendMail()

Previously, I was successfully sending emails with this code. SendMailPostRequestBody postRequest = new SendMailPostRequestBody(); postRequest.setMessage(message); postRequest.setSaveToSentItems( this....
Stewart's user avatar
  • 18.8k
1 vote
3 answers
252 views

Loop to check all cells in a column to send email

I want to check all cells in a column for a value to send an email. I created the If check. How do I make it go through a loop to check all cells in the column? This is the VBA code I made but I can ...
Marco Bakx's user avatar
3 votes
2 answers
161 views

VBA in Excel to auto send emails skip over recipients without attachments

So the scenario is to auto send emails however, some of the recipients don't have attachments one day but might the next. I am looking to add to this code (below) so that in my list of names the ones ...
user31611822's user avatar
0 votes
1 answer
63 views

Outlook/MSGKIT: Create Outlook Email Template for Download

I have a need to dynamically populate an email as an .MSG file with all of its attributes (to/from/cc, body, etc.) and allow the end user to download the email as a template for further modification. ...
Matt Small's user avatar
  • 2,303
0 votes
1 answer
46 views

Python, extract outlook meetings between two date with pywin32

I'm working on an application where I need to extract Outlook meetings using pywin32. To filter the specific meetings I require, I'm using the Restrict function with a date range filter. However, the ...
Elshindr's user avatar
0 votes
1 answer
61 views

Outlook addin with office.js giving Host error with code 5000 for item.sendAsync()

I'm trying to send an email using the Outlook's office.js API's item.sendAsync() method which triggers on custom send button added on taskpane from a task pane add-in. However, I'm getting a Host ...
sudhanshud's user avatar
1 vote
0 answers
122 views

Attempting to Loop Through Shared Outlook Calendars in VBA results in Error

Background At my company, we have 4 similar shared resources (not rooms, these are actual items that can be borrowed) that we are managing via shared Outlook Calendars. A user must reserve the ...
Trashman's user avatar
  • 1,665
0 votes
0 answers
107 views

Outlook VBA to open a file within a Public Sub already Set

In the below code I simple want to open an excel workbook, but my usual Excel tactics are not working.. Same with an application.wait/sleep timer. Been trying every alternate version I could, and ...
Bryan's user avatar
  • 87
1 vote
1 answer
46 views

Outlook classic (vsto): Identifier of context menu of appointment in reminder window

I would like to add an item to the context menu of an appointment in the reminder(s) window in outlook classic: Is this possible in a VSTO add-in, and if so, what is the identifier of the context ...
dieckie's user avatar
  • 111
1 vote
2 answers
144 views

VBA script to move deleted contacts to new folder not working

A simple sample script to create a new email works fine. But this script doesn't Private Sub Application_Startup() Dim olApp As Outlook.Application Dim olNamespace As Outlook.NameSpace Dim ...
Rick Hantz's user avatar
0 votes
2 answers
63 views

How to exclude specific Outlook messages from tracking using Microsoft Graph API without breaking the thread?

I’m building a multi-provider email client that tracks sent/replied/forwarded messages. For Gmail, I can easily exclude specific messages from my tracking mechanism by adding a custom header (e.g., X-...
ALOK PATEL's user avatar
0 votes
1 answer
43 views

How can I avoid polling when fetching Outlook appointment data for add-in [closed]

I'm making an outlook add-in inside a web app we already have (React app on vite, using React 18). I looked for hooks or ways to get the data from outlook (title, attendees, times, everything for a ...
ConLem's user avatar
  • 49
0 votes
1 answer
51 views

How to host a Web Outlook AddIn on a local server of an organisation

We started to develop an Outlook Web Addin with the help of Visual Studio's Outlook Web Add-In C# template. For development purposes I can host a web outlook addin server locally. In the manifest xml ...
Lord Tasci's user avatar
0 votes
1 answer
132 views

C++ MAPI: how to define named properties corresponding with a contact's email address?

I'm trying to convert a Microsoft.Graph.Contact object into a PST file for Outlook using Extended MAPI, and I don't know where to feed the contact's email addresses to and have it show when I open the ...
Tyler McCall's user avatar
0 votes
1 answer
94 views

How to fix this Python script error with win32com outlook app

I'm following a video on youtube on creating a new mail with python. But I'm getting error. Am I missing something? My goal is to create a new mail and insert images from a folder into it. The first ...
user234568's user avatar
0 votes
0 answers
101 views

How can I style a CSS button for Outlook Classic without it looking like highlighted text?

I'm trying to style a button (or a link that looks like a button) for Outlook Classic. Every time I try, the text just gets highlighted and the button looks terrible. It works fine in Outlook New and ...
devvrie's user avatar
0 votes
0 answers
25 views

Linking outlook combo box to Database Table

I have created a connection object in outlook that links an Oracle Database. I would like to link a combo box in outlook to a column in a table in this database. Is this possible? If so, can anybody ...
fritesmodern's user avatar
0 votes
1 answer
84 views

Attachment generated from newly saved file is corrupt

The code snippet below is part of an Excel VBA Version 2507 (Build 19029.20208) procedure to create a PDF file from a worksheet range and create an email with the PDF as an attachment. The procedure ...
jmcsa3's user avatar
  • 1
1 vote
1 answer
208 views

DASL filter in AdvancedSearch with lastmodified date

I use the Outlook desktop app, and my Inbox folder contains emails organized into hundreds of subfolders. I want to use Outlook's AdvancedSearch feature to filter emails based on specific criteria ...
Christian's user avatar
0 votes
0 answers
57 views

How can I collect multiple images and zip into folder for sharing?

I am creating a flow that queries images stored in an Image Library and then collects them in an array to be emailed to a user. I have made it possible where it will send the images that satisfy the ...
Austin Coleman's user avatar
0 votes
1 answer
137 views

535, b'5.7.139 Authentication unsuccessful, basic authentication is disabled

I have a website that uses an email contact form. Recently been told it does not work. When I recreated the error in development I got the error 535, b'5.7.139 Authentication unsuccessful, basic ...
StevenG1's user avatar
3 votes
1 answer
147 views

VSTO Outlook Add-in: SDK-style project fails to generate .vsto and .dll.manifest files despite successful compilation

I'm trying to convert a classic VSTO Outlook add-in project to SDK-style format while maintaining full VSTO functionality. Both csproj project files compile successfully and produces a working .dll, ...
Mirec J.'s user avatar
  • 129
1 vote
1 answer
85 views

Search the Outlook Calendar for Appointments Within a Date Range that Contain a Specific Word in the Subject

I am trying to use the code from Microsoft Learn to filter Outlook appointments by date. My ultimate goal is to add an attendee (my private email) to all events, so they will appear in my private ...
Ingeborg's user avatar
  • 421
2 votes
0 answers
62 views

How can I show a picture (.png) in an email created in ms-access vba? [duplicate]

I am using the following code in Access. I have created logo.png to be placed at the end of the code. The file does exist in the Signatures folder. The issue I am having is that 2 days ago the code ...
Les's user avatar
  • 25
0 votes
0 answers
111 views

How do I access my .onmicrosoft.com email?

I bought a license for PowerBI a few months ago and Microsoft created a new email id for that, which is a .onmicrosoft.com mail id. I have never been able to access that email id. How do I do that? ...
user3729553's user avatar
1 vote
1 answer
135 views

Adding a photo from ActiveX to an Outlook email attachment using VBA

I am fairly new to VBA and am using a userform to let colleagues upload a photo which then gets pasted into an ActiveX photo box on my Excel spreadsheet. From here I then attach the complete form as a ...
Artybunny 's user avatar
1 vote
0 answers
76 views

MJML inconsistent section width in Outlook on Windows

I'm developing an email template with MJML and I'm trying to resolve some inconsistencies in Outlook desktop on Windows. My understanding is that MJML generates conditional wrapper tables with a fixed ...
Jos's user avatar
  • 11
2 votes
2 answers
146 views

How to email an opened Excel file as attachment using VBA?

Is there any way to e-mail an opened Excel file as attachment using VBA? I use the following macro, but a debugger shows up when I run it, because obviously the file is open - so it won't allow it to ...
kxmoosekx's user avatar
2 votes
2 answers
105 views

Exchangelib wrong credentials/request backoff after migration

Before showing you the error there is some backstory: Until a couple days ago the code worked just fine. Then they did a migration, before to login we used a link like "https://webmail.domain.it/...
zacthebigkub's user avatar
0 votes
1 answer
114 views

Use Power Automate to watch email Flagging

I'm creating a simple workflow in Power Automate: when an email is flagged, it should create an item in my Microsoft List. Right now, the flow only triggers when I flag an email in my Inbox. However, ...
Tonghe Liu's user avatar
1 vote
1 answer
150 views

Getting the default Outlook signature in Python when generating email from a shared mailbox (similar to VBA)

The ask is to get the default signature from Outlook when generating an email from the code below. While the VBA code works effortlessly, the Python code is picking up the signature from the primary ...
Kirtiraj Poojary's user avatar
0 votes
0 answers
85 views

How to include both RSVP functionality and visible .ics attachment in Outlook calendar invites?

I'm building an email system that sends calendar invitations using MIME messages with .ics attachments to support RSVP functionality in Outlook and other email clients. So far, the setup works well ...
Uriel Juarez's user avatar
1 vote
1 answer
105 views

Setting a folder in a shared mailbox, to browse emails

I have the following code in VBA Excel to look for an email with a specific subject in a given folder in a shared mailbox. Sub Mail_downloader() Dim title As String Dim box As String Dim folder As ...
Zyzio90's user avatar
  • 11
1 vote
1 answer
98 views

How do I remove the border in VBA for a HTML body image?

I am trying to produce an email with both an attachment (which is working fine) and a image created from a set of cells in Excel (this is sort of working), although whatever I do it always puts a grey ...
Artybunny 's user avatar
1 vote
1 answer
98 views

Return folder-type value in function to test if folder found

This first bit of code calls a function that should return either a folder with the name "MyFolder" or Nothing. I then want to test: Is folder = Nothing then 'or an equivalent I discovered ...
theHeatingEngineer's user avatar
0 votes
0 answers
111 views

Creating an email with word document as template - does not work in W365

I have some code previously used to open an email .oft file, replace some text with data in the excel document and display the email. This code works, but in W365 virtual machine it does not. I've ...
Hulk Smash 93's user avatar
2 votes
0 answers
115 views

Changing From field to monitored email address

There are five individuals in our department. We each have our own email address, [email protected]. All of us monitor an email address, [email protected]. We sometimes send emails from our ...
Timothy Couch's user avatar
0 votes
2 answers
115 views

Error pulling sender name and body content from Outlook using Excel VBA

This Excel VBA code pulls data from Outlook. I want, time received, sender, subject and body content. The sender and body content ws.Range("B" & r).Value = OutMail.SenderName bodyPart = ...
vincent goh's user avatar
0 votes
1 answer
133 views

VBA Code To Automatically Save Document According to a Cell Value (Or Previous Work Date)

I am attempting to automatically open, refresh, save (to a different file name according to the previous work date) and close an Excel Worksheet; and then automatically send an email of that document ...
user avatar

1
2 3 4 5
452