Using OAuth 2.0 for Gmail without IMAP

Hi,

We are trying to add Gmail Oauth2 support without iMAP to Send Emails. May we know what are Gmail APIs supported in aspose?

Regards,
Jay-R

@Jay-R,
Welcome to our community! Thank you for the query. I will answer you a bit later.

@Jay-R,
Could you please clarify which programming language you are using with Aspose.Email?

@Andrey_Potapov
I am using Java programming language.

@Jay-R,
Thank you for your patience. You can use EWSClient class for your purposes.
API Reference: EWSClient class

I added a ticket with ID EMAILJAVA-34896 in our tracking system. Our development team will prepare a code example for you. We will add an article to the documentation later.

@Jay-R,
I apologize for the misleading and any inconvenience. The EWSClient class is not for your case. Aspose.Email provides GmailClient class for connecting to Gmail using OAuth 2.0 authorization. But at the moment, this class doesn’t allow to send emails. Our development team is working on this feature.