HI!

I do not use PEARm then find email address from email.
Dose anyone know how to get it??

It does noe blow;

ereg("^From: \s+ .*", $data) ;

Regards,
yui

2008/5/5 Richard Heyes <[EMAIL PROTECTED]>:
>
>
> > I would like to retrieve email address from email with regular expression.
> >
> > ------email------------
> > .
> > .
> > .
> > From: [EMAIL PROTECTED]
> > .
> > .
> > .
> > ------------------------------
> >
> > if anybody know how to do it,  please send me email.
> >
>
>  Can, worms, everywhere. Try looking at the Mail::RFC822 package in PEAR.
> There's also a shortcut function for just matching an Interweb email
> address.
>
>  --
>  Richard Heyes
>
>  +----------------------------------------+
>  | Access SSH with a Windows mapped drive |
>  |    http://www.phpguru.org/sftpdrive    |
>  +----------------------------------------+
>

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

Reply via email to