I am trying to capture the Header from a mail for my webmail using php and
pop3.  The header is something like this:
Content-Type: multipart/mixed;

When I use preg_split("/[\d;]*/", $buffer), I get
Content-Type: multipart/mixed;

What I want is to return the whole line split by the ";".  I usually try
to avoid regexp (too lazy) but now I want to use it.  The final result I
would need is: ------------B42DA66C4EC07C9B572A58FC so that I can search
in the body of the message for the rest of the parts.

Any pointers would be helpful.


PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to