Wrox Programmer Forums
|
BOOK: Beginning Dreamweaver MX/MX 2004 MX ISBN: 978-0-7645-4404-0; MX 2004 ISBN: 978-0-7645-5524-4
This is the forum to discuss the Wrox book Beginning Dreamweaver MX by Charles E. Brown, Imar Spaanjaars, Todd Marks; ISBN: 9780764544040
Please indicate which version of the book you are using when posting questions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Dreamweaver MX/MX 2004 MX ISBN: 978-0-7645-4404-0; MX 2004 ISBN: 978-0-7645-5524-4 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 19th, 2003, 11:07 AM
Registered User
 
Join Date: Sep 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default forms

Hi I noticed the book doesn't show how to send forms data to an email address. Would it be possible to explain how to send a very simple form (email, comments) using aspMail components. I went to their website, but it only explains how to send email from a page. Your help would be greatly apprecciated. Thanks

 
Old September 19th, 2003, 11:33 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

Well, using the docs on the AspEmail site in combination with the book, it shouldn't be too difficult. Take the following example from the AspEmail website:

Mail.From = "[email protected]" ' Required
Mail.FromName = "Sales Department" ' Optional
Mail.AddAddress "[email protected]", "John Smith"
Mail.AddCC "[email protected]" ' Name is optional
Mail.Subject = "Sales Receipt"

Instead of using these hard coded values, just retrieve them from the form:

Mail.Subject = Request.Form("txtSubject")
Mail.AddAddress Request.Form("txtEmailAddress")

You may need to check these values before you actually send the e-mail to make sure they contain valid information.

Does this help?

Cheers,

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old September 19th, 2003, 04:32 PM
Registered User
 
Join Date: Sep 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks so much for your help!!
I figured it out. I really thank you for your quick response. I have a question about the book. Chapter 13, page 457. Bullet 7. When I click ok...I'm getting the following error message:

"Server behavior was not apply. Could not find a valid xml file that refers to the current server behavior and the current server model."

I'm using a remote server. They meet all the requirements the book mentions. Any ideas? Thanks again...by the way....phenomenal book!! u guys did a great job!!



 
Old September 20th, 2003, 05:15 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

Sorry for answering a little late. Didn't see your post earlier.

I am not quite sure what can cause this error; I haven't run into it myself before. The only references to this problem I found were related to extensions. Did you install any extensions for Dreamweaver?

You may also need to check your Configuation files. Dreamweaver stores quite a lot of settings in XML files in both the Program Files folder as in the Documents and Settings folder. Maybe something got deleted or changed.

Typical helpdesk answer: Try reinstalling (backup your config folders, uninstall, remove the configuration folders and then reinstall); hopefully this will fix things.

Cheers,

Imar

---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Forms and Sub forms Mink Access 1 December 1st, 2004 08:38 AM
Opening forms from other forms Paulsh Access VBA 1 September 30th, 2004 06:54 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.