Location: PHPKode > projects > EXtensible Production Suite (XPS) > xpsdev/helpers/xpm3/DOCUMENTATION/mail/delheader.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">

XPM3_MAIL -> <i>boolean</i> <b>delheader</b> ( [ <i>string</i> name ] )
Returns TRUE if has been successfully deleted, FALSE if not.

<i>Notice</i>: delheader function will delete all <i>string</i> name header values if you have multiple entries with the same name.

<table border="0" bgcolor="white">
$m = new XPM3_MAIL;

// add
$m->AddHeader('X-Whatever', 'first value');
$m->AddHeader('X-Whatever', 'secound value');

// delete only "X-Whatever" header name entries

// delete all headers

<hr color="white">

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

Last update: Friday, December 08, 2006


Return current item: EXtensible Production Suite (XPS)