Town Crier 1.1 now available on NuGet

Town Crier can now be downloaded from NuGet 🙂

There is now also some built in markdown support (thanks to friism). This provides a convenient way to send HTML emails where possible but with a human readable plaintext alternative whilst only writing one template:

            var factory = new MergedEmailFactory(new TemplateParser());

            var tokenValues = new Dictionary<string, string>
                                      {"name", "Joe"},
                                      {"userid", "123"}

            MailMessage message = factory
                .WithSubject("Test Subject")

To install Town Crier into your project from the Visual Studio Package Console:
install-package towncrier


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s