/usr/share/doc/libsoap-lite-perl/examples/soapsmtp.pl is in libsoap-lite-perl 0.714-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | #!/usr/bin/perl -w
#!d:\perl\bin\perl.exe
# -- SOAP::Lite -- soaplite.com -- Copyright (C) 2001 Paul Kulchenko --
use SOAP::Lite;
SOAP::Lite
-> uri('http://www.soaplite.com/My/Examples')
-> proxy('mailto:destination.email@address', smtp => 'smtp.server', From => 'your.email', Subject => 'SOAP message')
# or
# -> proxy('mailto:destination.email@address?From=your.email&Subject=SOAP%20message', smtp => 'smtp.server')
# or if you want to send with sendmail
# -> proxy('mailto:destination.email@address?From=your.email&Subject=SOAP%20message')
# or if your sendmail is in undiscoverable place
# -> proxy('mailto:destination.email@address?From=your.email&Subject=SOAP%20message', sendmail => 'command to run your sendmail')
-> getStateName(12);
|