The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> cgiemail
Lundbird
post Jul 9 2008, 03:23 PM
Post #1





Group: Members
Posts: 1
Joined: 9-July 08
Member No.: 6,115



Hi all,

Trying to create a webform for users to contact me. Tired of spam, so I'm told a CGI script will prevent this. Anyway, I like trying to figure this out, but I'm kind of stuck.

Here is the contact form link:

http://trainingwithinindustry.net/contact.html

Here is the success page link:

http://trainingwithinindustry.net/success.html

Here is my email template. I saved it in Unicode. Is that o.k.? I'm 99% sure that it is ASCII, but not 100%: (my email isn't posted like this in the actual file, by the way smile.gif

___________________________________________________________________
To: bryan [at] trainingwithinindustry [dot] net
Subject: TWI Service User Webform

What is your name? [yourname]
Would you like to receive TWI Service Updates via email? [subscribe]
What is your email address? [useremail]
What is your message topic? [topic]
What is your question, comment or suggestion? [comment]

____________________________________________________________________

And here is the error that I am getting.


Error
No email was sent due to an error.

403 No variable substitutions in template

Template filename hidden for security reasons

cgiemail 1.6
____________________________________________________________________

cgiecho works beautifully, cgiemail keeps yielding the previously mentioned error.

If anyone can just put another set of eyes on my ACTION, maybe some of my variables markup, I would appreciate it.

All the best,

Bryan
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Brian Chandler
post Jul 9 2008, 10:49 PM
Post #2


Jocular coder
********

Group: Members
Posts: 2,460
Joined: 31-August 06
Member No.: 43



QUOTE
Trying to create a webform for users to contact me. Tired of spam, so I'm told a CGI script will prevent this.


Sadly no longer true, but starting from a form is probably a good idea. It helps if the script you are using (cgiemail) is well-written, for security.

Anyway the script gives an error, so you need to read the script instructions again carefully. Perhaps this "template" file needs to have variables indicated by $$ signs or whatever - I don't know, because I haven't read the cgiemail instructions.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 19th April 2024 - 04:12 PM