* Thus wrote Robert Kornfeld ([EMAIL PROTECTED]): > hey professionals out there! > > does anybody have a script that parses the error-code from a returned > email-header (esmtp)?
You dont need a regex, just a simple explode will work: list($code, $message) = explode(" ", $result_string, 2); Curt -- "I used to think I was indecisive, but now I'm not so sure." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php