IMAP API: Retrieve Unread Email Counts for multiple mailboxes in One Call
Many of you rely on IMAP commands to display the number of unread emails in your app’s UI, helping users stay informed about new messages. With 4D 20 R7, we’ve enhanced the IMAPTransporter.getBoxList() function, enabling it to retrieve unread email counts and mailbox properties simultaneously, ensuring faster response times.
Enhancing Compilation with Direct Typing in 4D
With 4D 20 R7 you can say goodbye to “Compiler_” methods and embrace more freedom in how and where you declare your variables. Save time by staying focus on your development workflow and your coding process thanks to Direct Typing.
4D NetKit: Retrieve Unread Email Counts for multiple labels in One Call with Gmail API
A lot of you use Gmail commands to show the number of unread emails in your app’s UI to let users know about new messages. So, starting with 4D 20 R7, we’ve upgraded Google.mail.getLabelList() function so that it can get the number of unread emails along with label properties for Gmail all at once to ensure optimal response times.
4D View Pro: What’s new in 4D 20 R7
4D 20 R7 comes with a new version of SpreadJS, v17.1, and a Ribbon update that is compatible with it. Let’s discover the new features this new version offers to help accelerate your 4D View Pro development.
Custom Parameters for Initializing Embedded Web Area
Since the embedded web area utilizes CEF as its web browser engine, there have been requests for a method to incorporate additional CEF switches, like the autoplay-policy switch, during the area initialization.
Starting with 4D 20 R6, you can manage your custom parameters using a parameter file.
4D Netkit: Customizing OAuth 2.0 Connection Interface
Some of you may need to manage the display of the connection interface during an OAuth 2.0 connection for design or technical reasons. From 4D 20 R6, you can choose not to automatically open a web browser to display the connection interface but use the authenticateURI to display it where you like.
In this blog post, we’ll walk through an example of opening the Microsoft login interface within a web area.
Using Classes Across Components
Component developers frequently require the utilization of a class from another existing component.
With 4D 20 R6, when a component has a declared namespace, its classes are now accessible to all components loaded in the host project via cs.namespace.
4D Netkit: OAuth2.0 authentication using a certificate
Several OAuth 2.0 servers, like the Microsoft Identity Platform, provide an authentication option utilizing certificates instead of client secrets. This approach enhances security and authentication mechanisms within the protocol. Starting from version 4D 20 R5, Netkit incorporates OAuth 2.0 certificate-based connection management.
4D View Pro: Enhancement of Custom Functions
4D Netkit: Append an email with Gmail
There may be times when you find it necessary to keep an email as a template inside a designated label in your mailbox. With the release of 4D 20 R5, we have introduced a feature that allows you to add an email to a mailbox without sending it.
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