rjbs/Email-Stuffer

do not treat empty headers as error?

Closed this issue · 2 comments

rjbs commented

Kristopher Matthews wrote at 2013-08-30T12:49:54:

> If $subject is q{}, ->subject() returns undef. The code for subject() in
> Email::Stuffer is:
> 
> $self->{email}->header_str_set(Subject => shift) ? $self : undef;

Seems like a questionable decision that should be reviewed.

Per email conversation, I believe rjbs decided to keep this handling as is. :)

rjbs commented

Then I'll close this!