Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I parse (check, extract) an email address?

Little tricks

How do I parse (check, extract) an email address?

by  MikeLacey  Posted    (Edited  )
Please browse through FAQ219-2884 and FAQ219-2889 first. Comments on this FAQ and the General FAQ's are very welcome.

Use the standard module Mail::Address, anything you can write yourself in a reasonable time won't be as good as this :)

Module Available From www.cpan.org - direct link at http://cpan.uwinnipeg.ca/module/Mail::Address

[quote ModuleDocumentation]
Mail::Address extracts and manipulates RFC822 compilant email addresses. As well as being able to create Mail::Address objects in the normal manner, Mail::Address can extract addresses from the To and Cc lines found in an email message.
[/quote]
Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top