'clientID' => { label=>'clientID' },
'password' => { label=>'Password' },
#'workgroup' => { label=>'Default Workgroup' },
+ 'debug' => { label=>'Enable debugging',
+ type=>'checkbox' },
;
%info = (
'svc' => 'svc_acct',
'desc' => 'Real-time export to Everyone.net outsourced mail service',
'options'=> \%options,
+ 'no_machine' => 1,
+ 'default_svc_class' => 'Email',
'notes' => <<'END'
Real-time export to
-<a href="http://www.cp.net/">Everyone.net</a> via the XRC Remote API.
+<a href="http://www.everyone.net/">Everyone.net</a> via the XRC Remote API.
Requires installation of
<a href="http://search.cpan.org/dist/Net-XRC">Net::XRC</a>
from CPAN.
eval "use Net::XRC qw(:types);";
return $@ if $@;
+ local($Net::XRC::DEBUG) = 1
+ if $self->option('debug');
+
my $xrc = new Net::XRC (
'clientID' => $self->option('clientID'),
'password' => $self->option('password'),
$self->_xrc_command( 'setUserPassword',
$new->domain,
- $domain_clientID,
string($new->username),
string($new->_password),
);
$self->_xrc_command( 'suspendUser',
$svc_acct->domain,
- $domain_clientID,
string($svc_acct->username),
);
}