<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>XPM3_SMTP</title>
<style>
body, pre {
font-family: Verdana;
font-size: 10pt;
}
</style>
</head>
<body bgcolor="#f1f3f5" topmargin="10" leftmargin="14">
<pre>
<b>XPM3_SMTP</b> Class
<hr>
Example:
<table border="0" bgcolor="white">
<tr><td>
<pre><code>
// path to XPM3_SMTP.php file from XPM3 package
require_once '/path/XPM3_SMTP.php';
// call static function "connect()" from class "XPM3_SMTP"
$conn = XPM3_SMTP::connect('smtp.mail.tld');
// compare and print result
if ($conn['connection']) echo 'Connection established, waiting for new instructions.';
else echo 'Can\'t connect.';
</code></pre>
</td></tr>
</table>
<hr color="white">
[ <a style="color: blue; text-decoration: none" href="mailto:hide@address.com?subject=Comment XPM3_SMTP Index">Comments</a> ]
Last update: Monday, January 22, 2007
</pre>
</body>
</html>