So I added about ~40 unit tests just for the redesigned MailTask using the .NET Fake Smtp Server lib, netDumbster. I tried to add all the relevant tests I could think, such as validating different variations of address formats, checking for invalid email addresses, sending to multiple addresses (in the To, CC, BCC, and all three), etc. I also corrected some minor issues that popped up with MailTask while creating the new unit tests. Please let me know if you have questions/comments.
So I added about ~40 unit tests just for the redesigned MailTask using the .NET Fake Smtp Server lib, netDumbster. I tried to add all the relevant tests I could think, such as validating different variations of address formats, checking for invalid email addresses, sending to multiple addresses (in the To, CC, BCC, and all three), etc. I also corrected some minor issues that popped up with MailTask while creating the new unit tests. Please let me know if you have questions/comments.
Tested on the following setups:
Thanks, Ryan