| Net-Plesk documentation | Contained in the Net-Plesk distribution. |
Net::Plesk::Method::mail_remove - Perl extension for Plesk XML Remote API mail removal
use Net::Plesk::Method::mail_remove
my $p =
new Net::Plesk::Method::mail_remove ( $domainID, $mailbox );
$request = $p->endcode;
This module implements an interface to construct a request for a mailbox removal using SWSOFT's Plesk.
Initializes a Plesk mail_remove object. The domainID and mailbox options are required.
Creepy crawlies.
SWSOFT Plesk Remote API documentation (1.4.0.0 or later)
Jeff Finucane <jeff@cmh.net>
Copyright (C) 2006 Jeff Finucane
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
| Net-Plesk documentation | Contained in the Net-Plesk distribution. |
package Net::Plesk::Method::mail_remove; use strict; use vars qw( $VERSION @ISA $AUTOLOAD $DEBUG ); @ISA = qw( Net::Plesk::Method ); $VERSION = '0.01'; $DEBUG = 0;
sub init { my ($self, $domainid, $mailbox ) = @_; $$self = join ( "\n", ( '<mail>', '<remove>', '<filter>', '<domain_id>', $self->encode($domainid), '</domain_id>', '<name>', $self->encode($mailbox), '</name>', '</filter>', '</remove>', '</mail>', )); }
1;