X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=php%2Fphpxmlrpc%2Fdemo%2Fclient%2Fmail.php;h=4907a7a70e84de915145e4a05c0cdc1eca438580;hb=c379c0fff5edc592cc5d5d647c7fadb91317db87;hp=9486e095440cf8e3a7ea72590fbd4df60f60cb4e;hpb=ae8b10f8363f7a1df02e77cbd820904c4ded10b8;p=plcapi.git diff --git a/php/phpxmlrpc/demo/client/mail.php b/php/phpxmlrpc/demo/client/mail.php index 9486e09..4907a7a 100644 --- a/php/phpxmlrpc/demo/client/mail.php +++ b/php/phpxmlrpc/demo/client/mail.php @@ -1,11 +1,4 @@ - - + xmlrpc - Mail demo

Mail demo

@@ -14,17 +7,14 @@ if (isset($_GET['showSource']) && $_GET['showSource']) { When you press Send this page will reload, showing you the XML-RPC request sent to the host server, the XML-RPC response received and the internal evaluation done by the PHP implementation.

-

You can find the source to this page here: mail.php
+

You can see the source to this page here: mail.php
And the source to a functionally identical mail-by-XML-RPC server in the file server.php included with the library (look for the 'mail_send' method)

faultCode()) { print "Mail sent OK
\n"; } else { - print ""; + print ""; print "Mail send failed
\n"; print "Fault: "; print "Code: " . htmlspecialchars($resp->faultCode()) . @@ -63,4 +53,4 @@ if (isset($_POST["mailto"]) && $_POST["mailto"]) { - +