org.jclouds.glesys.features
Interface EmailClient


public interface EmailClient

Provides synchronous access to E-Mail requests.

Author:
Adam Lowe
See Also:
EmailAsyncClient,

Method Summary
 void createAccount(String accountAddress, String password, CreateAccountOptions... options)
          Create a new e-mail account
 void createAlias(String aliasAddress, String toEmailAddress)
          Create an e-mail alias for an e-mail account
 void delete(String accountAddress)
          Delete an e-mail account or alias
 void editAccount(String accountAddress, EditAccountOptions... options)
          Adjust an e-mail account's settings
 void editAlias(String aliasAddress, String toEmailAddress)
          Adjust (re-target) an e-mail alias
 EmailOverview getEmailOverview()
          Get a summary of e-mail accounts associated with this Glesys account
 Set<EmailAccount> listAccounts(String domain)
          Get the set of detailed information about e-mail accounts
 

Method Detail

getEmailOverview

EmailOverview getEmailOverview()
Get a summary of e-mail accounts associated with this Glesys account

Returns:
the relevant summary data

listAccounts

Set<EmailAccount> listAccounts(String domain)
Get the set of detailed information about e-mail accounts

Returns:
the relevant set of details

createAccount

void createAccount(String accountAddress,
                   String password,
                   CreateAccountOptions... options)
Create a new e-mail account

Parameters:
accountAddress - the e-mail address to use (the domain should already exist)
password - the password to use for the mailbox
options - optional parameters
See Also:
DomainClient.addDomain(java.lang.String, org.jclouds.glesys.options.AddDomainOptions...)

createAlias

void createAlias(String aliasAddress,
                 String toEmailAddress)
Create an e-mail alias for an e-mail account

Parameters:
aliasAddress - the address to use for the alias (the domain should already exist)
toEmailAddress - the existing e-mail account address the alias should forward to
See Also:
DomainClient.addDomain(java.lang.String, org.jclouds.glesys.options.AddDomainOptions...)

editAccount

void editAccount(String accountAddress,
                 EditAccountOptions... options)
Adjust an e-mail account's settings

Parameters:
accountAddress - the existing e-mail account address
options - optional parameters

editAlias

void editAlias(String aliasAddress,
               String toEmailAddress)
Adjust (re-target) an e-mail alias

Parameters:
aliasAddress - the existing alias e-mail address
toEmailAddress - the existing e-mail account address the alias should forward to

delete

void delete(String accountAddress)
Delete an e-mail account or alias

Parameters:
accountAddress - the existing alias e-mail account or alias address


Copyright © 2009-2012 jclouds. All Rights Reserved.