Mail demo

This form enables you to send mail via an XML-RPC server. 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
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)

setDebug(2); $resp = $client->send($req); if (!$resp->faultCode()) { print "Mail sent OK
\n"; } else { print ""; print "Mail send failed
\n"; print "Fault: "; print "Code: " . htmlspecialchars($resp->faultCode()) . " Reason: '" . htmlspecialchars($resp->faultString()) . "'
"; print "
"; } } ?>
From

To
Cc
Bcc

Subject
Body