[PHP] reg exp for smtp error codes

2004-04-23 Thread Robert Kornfeld
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



[PHP] regular expression

2004-04-07 Thread Robert Kornfeld
hey, professionals out there:

i need to write a parser for an email-header to retrieve the email of the
'To:'-field.
there are 2 possibilities:
'To: [EMAIL PROTECTED]' or
'To: first foo <[EMAIL PROTECTED]>'

i would only need the email-adress!
does anyone know the regular expression that can handle both possibilities?
(i give up!)

thanx!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] reg expression for ide-emails

2004-03-28 Thread Robert Kornfeld
as with april 1, on may use special german and frech characters for urls and
email-names. does anyone know a reg. expression to validate the syntax of a
email-adress?
thanx

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php