VB.Net legacy product - MAIL.SEND() crashes on Office 365 (MAIL.DISPLAY() works!) Using Microsoft.Office.Interop.Outlook

Rik Evans 0 Reputation points
2024-07-31T11:44:34.5433333+00:00

We have an ancient class CreateEmail, that has suddenly stopped working with Office365 installs on our customers remote desktops.

Class uses Microsoft.Office.Interop.Outlook

We have an 'autosend' flag, that either sends the email once created, or displays to the user.

The code either calls Mail.Display() or Mail.Send()

Mail.Display() shows a perfectly formed email, and manually clicking 'Send' sends the email.

Mail.Send() crashes... (Lost exact message, but wasn't helpful).

Anyone else experience this? Solutions?

Outlook | Windows | Classic Outlook for Windows | For business
Microsoft 365 and Office | Install, redeem, activate | For business | Windows
Developer technologies | VB
0 comments No comments
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.