NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page adding to database and emailing?

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search
5 members in live chat ~  


Closed Thread
 
LinkBack Thread Tools
Old 07-12-2004, 02:00 AM THREAD STARTER               #1 (permalink)
New Member
Join Date: Jul 2004
Location: Leeds
Posts: 5
woody22 is an unknown quantity at this point
 



Question adding to database and emailing?


ive created an online form which sends information to an access database once the user has filled out the form on the web.

However as well as the information going to the database i also want it to email a relevant person too - is this possible????

Many thanks

Woody
__________________
Loftus and Speight R.I.P - Your in our hearts and minds forever lads
woody22 is offline  
Old 07-12-2004, 03:10 AM THREAD STARTER               #2 (permalink)
New Member
Join Date: Jul 2004
Location: Leeds
Posts: 5
woody22 is an unknown quantity at this point
 



Ive found out i need to use the CDONTS feature - ive implemented the following code but it returns a page not found error when i go to my confirmation asp page. Any help please?
????: NamePros.com http://www.namepros.com/programming/38413-adding-to-database-and-emailing.html

<%
Set objCDOMail = Server.CreateObject("CDONTS.NewMail")
objCDOMail.To = "pworsnop@wickersley.net"
objCDOMail.From = "Staff@wickersley.net"
objCDOMail.Subject = FP_SavedFields("MyReason")
For Each item in FP_SavedFields
strBody = strBody &amp; item &amp; ": " &amp; FP_SavedFields(item) &amp; VbCrLf
Next
objCDOMail.Body = strBody
objCDOMail.BodyFormat = 1
objCDOMail.MailFormat = 1
objCDOMail.Send
Set objCDOMail = Nothing
%>
__________________
Loftus and Speight R.I.P - Your in our hearts and minds forever lads
woody22 is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


 
All times are GMT -7. The time now is 02:25 PM.

Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger