Webservice::OVH::Email
use Webservice::OVH; my $ovh = Webservice::OVH->new_from_json("credentials.json"); my $email_domains = $ovh->email->domains->domains; foreach my $email_domain (@$email_domains) { print $email_domain->name; }
Module that support limited access to email methods of the ovh api The methods that are supported are marked as deprecated by ovh. But unitl now they didn't produce a alternative. For now the MX order Methods are functional.
Internal Method to create the email object. This method is not ment to be called external.
Parameter: $api_wrapper - ovh api wrapper object, $module - root object
Return: Webservice::OVH::Email
Synopsis: Webservice::OVH::Email->_new($ovh_api_wrapper, $self);
Gives Acces to the /email/domain/ methods of the ovh api
Return: Webservice::OVH::Email::Domain
Synopsis: $ovh->order->email
To install Webservice::OVH, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Webservice::OVH
CPAN shell
perl -MCPAN -e shell install Webservice::OVH
For more information on module installation, please visit the detailed CPAN module installation guide.