in reply to mailadress splitten.

Don't bother trying to roll your own email address parser. It's a lot more complicated than it would seem at first blush.

use Email::Address; my @addresses = Email::Address->parse($line);

(Example taken from the Email::Address documentation.) Just search cpan for it.


Dave

Replies are listed 'Best First'.
Re^2: mailadress splitten.
by Bass-Fighter (Beadle) on Jan 20, 2009 at 08:27 UTC
    !UPDATE!

    It worked, thanks alot, without that module it is more difficult than I expected.

Re^2: mailadress splitten.
by Bass-Fighter (Beadle) on Jan 20, 2009 at 08:17 UTC
    I haven't thought about that module actually, thanks, I think I can get it with this