Introduction to the Mail Modules

If you examine the "Internet Mail and Utilities" section of CPAN, you'll find a bewildering array of similarly named modules. This is a quick guide to the major components.

Net::SMTP This allows you to interact directly with mail transport daemons in order to send Internet mail via the Simple Mail Transport Protocol (SMTP). The module also provides access to some of the other functions of these daemons, such as expanding e-mail aliases.

MailTools This is a higher-level way to create outgoing e-mail. It uses a variety of local mailer packages to do the grunt work.

MIME-Tools This is a package of modules for creating, decoding, and manipulating Multipurpose Internet Mail Extensions (MIME), commonly known as ...

Get Network Programming with Perl now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.