- NAME
- SYNOPSIS
- DESCRIPTION
- METHODS
  - _new
  - domain

# NAME

Webservice::OVH::Email

# SYNOPSIS

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;
    }

# DESCRIPTION

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.

# METHODS

## _new

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);

## domain

Gives Acces to the /email/domain/ methods of the ovh api

- Return: Webservice::OVH::Email::Domain

- Synopsis: $ovh->order->email