|
-
Mar 18th, 2001, 05:09 PM
#1
Thread Starter
Lively Member
creating ne users
what do i do in my success.asp for to call the values of the texbox fields off the newuser.asp to send an email to admin that includes username surname ect ect??
as my admin gets his email but not with the username value in it???
<%
dim username
username = Request.form("username")
set msg = Server.CreateObject("JMail.SMTPMail")
msg.ServerAddress = "192.168.80.10"
msg.Sender = "[email protected]"
msg.SenderName = "WASP"
msg.AddRecipient "[email protected]"
msg.Subject = "Online Appraisel New User"
msg.Body = "Welldone " & username & " You have been created as a new user"
msg.Execute
set msg = nothing
%>
-
Mar 19th, 2001, 09:26 AM
#2
Member
hai,
i think "username" is not name of the textbox
check the name of the textbox in the newuser.asp
-
Feb 25th, 2003, 02:42 PM
#3
Addicted Member
Or your request.querystring of username is empty.
Stephen Boston
Onward!
 VB6 Pro SP4, VBScript
A+ Certified Techncian.
No matter where you go, there you are.
-
Feb 25th, 2003, 09:23 PM
#4
Frenzied Member
newuser.asp
Code:
<form method="POST" action="success.asp" name="form1">
<input type="text" value="<%=username%>" name="username">
<input type="submit" value="submit" name="cmdSubmit">
</form>
success.asp
Code:
username=request("username")
...rest of your code...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|