LiveWire Network Peer Answers Peer Support Teen Forums Tech Forums College Forums 469 users online 225453 members 638 active today Advertise Here Sign In
TeenCollegeTechPhotos | Quizzes | LiveSecret | Memberlist | Dictionary | News | FAQ
Member Spotlight
Eos
Favs: TrueBlood <3
Mood: Wishful
You have 1 new message.
Emergency Help
Until you sign up you can't do much. Yes, it's free.

Sign Up Now
Membername:
Password:
Already have an account?
Invite Friends
Active Members
Groups
Contests
Moderators
3 online / 33 MPM
Fresh Topics
  LiveWire / Technical Forums / Programming & Application Development / Adding Reply

Quoting Post
Archived Topic: It will not be bumped to the top of the forum.
Topic ASPX help
Membername   Not a member? Sign Up Free (takes 20 seconds)
Password   Forgotten your password?
Post

Font:   Size:   Color:

FAQ Keyword Search:
Post Options
Favorites Manager
Notify me of new replies to this topic by email
Notify me of new replies to this topic by private message
Original Post
Link01 Posted at 6:35 am on May 12, 2008
I have to make a website in aspx

How would i make it send content of text box to an e-mail?

Replies
i who have nothing Posted at 6:51 am on May 12, 2008
create a form like so
Code:

<form method="GET" action="emailthis.asp">
Name <input type="text" name="Name"/>
Message <input type="text" name="Message"/>
<input type="submit" />
</form>

then create "emailthis.asp" and in it the code should should look something like

Code:

<%
Dim name, message
name = Request.QueryString("Name")
message = Request.QueryString("Message")

Set Mail=Server.CreateObject(“CDONTS.NewMail”)
Mail.To=”me@mydomain.com”
Mail.From=”test@whatever.com”
Mail.Subject= name
Mail.Body= message
%>

p.s. i have no idea if that will work since i've never used ASP before.