Location: PHPKode > projects > EXtensible Production Suite (XPS) > xpsdev/helpers/xpm3/DOCUMENTATION/smtp/index.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
body, pre {
	font-family: Verdana;
	font-size: 10pt;
<body bgcolor="#f1f3f5" topmargin="10" leftmargin="14">

<b>XPM3_SMTP</b> Class

<table border="0" bgcolor="white">
// 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.';

<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


Return current item: EXtensible Production Suite (XPS)