Example code

G

google_groups3

Hi all. First of all, I am totally new to ASP! I want to create a
webpage that a user can fill in and then press submit. Upon pressing
submit, the server will create an email and then mail me the contents
of the form. I would also like the webpage to automatically get
someones Windows 2000 user id and include that in the email.

I have been googling around and have not been able to find any example
scripts for what I need. So, I am wondering if anyone would be kind
enough to post one.....?

Thanks!
 
S

Stuart Palmer

Why would you want someones OS login name, I have a mate who has a login
'Stuart' and I have a Login 'Stuart', how do you decide which is which?

To create an email you need to look up CDO (or CDONTS) depending on your
hosts OS.

Stu
--The Best way to learn, is to try it yourself--
 
T

Tom Kaminski [MVP]

Hi all. First of all, I am totally new to ASP!

Then let me introduce you to http://www.aspfaq.com/
I want to create a
webpage that a user can fill in and then press submit. Upon pressing
submit, the server will create an email and then mail me the contents
of the form.
http://www.aspfaq.com/show.asp?id=2119
http://www.aspfaq.com/show.asp?id=2026

I would also like the webpage to automatically get
someones Windows 2000 user id and include that in the email.

http://www.aspfaq.com/show.asp?id=2046

--
Tom Kaminski IIS MVP
http://www.microsoft.com/windowsserver2003/community/centers/iis/
http://mvp.support.microsoft.com/
http://www.iisfaq.com/
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
http://www.tryiis.com
 
G

google_groups3

Stuart Palmer said:
Why would you want someones OS login name, I have a mate who has a login
'Stuart' and I have a Login 'Stuart', how do you decide which is which?

To create an email you need to look up CDO (or CDONTS) depending on your
hosts OS.

Stu

The windows user id is unique so I can add it to the page and use it
as part of the audit trail. Everything is Windows 2000 or XP.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
474,159
Messages
2,570,881
Members
47,418
Latest member
NoellaXku

Latest Threads

Top