Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 542 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 542 Bytes

SYNOPSIS

use Email::Stuffer::TestLinks;

NAME

Email::Stuffer::TestLinks - validates links in HTML emails sent by Email::Stuffer>send_or_die()

DESCRIPTION

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.