Advertisement

01.31.2008 at 09:17AM PST, ID: 23127017
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

4.6

Trying to create a script to mail a forms to an email address in asp or java (needs to run in IIS)

Asked by bhnmi in Active Server Pages (ASP), Web Languages/Standards, JavaScript

Tags: ,

Hello all,
First let me just apologize for my lack of skill, I have just recently(Last week) really started trying to learn how to program.

Now to the goodies. I am trying to code a simple script that will mail a persons name, email address and some text to an email address.

This is for my terminal server, so when my remote users have issues they can launch an IE shortcut from within their session and report any issues they are having. It will be a single page with some possible
links to some documentation for the end user to maybe read before calling me when they cannot print (fat chance).

I am going to preferably host it on the Terminal Server its self in IIS. I have attach a script and code I got from a template out on the internet, but still cannot seem to get it to work.

Thanks in advance for the help!! Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
<%@ Page Language="VB" EnableSessionState="False"  
EnableViewState="False" Trace="False" Debug="False"%>
<%@ Import Namespace="System.Web.Mail" %>  
<script language="VB" runat=server>  
 
Sub Page_Load(Sender as Object, E as EventArgs)  
   If Page.IsPostBack Then
       lblResponse.Text = "Your problem has been reported."
   End If
End Sub  
   
Sub btn_Click(sender as Object, e as System.EventArgs)
 If  Request.Form("Email") <> "" Then
   Dim objMail As New MailMessage()
   objMail.From = Request.Form("Email")
   objMail.To = "itsupport@abc.com"
   objMail.Subject = Request.Form("Subject")
   objMail.Body = Request.Form("Message")
   objMail.BodyFormat = MailFormat.Text
   SmtpMail.SmtpServer = "myexchangeserver.local"
   SmtpMail.Send(objMail)
 Else
   lblResponse.Text = "Please enter an email address."
 End If
End Sub
 
</script>  
<html>
<head>
<style>
.main {font-family:Verdana; font-size:12px;}
.title {font-family:Verdana; font-size:18px; font-weight:bold;}
</style>
</head>
<body>
<span class="title" align="center">Use this for to report problems to the IT support team.</span>
 
<br><br><asp:Label class="main" id="lblResponse"  
runat="server"/>
 
<form method="POST" name="MainForm" runat="server">
<table>
 <tr>
   <td class="main" align="right">Email:</td>
   <td class="main"><input type="text"  
   class="main" name="Email" value=""></td>
 </tr>
 <tr>
   <td class="main" align="right">
   Subject:</td>
   <td class="main"><input type="text"  
   class="main" name="Subject" value=""></td>
 </tr>
 <tr>
   <td class="main" align="right"  
   valign="top">Problem:</td>
   <td class="main">&nbsp;</td>
 </tr>
 
 
 <tr>
   <td class="main"><input name="Submit" type="Submit"  
   id="Submit2" value="Send" onserverclick="btn_Click"  
   runat="server" /></td>
   <td class="main">&nbsp;</td>
 </tr>
</table>
<span class="main">
<textarea name="Message"  
   cols="50" rows="8"></textarea>
</span>
</form>
<span class="main"></span>
</body>
</html>
 
 
</body>
</html>
[+][-]01.31.2008 at 09:22AM PST, ID: 20788736

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.31.2008 at 09:28AM PST, ID: 20788793

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.31.2008 at 09:57AM PST, ID: 20789145

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.31.2008 at 10:00AM PST, ID: 20789165

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.31.2008 at 11:08AM PST, ID: 20789873

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.31.2008 at 11:16AM PST, ID: 20789961

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.31.2008 at 11:44AM PST, ID: 20790247

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.31.2008 at 12:48PM PST, ID: 20790939

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.31.2008 at 01:00PM PST, ID: 20791067

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.31.2008 at 01:05PM PST, ID: 20791120

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.31.2008 at 01:15PM PST, ID: 20791231

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.31.2008 at 01:34PM PST, ID: 20791436

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.31.2008 at 02:24PM PST, ID: 20791935

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.31.2008 at 11:56PM PST, ID: 20794856

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Active Server Pages (ASP), Web Languages/Standards, JavaScript
Tags: ASP, IE
Sign Up Now!
Solution Provided By: Smart_Man
Participating Experts: 1
Solution Grade: A
 
 
[+][-]02.01.2008 at 06:49AM PST, ID: 20796924

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.01.2008 at 07:09AM PST, ID: 20797096

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.01.2008 at 07:17AM PST, ID: 20797160

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.01.2008 at 07:30AM PST, ID: 20797327

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.01.2008 at 07:37AM PST, ID: 20797414

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.01.2008 at 08:48AM PST, ID: 20798189

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.01.2008 at 08:54AM PST, ID: 20798258

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.01.2008 at 12:22PM PST, ID: 20800282

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-44 / EE_QW_2_20070628