Jump to content

Forms and stuff in ASP


Anders Moen

Recommended Posts

How can I make a form which sends an email to my mail?I found some at W3Schools, but I don't think I'm able to use a mailserver. Free host at 1asphost.com and I'm not sure if I can have a database there either.Any free hosts that have ASP?

Link to comment
Share on other sites

How can you make a form inside this tag?
What do you mean?Also, you need a mail server to send mail. You can't send mail without a mail server. It's like saying you want to host a web site but you don't want to use a web server.
Link to comment
Share on other sites

One more question:How can you make a form inside this tag?response.write(" text ")Anyone know??
Are you asking about writing HTML using Response.Write. If thats what you are asking, its straight forward. just the same way you use your HTML tags, except when you need to put double quotes in HTML tags then use / [escape character] with the quotes......
Link to comment
Share on other sites

Actually, VBScript does not have an escape character. You need to use the ASCII value of the quote. Go VB!

Response.write("<input type=" & chr(34) & "text" & chr(34) & " name=" & chr(34) & "input1" & chr(34) ...)

Makes it real easy to read, doesn't it? Javascript, however, does have an escape character. Which is another reason why I always use Javascript in ASP whenever possible.

Link to comment
Share on other sites

Okay...I use that free ASP host brinkster.com, where I've made a mail but I don't quiet understand it because it doesn't properly work. Anyway, do they have a mail server, and if they do, what is the url to it? Like mail.brinkster.com maybe?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...