Subject: | How do I test if email message is not valid? |
Hi @Ether,
Looking at the existing unit test.
https://github.com/moose/MooseX-Types-Email/blob/master/t/01-email-abstract.t
It takes a valid email message as string and validates it.
However If I pass an invalid message i.e. message with no "To" and "From", it is still happy.
Am I missing anything here?
Thanks for the great work.
Best Regards,
Mohammad S Anwar