Name

CatalystX::Usul::Model::MailAliases - Manipulate the mail aliases file

Version

0.5.$Revision: 1139 $

Synopsis

use CatalystX::Usul::Model::MailAliases;

$alias_obj = CatalystX::Usul::Model::MailAliases->new( $app, $config );

Description

Management model file the system mail alias file

Subroutines/Methods

build_per_context_instance

Creates a new instance of CatalystX::Usul::MailAliases

create_or_update

$alias_obj->create_or_update;

Creates a new mail alias or updates an existing one. Request object fields are:

alias_name

The name of the alias to be created or updated

comment

The comment associated with this alias

owner

The logged in user name from the system

recipients

List of recipients

Checks the fields passed to it from the web form and calls create or /update on the domain model as appropriate

delete

$alias_obj->delete;

Deletes the specified mail alias

mail_aliases_form

$alias_obj->aliases_form( $alias );

Stuffs the stash with the data used to render the web form used to display, create and update mail aliases

Diagnostics

None

Configuration and Environment

None

Dependencies

CatalystX::Usul::Model
CatalystX::Usul::MailAliases

Incompatibilities

There are no known incompatibilities in this module

Bugs and Limitations

There are no known bugs in this module. Please report problems to the address below. Patches are welcome

Author

Peter Flanigan, <Support at RoxSoft.co.uk>

License and Copyright

Copyright (c) 2008 Peter Flanigan. All rights reserved

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic

This program is distributed in the hope that it will be useful, but WITHOUT WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE