How do I add my e-mail into a web page on my website so that when someone goes into contast us page it automatically goes straight into my e-mail
How do I add my e-mail into a web page on my website so that when someone goes into contast us page it automatically goes straight into my e-mail
Please watch this tutorial on setting up basic forms. It should give you all the information you need. There is another after it too. http://www.vodahost.com/DemoDemo/bvt..._basicform.htmOriginally Posted by cheryl wyatt
VodaHost
Your Website People!
1-302-283-3777 North America / International
07031847328 / United Kingdom
------------------------
Top 3 Best Sellers
Web Hosting - Unlimited disk space & bandwidth.
Reseller Hosting - Start your own web hosting business.
Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)
cheryl-
Here is a step-by-step tutorial;
http://netisopen.com/computer/TF001/T001.html
This type of mail-to form is independent and does not require an opening of ones e-mail program to send a message.
Post back if you have any questions.
Andy
PHP- is a blast!
D'oh! Andy, thanks, I keep forgetting about your wonderful tutorials! I'll add them to my favourites then I can cut and paste!!Originally Posted by Andy128
VodaHost
Your Website People!
1-302-283-3777 North America / International
07031847328 / United Kingdom
------------------------
Top 3 Best Sellers
Web Hosting - Unlimited disk space & bandwidth.
Reseller Hosting - Start your own web hosting business.
Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)
Evening Amanda-
Not a problem- thanks for the kind words about the tutorials.
We'll see ya on the web!
Andy
PHP- is a blast!
Great tutorial, Andy. Between BV and yours how can I go wrong?
Hi Andy
thanks for the step by step tutorial you gave me and I followed is as best I could however I published the 2 pages, the Contact page with no problem but when I click on the submit button it is not going into my email page, which is working with my domain email address, and my thank you page. I have published my thank you page successfully. I have not made a link on my home page to my thank you page only to my contact page. When I look in the FTP it shows thankyou.php and contact.html which is what you said it should show so what am I doing wrong...?? When I publish my thank you page should it be published with htm?. I am a bit confused having the two pages, since I don't have a clue what I am doing and I am not experienced in creating a website you are helping me lots...
Many Thanks
Cheryl
Cheryl-
You are quite welcome.
Post your URL and I will have a look at it. Until then, double check these;
1. Is your submit button inside the form?
2. Is the form action set to your thankyou.php?
3. Did you name the field(element) that you have them put their E-mail address ( email ) and not e-mail
Andy
PHP- is a blast!
Thanks Andy
here is my URL: cashsurveysr4u.com can you please take a look for me.
Cheryl
Cheryly-
Your contact page is setp up perfect. The thankyou.php is not found. I have a feeling that you saved it as a text or something. Open notepad and open your Thankyou page. Click save as. Now go down to where you see "Save as type" and open that box and sellect "all files". Then where it asks you to name the file inthe "file name" box type-
thankyou.php and save it in your BV folder somwhere. Now "X" out that and go to the BV webbuilding program and open it- choose a blank page.
Now open and connect via the FTP Manager. Click on your thankyou.php file and upload it to your public_html folder.
That should be it and take care of the problem. If you wish- cilck on my profile and send me the thankyou.php file and I will have a look at it also.
But I feel that the only problem is that it wasn't saved as a php file.
Cheers (post back if need help )
Andy
PHP- is a blast!
Cheryl-
Disregard my last post as I was thinking of the FIELD VALIDATION
tutorial which has a seperate php page.
But it is fairly the same. Your thankyou page where you put the php script in the "Body Tag" needs to be saved as php. So- click on page properties and select the extension as php. Save-close and publish.
I believe this may take care of the problem. IF not - post back as I will be up late tonight and will help all I can.
Sorry to have confused you with the other post.
Andy
PHP- is a blast!
Dear Andy
Thanks so much for your help, I have got it working now with your insight on the problem....
Again thanks
Cheryl
Glad to help Cheryl-
Have a great week and I'll see yaon the web!
Andy
PHP- is a blast!
Web address didn't work when I went to look at it. Is it right?Originally Posted by cheryl wyatt
Hi everyone, I was wondering if I could get some help. Everything seems to be setup right, but it doesnt send the email.
This is my current website: http://www.cobrasbistro.com/contact.html
my contact.php has:
Code:<HTML> <HEAD> <TITLE>Succesfully processed your order</TITLE> </HEAD> <BODY> <H2>Thanks for your order!</H2> <?PHP $email = $HTTP_POST_VARS[email]; $mailto = "*************.com"; $mailsubj = "Testing Contact Form"; $mailhead = "From: $email\n"; reset ($HTTP_POST_VARS); $mailbody = "Values submitted from web site form:\n"; while (list ($key, $val) = each ($HTTP_POST_VARS)) { $mailbody .= "$key : $val\n"; } mail($mailto, $mailsubj, $mailbody, $mailhead); ?> </BODY> </HTML>
Also- the encode type should be "multipart/form-data"<?PHP
$email = $HTTP_POST_VARS[email];//change to mail
$mailto = "*************.com";
$mailsubj = "Testing Contact Form";
$mailhead = "From: $email\n";
reset ($HTTP_POST_VARS);
$mailbody = "Values submitted from web site form:\n";
while (list ($key, $val) = each ($HTTP_POST_VARS))
{
$mailbody .= "$key : $val\n";
}
mail($mailto, $mailsubj, $mailbody, $mailhead);
?>
The reason is that your e-mail field on the form is named mail- the php script is looking for email to put in as the mailhead.
Andy
PHP- is a blast!
Thanks for the quick response:
I changed [email] to [mail] but it still isnt working.
Have you checked your spam folder? Sometimes (as has been reported) the mail ends up in the spam folder.
Andy
PHP- is a blast!
Isnt in there. I heard you say something about encoding type, but I didnt understand what that means.
Ive kept trying and trying... nothing seems to help
Below is the html form code on your form page. On the first line, change
the enctype=''" to - enctype="mulitpart/form-data"
Andy<form action="contact.php" method="post" enctype="">
<h3>This form sends an e-mail to W3Schools.</h3>
Name:<br>
<input type="text" name="name"
value="yourname" size="20">
<br>
Mail:<br>
<input type="text" name="mail"
value="yourmail" size="20">
<br>
Comment:<br>
<input type="text" name="comment"
value="yourcomment" size="40">
<br><br>
<input type="submit" value="Send">
<input type="reset" value="Reset">
PHP- is a blast!
I did that, still no email being dispatched. I dont know whatelse to do.
Any word on this?
Hi everyone
I am totally new to this game and am attempting to build a simple website with BlueVoda. I have read the tutorials on forms and think I can manage to set up a simple email contact page.
BUT...what I need help on is this:
On some of my pages I have inserted a button that I have called 'Email Us'. Is it possible to link this button to the contact page so that when people click it it jumps straight to the contact form for them to fill out ?? If so, how do I do this?
Please reply in simple language. I am a simple Aussie and do not understand web-speak!
Thanks
Detours
ID: 62579725
Originally Posted by Detours
Yes you link the buttong to your contact page ..... double click your button that says email us, and a pop up box will appear and you will notice a tab saying link .... click that and type the url in the area there ....
the url will look something like this
http://www.yourdomainname.com/contactform.html
or whatever you named your contact form page .....
hope that helps
another tip for you in the forum, you can start your own thread by clicking "new thread", this will give you your own spot to post your question and have several people comment on your question, this way everyone has their own questions being taken care of in their own thread, know what I mean ....
VodaHost
Your Website People!
1-302-283-3777 North America / International
07031847328 / United Kingdom
------------------------
Top 3 Best Sellers
Web Hosting - Unlimited disk space & bandwidth.
Reseller Hosting - Start your own web hosting business.
Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)
Hi there Holly Lady-eye
Thanks again for your reply and tips. I'll get the hang of it eventually...
I tried double-clicking the button I have inserted but it only brings up a window called 'Button Properties'.
This asks for:
Name:
Value/Label:
and then a choice of 'normal'. 'submit' or 'reset'
There is no tab saying 'link' ??
Thanks
Detours: The button you are using is for forms control and not intended for what you are using it for. I would suggest using a text block that says "EMAIL US", or find an image button you like that says "EMAIL US". Then follow Ladyeyes suggestion on how to link. Hope this helpsOriginally Posted by Detours
Cindy Smentowski
I have used Andy's tutorial and it really is great. Just thought I would put that little bit of information in! as there isnt really anything else I can add!
Forms are a better/ more safer method for having people contact you!
Regards
Teri
There are currently 1 users browsing this thread. (0 members and 1 guests)