Andrew Davey
Andrew Davey
Perhaps look at http://aboutcode.net/postal/create-mail-message.html And then do something like: http://stackoverflow.com/questions/1264672/how-to-save-mailmessage-object-to-disk-as-eml-or-msg-file You can then open the `.eml` file in Outlook.
You can create an instance of `EmailService` using the constructor that accepts an `IEmailViewRenderer`. `EmailViewRenderer` has a property called `EmailViewDirectoryName` that you can assign to a name other than "Emails"....
Is Postal's reference to MVC incorrect? The following is copied from Postal.Mvc5.csproj: ``` False ..\..\packages\Microsoft.AspNet.Mvc.5.1.2\lib\net45\System.Web.Mvc.dll ``` SpecificVersion is false! Perhaps I'm misunderstanding something here. Do I really have to release...
Have you tried adding/updating the assembly binding redirect in your `web.config`? ``` xml ... .. ```
Assuming your strongly typed model inherits from `Email`, can you just set the `ViewName` property?
Have you followed the example here: http://aboutcode.net/postal/outside-aspnet.html ?
There's not a simple hook for this, however, it's possible. Implement the `Postal.IEmailParser` interface and delegate the implementation to an instance of `Postal.EmailParser`. Transform the resulting `MailMessage` as required before...
Have you tried adding this header to your view: ``` Content-Type: text/html; charset=utf-8 ```
If someone would like to volunteer a pull request, I think the code to fix is near here: https://github.com/andrewdavey/postal/blob/master/src/Postal/EmailParser.cs#L132
Pulled master. Built Release. Now when creating the context I get a TypeLoadException: ``` Could not load type 'IronJS.BoxedValue' from assembly 'IronJS, Version=0.2.1.0, Culture=neutral, PublicKeyToken=null' because it contains an object...