form troubles please help!! :(
Hi,
I am having real troubles creating a simple form that will submit info to an email address without opening outlook express or another email client.
Basically I want a customer to be able to type an email address into a textbox and upon clicking submit, having that email address sent to my email address. I know this is possible but dont know how to do it.
It is so they can suscrible to a 'mailing list'
PLEASE HELP
Thanks in advance:p
Regards
Jonathan Walmsley
www.ringtones4u.com
Suzanne posted this at 13:53 — 1st May 2003.
She has: 5,507 posts
Joined: Feb 2000
You need a server-side script (in the action attribute) to have a form submit information to your email address.
What server-side languages do you have available on your server?
The Webmistress posted this at 13:58 — 1st May 2003.
She has: 5,586 posts
Joined: Feb 2001
A lot of hosting companies will have a script for you to use. I'd contact them and ask what form-handler or formmail script they allow you to use and what is the path you need to put into the 'action' of the form.
Julia - if life was meant to be easy Michael Angelo would have painted the floor....
ringtones4u.com posted this at 14:00 — 1st May 2003.
They have: 27 posts
Joined: Apr 2003
Thanks for that. Ive tried finding some and my hosting company provides me with one that sort of does the trick but not how I want it to. The server languages are:
Full CGIBin support
C++
PHP 4.04
TCL
Python
ePerl
Perl 5.xx
MySQL
Ive tried formmail.pl but thats way too complex for me!!!
Regards
Jonathan Walmsley
www.ringtones4u.com
The Webmistress posted this at 14:10 — 1st May 2003.
She has: 5,586 posts
Joined: Feb 2001
FormMail is probably the easiest to use. What does your host offer and why doesn't it work for you?
ringtones4u.com posted this at 14:24 — 1st May 2003.
They have: 27 posts
Joined: Apr 2003
My host offers a similar script to formMail and it does send info automatically when someone submits data. What it is tho is that I have the data sent to [email protected] which is set with an autoresponder which is then ment to send an email back to the person who just submitted the data confirming what they have just done. Thing is the form just submitts the data and doesnt recognise it as an email so it wont autorespond. If you were to look at my site you would see what I am getting at!!! The formMail I used earlier is not in the script I think its just a simple mailto at the min. Dont know if what I just said clears things up im not the best at explaining!!!
Regards
Jonathan Walmsley
www.ringtones4u.com
andy206uk posted this at 15:19 — 1st May 2003.
He has: 1,758 posts
Joined: Jul 2002
knock something up in PHP... its dead easy and you can make the php script send the email to you and the user.
If you want some example code i'll happily email it to you, or failing that give me the URL of the form and i'll do it for ya!)
(although it won't be until tomorrow cos i'm out on the p*ss tonight. )
Oh yeah... i also need to know what you want in the email to you (exactly how you want the layout) and what you want in the email to the client) and the email address that you want your copy of the form to go to.
Andy
BrandBlast posted this at 19:41 — 1st May 2003.
They have: 21 posts
Joined: Apr 2003
Jonathan,
You're not alone in not liking Matt's Formmail as it's commonly known, there is however a PHP alternative which offers you all the features without any of the headaches, I've included the description and url for you to grab you very own special copy of Jack's FormMail.php.
DESCRIPTION
What is FormMail.php?
"Jacks FormMail.php" is a generic WWW form to e-mail gateway, which will parse the results of any form and send them to the specified user. This script has many formatting and operational options, most of which can be specified through the form, meaning you don't need any programming knowledge or multiple scripts for multiple forms. This also makes FormMail the perfect system-wide solution for allowing users form-based user feedback capabilities without the risks of allowing freedom of CGI access. There are several downloading options available below and more information on this script can be found in the Readme file.
http://www.dtheatre.com/scripts/formmail?PHPSESSID=f7da93b2becbec75830a9e4b696d7ed9
Sorry Matt but your script is just a pain in the a**
Alessandro DeBarros
Webmaster
BrandBlast.com - Hosting * Domains * Templates
http://www.brandblast.com
Busy posted this at 21:17 — 1st May 2003.
He has: 6,151 posts
Joined: May 2001
hotscripts.com also has some php mail scripts, try use one with validation
Renegade posted this at 05:56 — 2nd May 2003.
He has: 3,022 posts
Joined: Oct 2002
Well you know what they say:
"COINCIDENCE happens"
My friend wants some formmail PHP code that I made, I'll upload to my server sometime soon (after browsing the rest of the forums and put up the link
OK, The files have been uploaded they can be found at this link:
http://chengeu.krayup.com/temp/contact.phps
This is the actual form
http://chengeu.krayup.com/temp/mail.phps
This is the PHP code to go with it.
If you would like to see this in action then it can be found at my website here:
http://chengeu.krayup.com/index.php?page=contact
Hope it was what you were looking for
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.