kirviq / dumbster

Dumbster - a simple fake SMTP server for unit testing
Apache License 2.0
71 stars 38 forks source link

test bcc ? #4

Open jonenst opened 6 years ago

jonenst commented 6 years ago

It doesn't seem possible to test for bccs. would it be possible to implement the idea at https://sourceforge.net/p/dumbster/feature-requests/6/ ? The patch doesn't apply cleanly (a bit better with more fuzz), but it seems simple.

The idea is to add a getRecepients method to email that returns all the addresses given by the RCPT TO command.

Cheers, Jon

LBoraz commented 4 years ago

also other Headers are missing (for example Sender) from the SmtpMessage and it's not clear if they will be available when sending to a real server. Why is this information removed by the fake smtp?