We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Using OAuth 2.0 for Gmail without IMAP


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


Welcome to our community! Thank you for the query. I will answer you a bit later.

Could you please clarify which programming language you are using with Aspose.Email?

I am using Java programming language.

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.

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.