Skip to main content
Participating Frequently
February 1, 2007
Answered

Submitting form and generating an email?

  • February 1, 2007
  • 1 reply
  • 224 views
Is there any way to generate an email with the form information when a form has been submitted (insert to database)? And would like to put code in an include file so my email address doesn't show when 'view source' is viewed. Is this possible? Again - new - layman terms 😄 - Thanks!
This topic has been closed for replies.
Correct answer Newsgroup_User
Yes it is possible. Simple locate the part in your page code that handles
the insert and then locate the line that redirects to the success page. Now
place your mailing code above the redirect.

The code in the insert/email block is executed on the server and never sent
to the browser so view source will not show anything of your address.

--
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver

Valleybiz Internet Design
www.valleybiz.net

"Jeney" <webforumsuser@macromedia.com> wrote in message
news:eptdod$ric$1@forums.macromedia.com...
> Is there any way to generate an email with the form information when a
> form has
> been submitted (insert to database)? And would like to put code in an
> include
> file so my email address doesn't show when 'view source' is viewed. Is
> this
> possible? Again - new - layman terms :D - Thanks!
>


1 reply

Newsgroup_UserCorrect answer
Inspiring
February 1, 2007
Yes it is possible. Simple locate the part in your page code that handles
the insert and then locate the line that redirects to the success page. Now
place your mailing code above the redirect.

The code in the insert/email block is executed on the server and never sent
to the browser so view source will not show anything of your address.

--
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver

Valleybiz Internet Design
www.valleybiz.net

"Jeney" <webforumsuser@macromedia.com> wrote in message
news:eptdod$ric$1@forums.macromedia.com...
> Is there any way to generate an email with the form information when a
> form has
> been submitted (insert to database)? And would like to put code in an
> include
> file so my email address doesn't show when 'view source' is viewed. Is
> this
> possible? Again - new - layman terms :D - Thanks!
>