1 package Net::Plesk::Method::mail_add;
5 use vars qw( $VERSION @ISA $AUTOLOAD $DEBUG );
7 @ISA = qw( Net::Plesk::Method );
14 Net::Plesk::Method::mail_add - Perl extension for Plesk XML Remote API mail addition
18 use Net::Plesk::Method::mail_add
20 my $p = new Net::Plesk::Method::mail_add ( $domainID, $mailbox, $passwd );
22 $request = $p->endcode;
26 This module implements an interface to construct a request for a mailbox
27 addition using SWSOFT's Plesk.
35 Initializes a Plesk mail_add object. The I<domainID>, I<mailbox>,
36 and I<passwd> options are required.
41 my ($self, $domainid, $mailbox, $password) = @_;
42 $$self = join ( "\n", (
47 $self->encode($domainid),
51 $self->encode($mailbox),
54 $self->encode($password),
71 SWSOFT Plesk Remote API documentation (1.4.0.0 or later)
75 Jeff Finucane E<lt>jeff@cmh.netE<gt>
77 =head1 COPYRIGHT AND LICENSE
79 Copyright (C) 2006 Jeff Finucane
81 This library is free software; you can redistribute it and/or modify
82 it under the same terms as Perl itself.