Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to REST API #6

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
config.php
/vendor
/info.php
12 changes: 8 additions & 4 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,24 @@ This is a small script to setup on your OVH mutualisated server to manage email
To install, follow the following steps :
1) create a config.php file. Copy the config_sample.php file to config.php and edit the file to set your OVH nic-handle and you password. The file should look like this :
<?php
$nic = "xxxxx-ovh"; // your ovh nichandle
$pass = "*******"; // your ovh password
$applicationKey = 'xxxxx'; // Application Key
$applicationSecret = 'xxxxxx'; // Application Secret
$consumerKey = 'xxxxxx'; // Consumer Key
$ovhEndpoint = 'ovh-eu'; // Endpoint of API OVH Europe
$domain = "yourdomain.tld"; // your domain name
$serveur="pop3.". $domain;
$dom = "@". $domain;
?>

2) just copy all the files in a folder of your mutualisated server. For example :
2) run `composer install` to get dependancies (OVH API files)

3) just copy all the files in a folder of your mutualisated server. For example :
mail/common.css
mail/config.php
mail/config_sample.php
mail/index.php
mail/logo.jpg
mail/README
mail/vendor/

3) surf with your prefered navigator to yourdomain.tld/mail

Expand Down
5 changes: 5 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"require": {
"ovh/ovh": "^3.2"
}
}
Loading