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.