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

<pre>
XPM3_POP3 :: <i>boolean</i> <b>pdele</b> ( <i>resource</i> connection, <i>integer</i> message )
<hr>
Returns TRUE if the message has been successfully deleted, FALSE if not.

Example:
<table border="0" bgcolor="white">
<tr><td>
<pre><code>
$open = XPM3_POP3::Connect('pop.hostname.tld', 'username', 'password');

// delete message number 1
$dele = XPM3_POP3::pDele($open, 1);

// print result
echo $dele ? 'Deleted.' : 'Error.';
</code></pre>
</td></tr>
</table>

<hr color="white">

[ <a style="color: blue; text-decoration: none" href="mailto:hide@address.com?subject=Comment XPM3_POP3 pDele">Comments</a> ]

Wednesday, December 27, 2006

</pre>

</body>
</html>
Return current item: EXtensible Production Suite (XPS)