Categories
C# / .NET Program Tutorial

How to send email using C# Razor Syntax (with Sample Code)

Step 1: Create the CSHTMLfile Step 2: Create a form with similar to shown below. Step 3: ¬†Use IsPost() to check whever¬†your webpage gets refreshed. i.e if IsPost() is false, your page have not refreshed. So, no need to perform any action. If IsPost() is true, your page is refreshed. You can get the values […]