Solved

someone could help me to correct an error when send mail with CDO

Posted on 2012-04-12
7
387 Views
Last Modified: 2012-08-14
hi

i'm developing a html page , and i need to send a form message via CDO , b ut i have asp error .

this is may code, and i attach teh screen error

someone could help me please

thanks a lto

<%

If request("submit") <> "" THEN
Set objEMail = Server.CreateObject("CDO.Message")
Set objConfig = Server.CreateObject("CDO.Configuration")
Set Confi = objConfig.Fields
Confi("http://schemas.microsoft.com/cdo/configuration/sendusing") = 1
Confi("http://schemas.microsoft.com/cdo/configuration/smtpserverpickupdirectory") = "C:inetpubmailrootpickup"
Confi.Update
Set objEMail.Configuration = objConfig
objEMail.To = "antonio.enriquez@tecplay.com.mx"
objEMail.From = Request("from")
objEMail.Subject = Request("subject")
objEMail.TextBody = Request("message")
objEMail.Send
Set objEMail = Nothing
Response.Write("Message Sent")
Else
%>

<form method="post" action="this.asp">
From Email: <INPUT type=text name="from"><br />
Subject: <INPUT type=text name="subject"><br />
Message: <TEXTAREA name="message" rows=10 cols=40></TEXTAREA><br />
<INPUT type="submit" value="Send" name="submit">
</form>
<%
End If
%>
ASP-ERROR.JPG
index-8.html
0
Comment
Question by:tenriquez199
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
7 Comments
 
LVL 8

Expert Comment

by:X-treem
ID: 37838544
the error you are getting is a file not found error (404)
is the file this.asp in the location that is shown in the error message?
is the security on it ok?
0
 
LVL 19

Expert Comment

by:Bardobrave
ID: 37838585
The file this.asp is not on your IIS server on the path /constructora1/this.asp or the internet user hasn't permission to access that file.
0
 
LVL 1

Author Comment

by:tenriquez199
ID: 37838612
hi X-treem

thanks your comment

i unknow wich is that file this.asp

comment made you , i'm develop a mail form send via asp, and i copy this code from a page, i dont know what not to be included in this file

could yo have some idea?

tah pagw where i copy this code is:

http://www.webdesign.org/web-programming/asp/form-mail-via-cdosys.8460.html

thanks your help
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Accepted Solution

by:
tenriquez199 earned 0 total points
ID: 37839886
hi

i solve it with tool provided by freecontactform.com

thanks

http://www.freecontactform.com/free.php
0
 
LVL 1

Author Comment

by:tenriquez199
ID: 37854322
I've requested that this question be closed as follows:

Accepted answer: 0 points for tenriquez199's comment #37839886

for the following reason:

i solve it with tool provided by freecontactform.com<br /><br />thanks<br /><br /><a href="http://www.freecontactform.com/free.php" target="_blank">http://www.freecontactform<wbr />.com/free.<wbr />php</a>
0
 
LVL 1

Author Comment

by:tenriquez199
ID: 37854323
hi

as you see i found a tool who solve my dude

thanks a lot
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
HTML5 storage and web apps 11 105
Vbscript Help Needed - Protecting Queries from special characters / SQL Injection 11 36
html5 1 40
Pass a js value to an html form 5 39
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

742 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question