Re: [PHP] real simple regex

2001-09-18 Thread Frank M. Kromann
The imap_mail() function connects to a SMTP the same way mail() does. It just takes a few paremeters more allowing you to set Reply-To and other headers normaly defined in PHP.INI. In general the imap functions can be used with IMAPĀ¤ and POP3 servers to read mails. - Frank > but can imap repl

Re: [PHP] real simple regex

2001-09-18 Thread Christian Dechery
but can imap replace my old mail() calls? Don't I have to get a server that supports it or something?? the regex thing I already got working... thanks... At 21:53 17/9/2001 -0700, Frank M. Kromann wrote: >Take a look at http://php.net/manual/en/function.imap-rfc822-parse-adrlist.php > >This fu

Re: [PHP] real simple regex

2001-09-18 Thread
From: Jack Dempsey <[EMAIL PROTECTED]> Date: Mon, Sep 17, 2001 at 09:41:07PM -0400 Message-ID: <[EMAIL PROTECTED]> Subject: RE: [PHP] real simple regex > you actually don't need regex... > if you take a few minutes you can do it all with strpos and substr, adn >

Re: [PHP] real simple regex

2001-09-17 Thread Frank M. Kromann
Take a look at http://php.net/manual/en/function.imap-rfc822-parse-adrlist.php This function will do the trick. You can also have a look at http://php.net/manual/en/function.imap-mail.php. This is an extended mail function and it works on both WIndows and *nix. - Frank > I had to write my own

RE: [PHP] real simple regex

2001-09-17 Thread Jack Dempsey
ject: [PHP] real simple regex I had to write my own mail() function cuz PHP's does not work in Windows very well.. But I suck at regex and I need to get the email address from the field from that can be something like: $from = "Christian Dechery <[EMAIL PROTECTED]>"; so wha

[PHP] real simple regex

2001-09-17 Thread Christian Dechery
I had to write my own mail() function cuz PHP's does not work in Windows very well.. But I suck at regex and I need to get the email address from the field from that can be something like: $from = "Christian Dechery <[EMAIL PROTECTED]>"; so what I want is: the string between '<' and '>' or the