Created
June 3, 2013 21:57
-
-
Save thefringeninja/5701817 to your computer and use it in GitHub Desktop.
When you know you've taken it too far..
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bus.Register(new LoggedAttribute().Apply<SendEmail>(message => | |
{ | |
using (var client = new SmtpClient()) | |
{ | |
client.Send(message); | |
} | |
})); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment