Lines 232-238
subtest 'send_or_die() tests' => sub {
Link Here
|
232 |
'to@example.com', 'cc@example.com', |
232 |
'to@example.com', 'cc@example.com', |
233 |
'bcc_1@example.com', 'bcc_2@example.com' |
233 |
'bcc_1@example.com', 'bcc_2@example.com' |
234 |
], |
234 |
], |
235 |
'If explicitly passed, "to" is preserved' |
235 |
'If "to" is not explicitly passed, extract recipients from headers' |
236 |
); |
236 |
); |
237 |
is( $email->header_str('Bcc'), undef, 'The Bcc header is unset' ); |
237 |
is( $email->header_str('Bcc'), undef, 'The Bcc header is unset' ); |
238 |
}; |
238 |
}; |
239 |
- |
|
|