How to send email from my delphi application

Roni Lev 1 Reputation point
2024-10-06T07:26:35.0766667+00:00

Hello Microsoft Support,

We have a garage management software, a desktop application written in Delphi, which is installed at many customer sites.

We want to enable our customers using the software to send emails through it. Until now, this was done using OLE with Outlook. However, in the new Office, there is no support for OLE, so we want to switch to the Graph API.

What is the best way to do this? I have registered the application on the Microsoft site and I am able to obtain a token, but I am failing to send emails.

How can I configure each client to specify which Microsoft user is sending the email?

Best regards,

Roni Lev

Tevel Software ltd

roni@tevelsoft.co.il

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,004 questions
0 comments No comments
{count} votes

Your answer

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