Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
1 answer
2k views

Provide multiple SendCompleted callbacks to SmtpClient

I have an Email class that has a Send method that optionally takes an SmtpClient and sends an email asynchronously using SendAsync. If no SmtpClient is supplied to this method, it instantiates a ...
user avatar