laravel-mail-assertions icon indicating copy to clipboard operation
laravel-mail-assertions copied to clipboard

PHPUnit mail assertions for testing email in Laravel

Results 7 laravel-mail-assertions issues
Sort by recently updated
recently updated
newest added

Currently, the assertions are for the most recent message. It would be nice to be able to specify a specific index in the collection of messages.

enhancement

We could assert that an email was sent on a particular date, though that would mean doing something like setting Carbon's testNow() when sending the email. Thoughts?

enhancement

This one is ambitious, but how cool would it be to have an algorithm to detect the email as spam? I know it's tricky attempting to assign a "SPAM rating",...

enhancement

Need assertions for attachments to do things like... - Number of attachments - File name - Has attachment - Doesn't have a attachment

enhancement