Hi,
I'm very new to Zimbra and have been working on creating ways for applications to import mails and contacts to user mailboxes.
For the same i explored the usage of rest apis, and was able to as an admin import mails (.msg files) into user mailbox. Used the endpoint: https://myzimbraserver.com:7071/home/ad ... m/contacts
However I don't want to exposing the port to 7071.
I also see that I can use the endpoint: https://myzimbraserver.com/home/zimbrau ... rset=UTF-8
This uses user credentials.
Is there any other similar way to import mails/contacts into zimbra user mailboxes which can be done via admin creds? Or is it the case that for using admin creds port 7071 is the only option?
Requesting the guidance of the community
Alternative for port 7071 for admin actions like importing contacts
- barrydegraaff
- Zimbra Employee
- Posts: 242
- Joined: Tue Jun 17, 2014 3:31 am
- Contact:
Re: Alternative for port 7071 for admin actions like importing contacts
You can use Pre Authentication to get an auth token, then you can do the request to the user's mailbox without having their credentials.
https://wiki.zimbra.com/wiki/Preauth
https://wiki.zimbra.com/wiki/Preauth
--
Barry de Graaff
Email: barry.degraaff [at] synacor [dot] com
Admin of Zimbra-Community Github: https://github.com/orgs/Zimbra-Community/ and the
Zimlet Gallery https://gallery.zetalliance.org/extend/
Barry de Graaff
Email: barry.degraaff [at] synacor [dot] com
Admin of Zimbra-Community Github: https://github.com/orgs/Zimbra-Community/ and the
Zimlet Gallery https://gallery.zetalliance.org/extend/