Advertisement

03.12.2008 at 04:18PM PDT, ID: 23237070
[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!

9.7

"SendUsing" error with CDO / ASP code

Asked by chumplet in Active Server Pages (ASP), Microsoft IIS Web Server

Tags: ,

I have an older website that I've moved from a Windows 2000 Server to a newer Windows 2003 Server.  Since that move, none of my "send me an email" forms are working.  It appears to be an issue with the older CDONTS dll vs. whatever Win2k3 is using now.  Unfortunately, I'm really not a developer or code guy :(  I didn't write the SendMail code for this page either.

Here's the code as it stands right now.  Any ideas??

Thanks,

Chumplet

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:
<%
 
	if Request.Querystring("isSubmitted") = "yes" then
 
 
		Dim requesttype, name, email, comments
 
		Dim objCDO
		
		Quote=chr(34)
 
 
		requesttype = Request.Querystring("requesttype")
		
		name = Request.Querystring("Name")
		
		email = Request.Querystring("EmailAddress")
		
		comments = Request.Querystring("Comments")
 
 
		Set objCDO = Server.CreateObject("CDO.Message")
 
 
		objCDO.From = "" & email
 
		If requesttype = "technical" then
			objCDO.To = "myemail@domain.com"
		Else
			objCDO.To = "myotheremail@domain.com"
		End If
 
		objCDO.Subject = "Comments from " & name & " (" & email & ")"
 
		dim strHtmlBody 
		strHtmlBody = "<HTML><HEAD><TITLE></TITLE>" & vbcrlf
		strHtmlBody = strHtmlBody+ "<style type=" & Quote & "text/css" & Quote & ">p {font-family: arial;	font-size: 14px;	color: #000000;	line-height: 14px;}</STYLE>" & vbcrlf
		strHtmlBody = strHtmlBody+ "</HEAD>" & vbcrlf
		strHtmlBody = strHtmlBody+ "<body><p><b>Name:  </b><br>" & name
		strHtmlBody = strHtmlBody+ "<br><br>"
		strHtmlBody = strHtmlBody+ "<b>Email: </b><br>" & email
		strHtmlBody = strHtmlBody+ "<br><br>"
		strHtmlBody = strHtmlBody+ "<b>Comments: </b><br>" & comments 
		strHtmlBody = strHtmlBody+ "</p></body></html>"
		objCDO.HTMLBody = strHtmlBody
 
		objCDO.Send
 
		ConfirmMsg = "Your comments have been sent.  Thank you."
 
	end if
 
%>
 
Loading Advertisement...
 
[+][-]03.12.2008 at 05:50PM PDT, ID: 21112319

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 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.12.2008 at 09:59PM PDT, ID: 21113459

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 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.13.2008 at 08:46AM PDT, ID: 21117399

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 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.13.2008 at 09:42AM PDT, ID: 21118087

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 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.13.2008 at 10:17AM PDT, ID: 21118469

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 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.13.2008 at 10:49AM PDT, ID: 21118820

View this solution now by starting your 7-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), Microsoft IIS Web Server
Tags: ASP, "SendUsing" configuration is invalid
Sign Up Now!
Solution Provided By: mgfranz
Participating Experts: 2
Solution Grade: A
 
 
[+][-]03.13.2008 at 12:29PM PDT, ID: 21119916

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 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.13.2008 at 02:23PM PDT, ID: 21121027

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 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628