use Email::Stuffer::TestLinks;
Email::Stuffer::TestLinks - validates links in HTML emails sent by Email::Stuffer>send_or_die()
When this module is included in a test, it parses http links (<a href="xyz">...</a>) and image links (<img src="xyz">) in every email sent through Email::Stuffer->send_or_die(). Each URI must be get a successful response code (200 range). Page title must not contain 'error' or 'not found' for text/html content. Image links must return an image content type.
To install Email::Stuffer::TestLinks, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Email::Stuffer::TestLinks
CPAN shell
perl -MCPAN -e shell install Email::Stuffer::TestLinks
For more information on module installation, please visit the detailed CPAN module installation guide.