Forums

This topic is locked

smart mailer script

Posted 06 Jun 2006 02:41:18
1
has voted
06 Jun 2006 02:41:18 Howard Jones posted:
I just installed smart mailer into Dreamweaver MX. After some playing around, I am able to get the form to send an email to me.

I cannot, however seem to get the scripting to work. If I put

##(Request.Form("field1")##
contents

I get an email back which has the text "contents" included in the body of the email. I know I am missing something simple, but I don't have a clue where to look for the answer. Help......

Replies

Replied 06 Jun 2006 11:14:28
06 Jun 2006 11:14:28 Patrick Woldberg replied:
Did you follow the tutorial www.dmxzone.com/showDetail.asp?TypeId=2&NewsId=5626&LinkFile=tutorials/mail_onerecipient/index.htm

Seems that Request.Form("field1" wasn't filled, what kind of form do you use?

--------------------------------------------------
Patrick Woldberg
Web Developer at Dynamic Zones
Administrator at DMXzone.com, FLzone.net, FWzone.net and DNzone.com
--------------------------------------------------
Replied 06 Jun 2006 16:11:46
06 Jun 2006 16:11:46 Howard Jones replied:
I followed the tutorial as precisely as possible.

I used the standard form function in Dreamweaver MX. That is, I did an insert form and then proceeded to do an insert form text field and insert form button for the "submit" function. The form I am using is just one text field at this time to keep it simple. I will expand on this once I get past this headache. I am getting the email sent to me. So, I assume I am missing some set up or switch on the form text field that the email asp is not grabbing the data.

I have not found anything which gives me the syntax on the script lines. So, It is possible I have some error there too.

I am not writing these to a db. I am simply filling the form on line and then, hopefully, sending that data via an email for notification.

Thanks for the response. Any ideas?

Replied 08 Jun 2006 11:37:30
08 Jun 2006 11:37:30 Patrick Woldberg replied:
Have you setup Smart Mailer on form submit and not at page load? Could you paste the code

--------------------------------------------------
Patrick Woldberg
Web Developer at Dynamic Zones
Administrator at DMXzone.com, FLzone.net, FWzone.net and DNzone.com
--------------------------------------------------

Reply to this topic