Free Support Forum - aspose.com

Backup from gmail

when i am trying to download gmail email its asking to turn on less secure app every time, is there any way to do it without turning on less secure apps. like OAuth authentication

can you please let me know how to do it

@indianseomarketer,

Can you please elaborate the requirement on your end in the form of snapshot, what you want, what issue you are facing along with used sample code with us.

how to authenticate gmail account without imap and less secured enabled

@indianseomarketer,

Which client you are using if not IMAP?

imap is enabled but when in gmail without enabling less secure app access i am not able to access gmail emails

@indianseomarketer,

Actually, Gmail allows to use several ways for user authorization on the server

  • oauth authentication
  • login/password with SSL encryption (needs to be enabled less secure apps)

You may may use any of it. Login/password is considered less secure then oauth authentication. You have to use oauth if you need without less secured enabled. Please visit below link for your convenience.

https://docs.aspose.com/display/emailnet/Access+SMTP+and+IMAP+Server+using+OAuth

can i take backup of gmail contacts and calendars

@indianseomarketer,

You can access the calendar or contacts in your Gmail and can manage them inside PST. Please visit this documentation link for your kind reference.