Home | Advertising Info73 USERS CURRENTLY ONLINE   
PowerASP
   Site Search Contact Us Wednesday, January 22, 2025  


Self Submitting "Contact Us" Form Using CDOSYS





Because there have been many requests for something like this, I created a rather slick working example of a one page  "Contact Us" form that you can download and use on your web site..

It looks like this:





This is a one page self submitting form that you can edit to look however you want.
This has built in server side form validation.
This sends the email using CDOSYS with a remote mail server.
See our article on CDOSYS for more information on that

Get The code for this code by clicking here.

The only 3 values you need to edit are in blue on this page and are near the top of the code.
They are your email server, your email address, and your email address password.
You need that info because this will be sending SMTP authenticated emails.

<% 
' Edit these 3 values accordingly
smtpserver = "mail.yourserver.com"
youremail = "youremail@yourserver.com"
yourpassword = "yourpassword"

%>

 

Related Articles
Sending email using CDOSYS ( THE REAL DEAL )

Send ASP Email VIA GMail
Using the CDONTS component to send email from ASP pages
 

   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright © 1998 - 2025 PowerASP.com and Christopher J. Williams
Banner ads ,other site logos, etc are copyright of their respective companies.
STATS Unless otherwise noted - All Rights Reserved.

Active Server Pages ASP a directory of ASP tutorials applications scripts components and articles for the novice to professional developer. CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspclassifieds.com, www.powerasp.com,www.cjwsoft.com,www.aspphotogallery.com,www.codewanker.com,www.aspprotect.com,www.aspbanner.com