Home | Advertising Info118 USERS CURRENTLY ONLINE   
   Site Search Contact Us Tuesday, May 23, 2017  
 
 







DISCUSSION ARCHIVES
DISCUSSION ARCHIVES 2
DISCUSSION ARCHIVES 3
BLOG

 
Try a free httpZip trial now and compress for less!


We didn't realize
the site was so popular.

Other Stuff
 
 


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 - 2017 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 source code database MS SQL MS Access .mdb adovbs.inc cookies calendar codes sql commands scripts asp programming tutorials iis web server components 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