-
Notifications
You must be signed in to change notification settings - Fork 1
Installation
smallfri edited this page Nov 16, 2015
·
6 revisions
- To get started, download this SDK and upload it to your server.
- Open the file /examples/setup.php.
- In the following code, insert your public and private api key, available here
$config = new EmailOneApi_Config(array(
'apiUrl' => 'http://www.emailone.net/api',
'publicKey' => 'YOUR_PUBLIC_KEY',
'privateKey' => 'YOUR_PRIVATE_KEY',
'components' => array(
'cache' => array(
'class' => 'EmailOneApi_Cache_File',
'filesPath' => dirname(__FILE__) . '/../EmailOneApi/Cache/data/cache', // make sure it is writable by webserver
)
),
));