Advertisement

06.26.2008 at 09:59PM PDT, ID: 23520655
[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" configuration value is invalid error

Asked by max7 in Active Server Pages (ASP), Microsoft IIS Web Server, Simple Mail Transfer Protocol (SMTP)

Tags:

Greetings,

I have written a simple form to email script and I've been successful with this in the past but for some reason I'm getting the following error upon submitting the form:

CDO.Message.1 error '80040220'
The "SendUsing" configuration value is invalid.
/contactusag.asp, line 29

Below is my asp script I'm using.  Is this error related to the form fields not matching my script, improper configuration of my SMTP, both or something else?
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:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
 
<body>
 
<% 
Dim strMessage
 
strMessage = strMessage & "Name = " & Request.Form("name") & vbCrLf
strMessage = strMessage & "Phone = " & Request.Form("phone") & vbCrLf
strMessage = strMessage & "Email = " & Request.Form("email") & vbCrLf
strMessage = strMessage & "Email Confirm = " & Request.Form("email_confirm") & vbCrLf
strMessage = strMessage & "Foundby = " & Request.Form("through") & vbCrLf
strMessage = strMessage & "Comments = " & Request.Form("comments") & vbCrLf
 
Set objMail = CreateObject("CDO.Message") 
 
With objMail
  .Subject = "Contact Form Data"
  .From = "anyemail@email.com"
  .To = "anyemail@email.com"
  .Cc = "anyemail@email.com"
  .TextBody = strMessage
  .Send 
End With
 
Set objMail = Nothing
 
response.Redirect("thanks.htm")
%>
 
</body>
</html>
 
 
[+][-]06.26.2008 at 11:09PM PDT, ID: 21881253

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

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

 
[+][-]06.26.2008 at 11:11PM PDT, ID: 21881260

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

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

 
[+][-]06.27.2008 at 01:53AM PDT, ID: 21881856

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.

 
[+][-]06.27.2008 at 01:57AM PDT, ID: 21881867

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.

 
[+][-]06.27.2008 at 08:06AM PDT, ID: 21884538

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), Microsoft IIS Web Server, Simple Mail Transfer Protocol (SMTP)
Tags: ASP form to email, CDOSYS, SMTP
Sign Up Now!
Solution Provided By: hielo
Participating Experts: 3
Solution Grade: A
 
 
 
Loading Advertisement...
20081112-EE-VQP-44 / EE_QW_2_20070628