Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: mailadress splitten.

by davido (Cardinal)
on Jan 20, 2009 at 07:59 UTC ( [id://737501]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://737501]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-24 07:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found