Hi all, Originally I wrote this website in PHP because Iw as going to create 5 different menus, etc. Anyway a few of the pages are still in progress but I am trying to get the contact page to work. I have a feeling it's not because I wrote it in "PHP" and I have install some sort of PHP something or other on my hosting service (ipage.com) and it's unavailable to me. What's the easiest way to get this to submit the form info to my email address? Thanks in advance, here's the site Here's the godforsaken code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Language" content="en-us" /> <meta name="author" content="amanda bruce design" /> <meta name="copyright" content="copyright 2010 - amanda bruce design" /> <title>amanda bruce design | contact | houston tx usa</title> <meta name="title" content="amanda bruce design | graphic design | houston tx usa" /> <meta name="description" content="amanda bruce design" /> <meta name="keywords" content="Houston graphic design, digital illustration, web design, infographics, technical drawing, information design" /> <script type="text/javascript" src="../library/prototype.js"></script> <script type="text/javascript" src="../library/scriptaculous.js?load=effects,builder"></script> <script type="text/javascript" src="../library/lightbox.js"></script> <link rel="stylesheet" href="../library/lightbox.css" type="text/css" media="screen" /> <link rel="stylesheet" href="../library/page.css" type="text/css" media="screen" /> </head> <body> <div id="wrap" class="clearfix"> <h1 id="logo"><a href="index.php" title="amanda bruce design">amanda bruce design</a></h1> <ul id="nav"> <li id="print"><a href="../print/index.php" title="print">print design</a></li> <li id="advertising"><a href="../advertising/index.php" title="advertising">advertising design</a></li> <li id="illustration"><a href="../illustration/index.php" title="illustration">digital illustrations</a></li> <li id="web"><a href="../web/index.php" title="web">web design - html & flash cs5</a></li> <li id="infographics"><a href="../infographics/index.php" title="infographics">informational graphic design</a></li> </ul> <!-- start content --> <div id="contentBlank"> <img class="subnav" src="../images/s_contact.png" alt="Contact" title="Contact"/> <p>email / <a href="mailto:amandambruce@gmail.com">amandambruce@gmail.com</a></p> <br> <img class="subnav" src="../images/s_quotereqest.png" alt="quote request" title="quote request"/> <form method= "post" action="http://www.ipage.com/scripts/formemail.bml"> <input type="hidden" name="my_email" value="mailto:amandambruce@gmail.com"> <p>Please describe your project in as much detail as possible:</p> <textarea rows="6" cols="58" name="detail" validate="blank"></textarea> <br/><br/> <table> <tr><td>Name:</td> <td> Email:</td></tr> <tr><td><input name="name" size="25" validate="blank" type="text" /></td> <td> <input name="email" size="25" validate="blank" type="text" /> <br><br></td></tr> <tr><td>Phone Number:</td> <td> State:</td></tr> <tr><td><input name="phoneNumber" size="25" validate="blank" type="text" /></td> <td> <input name="state" size="25" validate="blank" type="text" /></td></tr> </table><br><br> <input type="submit" name="submit" value="Submit Now" > <input type="hidden" name="thankyou_url" value="http://www.amandabrucedesign.com"> </div> <ul id="subNav"> <li id="about"><a href="about.php" title="About">About</a></li> <li id="resume"><a href="resume.php" title="Resume">Resume</a></li> <li id="contact"><a href="contact.php" title="Contact">Contact</a></li> <li id="copyrightWide"><a href="#" title="Copyright">Copyright</a></li> </ul> </div> <!-- close wrapper --> </body></html> Code (markup): I appreciate it!!! AB
As Johnny 5 once said, "need more input" ... saying is not working is not much to go on. The actual script handling the form is at http://www.ipage.com/scripts/formemail.bml I would go through the documentation at ipage and see what they have to say about setting this up correctly. Also, ipage should have Php installed and running for you to use.
The script may not be working because of the error in your html as show in the quotes below. Fix that and see if it works. To give you more help with the php end of it, we will need the php code. A Send form to email script is very simple though, so if you wanted to re-write it i could help you You should not have a space between the = and the "post".
Actually, I think she is on a Windows Server, judging by the .bml file extension. So there is no Php as she mentioned. Still need more information. The page she is referencing is not on that site she linked to. Tough to see what is going wrong and where. BTW, Ray, that space in code won't hurt a thing. It is just whitespace.
I did everything per iPage suggestions and everything seems to work; EXCEPT I am not getting any of the form information forwarded to my email!!! there is no script; everything i am using is on this page.... http://www.amandabrucedesign.com/subnav/contact.php it is driving me crazy...how do i get it to forward to my email!! AB
here's the page source; what else do i need to post: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Language" content="en-us" /> <meta name="author" content="amanda bruce design" /> <meta name="copyright" content="copyright 2010 - amanda bruce design" /> <title>amanda bruce design | contact | houston tx usa</title> <meta name="title" content="amanda bruce design | graphic design | houston tx usa" /> <meta name="description" content="amanda bruce design" /> <meta name="keywords" content="Houston graphic design, digital illustration, web design, infographics, technical drawing, information design" /> <script type="text/javascript" src="../library/prototype.js"></script> <script type="text/javascript" src="../library/scriptaculous.js?load=effects,builder"></script> <script type="text/javascript" src="../library/lightbox.js"></script> <link rel="stylesheet" href="../library/lightbox.css" type="text/css" media="screen" /> <link rel="stylesheet" href="../library/page.css" type="text/css" media="screen" /> </head> <body> <div id="wrap" class="clearfix"> <h1 id="logo"><a href="index.php" title="amanda bruce design">amanda bruce design</a></h1> <ul id="nav"> <li id="print"><a href="../print/index.php" title="print">print design</a></li> <li id="advertising"><a href="../advertising/index.php" title="advertising">advertising design</a></li> <li id="illustration"><a href="../illustration/index.php" title="illustration">digital illustrations</a></li> <li id="web"><a href="../web/index.php" title="web">web design - html & flash cs5</a></li> <li id="infographics"><a href="../infographics/index.php" title="infographics">informational graphic design</a></li> </ul> <!-- start content --> <div id="contentBlank"> <img class="subnav" src="../images/s_contact.png" alt="Contact" title="Contact"/> <p>email / <a href="mailto:amandambruce@gmail.com">amandambruce@gmail.com</a></p> <br> <img class="subnav" src="../images/s_quotereqest.png" alt="quote request" title="quote request"/> <form method= "post" action="http://www.ipage.com/scripts/formemail.bml"> <input type="hidden" name="my_email" value="mailto:amandambruce@gmail.com"> <p>Please describe your project in as much detail as possible:</p> <textarea rows="6" cols="58" name="detail" validate="blank"></textarea> <br/><br/> <table> <tr><td>Name:</td> <td> Email:</td></tr> <tr><td><input name="name" size="25" validate="blank" type="text" /></td> <td> <input name="email" size="25" validate="blank" type="text" /> <br><br></td></tr> <tr><td>Phone Number:</td> <td> State:</td></tr> <tr><td><input name="phoneNumber" size="25" validate="blank" type="text" /></td> <td> <input name="state" size="25" validate="blank" type="text" /></td></tr> </table><br><br> <input type="submit" name="submit" value="Submit Now" > <input type="hidden" name="thankyou_url" value="http://www.amandabrucedesign.com"> </table> </div> <ul id="subNav"> <li id="about"><a href="about.php" title="About">About</a></li> <li id="resume"><a href="resume.php" title="Resume">Resume</a></li> <li id="contact"><a href="contact.php" title="Contact">Contact</a></li> <li id="copyrightWide"><a href="#" title="Copyright">Copyright</a></li> </ul> </div> <!-- close wrapper --> </body></html> Code (markup):
Try removing "mailto:" from the hidden my_email value and leave just your email address. If that does not work, do you have a link to the instructions at ipage that I can look at? Edit: To be a llittle more clear: Change this: <input type="hidden" name="my_email" value="mailto:amandambruce@gmail.com"> Code (markup): To this: <input type="hidden" name="my_email" value="amandambruce@gmail.com"> Code (markup):
Do you have the ability to get the results from the forms at all? From my understanding, the action="" sends the form information to the ipage.com/scripts/formemail.bml which is probably not sending it to your email as you want. I thought the "malto" function in html just opens up a default mail client for the user? As opposed to actually sending the information to the desired email, which is why php, or other code is needed to finish the job? Can you see the code from the formemail.bml?
I contacted the Ipage people (really freaking helpful by the way) and yes, this did work. where did i get mailto:??!!! thank you so much. i appreciate your help!
No problem Amanda. The mailto: you probably just copied from the actual email link which would add the mailto: to it, then pasted it into place. I do that often to, or leave the mailto: out. As for the script. Whether it is Php, Perl, or this BML stuff, they are all the same and just figured it would not be looking for the mailto: on the value -- so thought it was worth a shot.
Also something that might be usefull for you. You can use php function to send the mail straight from your website, avoiding the mailto: , which i don't like to use personally. php.net/manual/en/function.mail.php
She mentioned in the OP that Php was not available to her. I think she is running on a Windows Server though, thus the .bml form script.
Good day, i am trying to create a contact form that sends email direct to my inbox. but the ipage email submission script doesn't work.. anyone can help me please please
First, start your own topic rather than resurrect a five+ year old thread. You'll get a better response. Before you do that, though, read How To Ask Questions The Smart Way by Eric S. Raymond. We need more information than you provided. The article will explain what we need and why we need it. cheers, gary