?
Solved

ASP Contact Form

Posted on 2009-07-07
5
Medium Priority
?
401 Views
Last Modified: 2013-11-09
Can someone please help me create an ASP contact form that functions.  I have tried several samples and get get one to work.
0
Comment
Question by:medpipes
[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
5 Comments
 
LVL 5

Expert Comment

by:rgc6789
ID: 24796592
Ok, I can, but I need a little more info. What are you trying to do with the form? What is not working for you?
0
 
LVL 29

Accepted Solution

by:
coreybryant earned 672 total points
ID: 24796756
There are a few components like JMail - but you need to let us know which one you are trying to work with.  You also need to check if SMTP authentication is needed or can be bypassed.
0
 
LVL 9

Assisted Solution

by:djpazza
djpazza earned 664 total points
ID: 24798831
enter you smtp server address (mail.yoursite.com) and change the from and to fields and you should see the attached example send an email.
<%
Dim ObjSendMail
Set ObjSendMail = CreateObject("CDO.Message")
 
'This section provides the configuration information for the remote SMTP server.
 
ObjSendMail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 'Send the message using the network (SMTP over the network).
ObjSendMail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserver") ="mail.yoursite.com"
ObjSendMail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
ObjSendMail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpusessl") = False 'Use SSL for the connection (True or False)
ObjSendMail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60
 
ObjSendMail.Configuration.Fields.Update
 
'End remote SMTP server configuration section==
 
ObjSendMail.To = "someone@someone.net"
ObjSendMail.Subject = "this is the subject"
ObjSendMail.From = "someone@someone.net"
 
' send a text email
'ObjSendMail.HTMLBody = "this is the body"
ObjSendMail.TextBody = "this is the body"
 
ObjSendMail.Send
 
Set ObjSendMail = Nothing
%>

Open in new window

0
 
LVL 3

Assisted Solution

by:harris9999
harris9999 earned 664 total points
ID: 24821929
Lot of useful information and examples here:

http://www.w3schools.com/asp/asp_send_email.asp
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
The purpose of this video is to demonstrate how to insert an Iframe into WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Open Page or Post…
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…
Suggested Courses

770 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