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

<pre>
XPM3_MAIL -> <i>boolean</i> <b>priority</b> ( [ <i>mixed</i> level ] )
<hr>
Returns TRUE if has been successfully set, FALSE if not.

<i>mixed</i> level possible values are: <i>integer</i> 1, 3, 5; <i>string</i> High, Normal, Low

<i>mixed</i> level equivalent values are:
 <i>integer</i> 1 = <i>string</i> High
 <i>integer</i> 3 = <i>string</i> Normal
 <i>integer</i> 5 = <i>string</i> Low

Example:
<table border="0" bgcolor="white">
<tr><td>
<pre><code>
$m = new XPM3_MAIL;

// set priority to "Normal" or "3"
$m->Priority(3);

// set priority to "High" or "1"
$m->Priority('High');

// unset priority
$m->Priority();
</code></pre>
</td></tr>
</table>

<hr color="white">

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

Last update: Friday, December 08, 2006

</pre>

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