perldoc > CGI::Untaint::email

📛 NAME

CGI::Untaint::email - validate an email address

🚀 Quick Reference

Use Case Command Description
Extract and validate an email address from untrusted CGI input my $email = $handler->extract(-as_email => 'emailaddress'); Returns a Mail::Address instance if the input is a valid RFC2822 mailbox format

📑 SYNOPSIS

use CGI::Untaint;
my $handler = CGI::Untaint->new($q->Vars);
my $email = $handler->extract(-as_email => 'emailaddress');

â„šī¸ DESCRIPTION

CGI::Untaint::email input handler verifies that it is a valid RFC2822 mailbox format.

The resulting value will be a Mail::Address instance.

âœī¸ AUTHOR

Tatsuhiko Miyagawa <miyagawa AT bulknews.net>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

📚 SEE ALSO

CGI::Untaint, Email::Valid

CGI::Untaint::email
📛 NAME 🚀 Quick Reference 📑 SYNOPSIS â„šī¸ DESCRIPTION âœī¸ AUTHOR 📚 SEE ALSO

Generated by phpman v4.9.22-1-g1b0fcb4 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-05 02:37 @216.73.216.52
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-pro / taotoken.net / www.chedong.com - original format