Skip to content
Loading
asp.net core contact form add multiple data in message body
+2
  • Sachin Singh
    this means values are null.
    how are you fetching these values? 
    +2
  • Marius Vasile
    I even tried with only one value ContactFor.Message and I have the same error
    +2
  • Marius Vasile
    I tried that before, I have error
     
    System.NullReferenceException: 'Object reference not set to an instance of an object.'
    RoSafety.Pages.ContactModel.ContactForm.get returned null.
    +2