Eonasdan

Results 100 comments of Eonasdan

In the controller I'm doing this: ``` UserMailer.PasswordReset(userEmail, token).Send(); ``` UserMailer: ``` public interface IUserMailer { [...] MvcMailMessage PasswordReset(string emailTo, string passwordToken); } ``` Stack: ``` System.ArgumentException occurred HResult=-2147024809 Message=Value...

I took everything out of the View I was using to be this: ``` You (hopefully) have requested a password reset for [..]. Please proceed to the password reset page...

yup with the same error message On Mon, Nov 19, 2012 at 10:53 AM, SM Sohan [email protected] wrote: > Is this still failing after things are removed from the view?...

this line needs to be removed ``` ``` and this ``` ```

I still randomly get this issue. I can send the same message over and over and sometimes it works and other times it doesn't

spam? No, I'm getting ``` [NullReferenceException: Object reference not set to an instance of an object.] ``` I'm testing this on a local dev machine currently and I'm using an...

when trying to step through this ``` ViewData.Model = entity; var mailer = Populate(x => { x.Subject = "blah"; x.ViewName = "foo"; x.To.Add(""); }); ``` it works, but if just...

I now get ``` System.ArgumentException occurred HResult=-2147024809 Message=Value does not fall within the expected range. Source=mscorlib StackTrace: at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode) at System.Web.Hosting.IIS7WorkerRequest.GetServerVariableInternal(String name) at System.Web.Hosting.IIS7WorkerRequest.GetServerVariable(String...

shameless bump. any idea's @walkindude or @smsohan?

changing the `MasterName` from `_Layout` to `/UserMailer/_Layout` caused the error to stop occurring but now the body of the email is empty ``` public UserMailer() { MasterName = "/UserMailer/_Layout"; }...