rpkamp/mailhog-client

Getting Message without/empty Subject fails

Closed this issue · 0 comments

SebTM commented

I accidentally send an E-Mail without subject, while getting the last message in a test, mailhog-client fails with this error:

Undefined index: Subject

Should be improved to have at least a better error-message "mailhog-client does not support emails without subject" or something - my preferred solution would be handling mails with empty subject just works like with subject.