smsohan / MvcMailer

A Mailer for ASP.Net MVC that forms the Email Body using MVC Views (Razor etc.) following Ruby on Rails ActionMailer style
MIT License
585 stars 176 forks source link

The Mvc.Mailer.UrlHelperExtensions.Abs exception doesn't use the base url parameter in its format string #136

Open meataxe opened 10 years ago

meataxe commented 10 years ago

The Mvc.Mailer.UrlHelperExtensions.Abs exception doesn't use the base url parameter in its format string.

Currently it is: throw new Exception(string.Format("Could not create absolute url for {0} using baseUri{0}", relativeOrAbsoluteUrl, BaseUrl(urlHelper)));

But it should be: throw new Exception(string.Format("Could not create absolute url for {0} using baseUri{1}", relativeOrAbsoluteUrl, BaseUrl(urlHelper)));