* 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);
hey professionals out there!
does anybody have a script that parses the error-code from a returned
email-header (esmtp)?
thanx!
Robby
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
2 matches
Mail list logo