<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
<br>Hi,<br>If t_relay() fails, is it possible to retrieve the status/reason on a variable or something?<br>I am using<code class="function"> t_grep_status("code")</code> and trying to catch each case that I am interested but I was wondering if there was a better way.<br>One could do something like this:<br>If (result &gt; 400) {<br>&nbsp;&nbsp;&nbsp;&nbsp; do action 1<br>} else {<br>&nbsp;&nbsp;&nbsp; do action 2<br>}<br><br>txs a lot<br>fborot<br><div>
<div>&nbsp;</div></div>                                               </div></body>
</html>