Kunnskapsbase

How do I create a contact form in ASP.NET?

The following guide will show you how to create a simple contact form on your ASP webhotel.
Form

Right click the icon and select "save destination as.." :  (default.aspx)

This file contains the code for the contact form.

Next you should download the settings file, pick the appropriate file according to the type of wehotel you have.

For private hosting save the following file:  (default.aspx.cs)

For business hosting save the following file:  (default.aspx.cs)

 

Next step is to update the settings file to correspond with your email account: open the default.aspx.cs file in a text-editor.

The bottom illustration shows what the code in the file looks like.

The red arrow points to the grey text CHANGEME@YourDomain which should be replaced with your email addess.
The blue arrow points to the grey text CHANGEME which should be replaced with the password for your email addess. 

When updated, save the file and upload all files to your webhotel.
 

Forklaring


If you would like Surftown to preform this task for you, or if you are in need of any other assistance, please have a look at the paid services we kan offer through our Service Desk Services: https://www.surftown.com/da/service-desk/
Kontakt
Should you not find what you are looking for then feel free to ask our support

Create A Ticket
Service Desk
Står du med en større udfordring, som kræver lidt mere ekspertise og tid end du har til rådighed?

Surftown Service Desk, er en service hvor vi foretager arbejdet for dig. Vores Service desk klarer opgaven for dig.

Gør det for mig