Perl GetDisplayPreferences

From Rackspace Email & Apps API
Revision as of 15:57, 25 August 2008 by APIAdmin (talk | contribs) (New page: <pre> #!/usr/bin/perl -w use strict; use SOAP::Lite; use Data::Dumper; my $service = "https://secure.webmail.us/mail4/soap/soap_server.php?wsdl"; my $resellerUsername = "someadmin"; my ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
#!/usr/bin/perl -w

use strict;
use SOAP::Lite;
use Data::Dumper;

my $service = "https://secure.webmail.us/mail4/soap/soap_server.php?wsdl";

my $resellerUsername = "someadmin";
my $resellerPassword = "adminpass";
my $domain = "somedomain.com";
my $userid = "someuser";

my @result = SOAP::Lite
  -> service($service)
  -> GetDisplayPreferences($resellerUsername, $resellerPassword, $domain, $userid);
print Dumper @result;
print "\n";