Microsoft 365: Update Mail Properties
Your feedback matters, and we’ve been listening!
Many of you have been eager for a command to update the ‘isRead’ flag in emails. Starting with 4D v20 R3, 4D Netkit has incorporated this highly requested feature. Now, you can effortlessly update various properties of received or drafted emails using the new ‘Office365.mail.update()‘ function.
Keep reading for more details.
Microsoft 365: Create, delete, and rename mail folders with the Microsoft Graph API
To access the data in Microsoft 365, like emails, Microsoft is deprecating Basic authentication for IMAP and POP3 and is increasingly promoting the Graph API.
With this last set of functions that includes all the features to manage folders from the 4D v20, you have in 4D NetKit a set of functions to manage your mailboxes by programming with the Microsoft Graph API.
Microsoft 365: Copy, Move, Reply and Delete emails with the Microsoft Graph API
To access the data in Microsoft 365 like emails, Microsoft is deprecating Basic authentication for IMAP and POP3 and is increasingly promoting the Graph API.
From v19 R8, you now have new built-in commands in 4D NetKit to natively automate Microsoft 365 emails operations, such as copy, move, reply and delete emails.
Microsoft 365: Receive Emails with the Microsoft Graph API
To access the data in Microsoft 365 like emails, Microsoft is deprecating Basic authentication for IMAP and POP3 and is increasingly promoting the Graph API.
4D v19 R3 brought the 4D Netkit component to manage the OAuth 2.0 connection and the mail sending through the Graph API.
In the v19 R8, we add new commands to receive emails and list your mailbox folders.
Microsoft 365: Get user information from Azure
Many companies are using Microsoft 365 (former Office 365). Besides providing access to Office applications, Microsoft provides an Azure-based Active Directory, allowing users to log in to access services such as Microsoft Sharepoint or OneDrive using a Web Browser.
All Microsoft services use the same Single Sign-On, based on the email address. From 4D v19 R6, 4D NetKit allows you to join this concept, allowing users to log in to your application using their usual company credentials.
Besides allowing Single Sign-On, it will enable to retrieve information for the authenticated user such as email, department, and phone number. If permitted by the administrator, you can even retrieve such details on colleagues from the same company.
Let’s see how it works.
Microsoft 365: Send Emails
We know the importance of sending emails, and the fact that it’s a common task in today’s applications. Many people working with Office 365 have asked us for an API to send emails via the Microsoft Graph API. The OAuth 2.0 feature was a prerequisite for connecting to the Microsoft server and for introducing commands to retrieve user information. We are glad to proceed with email management, starting with the send email command.
4D and Microsoft 365 access
In the 4D v18 R6, 4D introduced OAuth 2.0 authentication to access emails through IMAP, SMTP, or POP3 transporters. Starting with 4D v19 R3, 4D continues to implement OAuth 2.0 protocol and provides a way to request easily by programming a token from the Microsoft identity platform to connect to the API for Microsoft 365.
Contact us
Got a question, suggestion or just want to get in touch with the 4D bloggers? Drop us a line!
* Your privacy is very important to us. Please click here to view our Policy