zimbra-api / mail
Mail libraries used by Zimbra Api
1.0.2
2016-03-27 01:34 UTC
Requires
- php: >=5.4.0
- zimbra-api/account: ~1.0
Requires (Dev)
- fzaninotto/faker: ~v1.5.0
- phpunit/phpunit: ~4.0
This package is auto-updated.
Last update: 2026-03-10 20:47:27 UTC
README
Zimbra Mail provides wrapper for the zimbra mail client.
Basic usage of zimbra mail client
<?php // This file is generated by Composer require_once 'vendor/autoload.php'; $account = new \Zimbra\Struct\AccountSelector(\Zimbra\Enum\AccountBy::NAME(), 'username'); $api = \Zimbra\Mail\MailFactory::instance('https://localhost/service/soap'); $api->auth($account, 'password');
From $api object, you can access to all zimbra mail api.
Installation
This package can be installed easily using Composer <http://getcomposer.org>.
Simply add the following to the composer.json file at the root of your project:
{ "require": { "zimbra-api/mail": "*" } }
Then install your dependencies using composer.phar install.