email form subject line

pRS317
avatar
rank newbie

newbie


Posts: 8
Joined: 2008-01-28
Location: Spring Grove, PA

I was wondering how to have the subject of an email form be the same as a user defined entry that will be included in the mailed text. In specific, I want the user's email address to appear as the subject, but also be in the text of the email and only have to be entered in once by the user.

Also, is there a way to have the text show apostrophes instead of the code?

Thanks!

Triumph
Triumph's picture
rank Moderator

Moderator


Posts: 5113
Joined: 2005-02-03
Location: Pennsyltucky, USA

What are you using to send

What are you using to send the email? PHP? ASP? .NET? CGI?

pRS317
pRS317's picture
rank newbie

newbie


Posts: 8
Joined: 2008-01-28
Location: Spring Grove, PA

I'm using FormMail.cgi.

I'm using FormMail.cgi. Didn't realize there were so many ways to submit a form! Do the other methods offer any advantage to a simple form?

Hugo
Hugo's picture
rank Moderator

Moderator


Posts: 12314
Joined: 2004-06-06
Location: London

Sorry to butt in but this is

Sorry to butt in but this is a CSS forum and this is a purely scripting issue and most certainly doesn't belong in 'Beginners CSS'

Moving to 'Off Topic'

Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

jackshepherd
jackshepherd's picture
rank newbie

newbie


Posts: 5
Joined: 2008-04-29

personally i'd go with PHP

personally i'd go with PHP for a simple sendmail script if your host supports it.. just google php email form - i was new to all this all of about a month ago and php seemed to be the easiest option form html form handling... it's all very human readable 'n' all.

burlster
burlster's picture
rank Leader

Leader


Posts: 622
Joined: 2007-05-31
Location: Bournemouth

PHP is the way to go

~Agreed...

I really dislike using CGI. I inherited the form-mail cgi script when I started working at the company I'm currently with. I dislike it a lot. There's a great page out there telling you about a PHP one which is easy to implement.

Here, this is the one I used. http://www.ibdhost.com/contact/ and I've used it on my site so you can have a look at burlster.com if you want to see it in action!!

Cheers,

J

Have YOU said Hello yet?
The CSSCreator Hello Thread