Re: reg exp for smtp error codes

From: Date: Fri, 23 Apr 2004 14:51:36 +0000
Subject: Re: reg exp for smtp error codes
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-184396@lists.php.net to get a copy of this message
* Thus wrote Robert Kornfeld (aon.912628966@aon.at): > 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."

« previous php.general (#184396) next »