1

Topic: API Examples in PHP

==== Required information ====
- iRedMail version (check /etc/iredmail-release): Pro 2.8.0
- Linux/BSD distribution name and version: Ubuntu
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx):Apache
- Manage mail accounts with iRedAdmin-Pro? yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

It would be helpful to have the API example code shown in PHP as well as Python and Curl, for those of us who are PHP centric.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: API Examples in PHP

Sorry about this.

You can try the curl examples first, it should be easy to understand, then do same GET/POST/PUT/DELETE with PHP.

3

Re: API Examples in PHP

Hi,

we've developed a PHP Class to handle the different API Calls for internal use.

We could make it public and add examples for easing the work with the API.

Thoughts welcome.

Greets,
Frank

4

Re: API Examples in PHP

Sharing is always welcome. smile