Home Forums Register FAQ Members List Calendar Search Today's Posts Mark Forums Read Arcade Chat
Go Back   ClubPenguinHQ Forums > General Discussion > Public Forum Archives > General Discussion > Hacking/Programming
Reload this Page Email form problem
Hacking/Programming All hacking/programming goes here. Club Penguin hacking can be discussed in the Club Penguin Cheating Parent forum. No Club Penguin hacking is allowed here.

Email form problem

Reply
 
LinkBack Thread Tools Display Modes
Email form problem
Old
  (#1)
Billybob1234 is Offline
Super Moderator
Billybob1234 is a glorious beacon of light
 
Billybob1234's Avatar
 
Posts: 2,651
Join Date: Jan 2008
Location: Wisconsin
Age: 19
Rep Power: 25
  Send a message via AIM to Billybob1234 Send a message via MSN to Billybob1234 Send a message via Yahoo to Billybob1234 Send a message via Skype™ to Billybob1234 
Default Email form problem - Thursday, August 21st, 2008

I've just made an Email form, but for some reason it won't work. Here is the source.

Source:
Code:
<form 
  action="mailto:baseball96legend@yahoo.com"
  method="POST"
  enctype="multipart/form-data"
  name="EmailTestForm">

Your Name:

<input type="text" size="20" name="VisitorName">



Your Comment:

<textarea name="VisitorComment" rows="4" cols="20">
</textarea>



<input type="submit" value="Email This Form">

</form>
Does anybody see a problem?


http://img196.imageshack.us/img196/769/sig2i.png
  
Reply With Quote
Re: Email form problem
Old
  (#2)
Plonk is Offline
Super Member
Plonk is an unknown quantity at this point
 
Plonk's Avatar
 
Posts: 2,458
Join Date: Apr 2008
Location: #iamthewalrus
Rep Power: 0
  Send a message via AIM to Plonk  
Default Re: Email form problem - Thursday, August 21st, 2008

In fact I do, you can't have the form action be "mailto:youremail@cool.com".

Have the form action be to a PHP script that uses the mail function ( http://www.php.net/mail ) . I'll make a tutorial soon, but that's the best I can do now.


I have left CPHQ forever.

I will VERY occaisionally be on #iamthewalrus. Don't count on it.
  
Reply With Quote
Re: Email form problem
Old
  (#3)
Billybob1234 is Offline
Super Moderator
Billybob1234 is a glorious beacon of light
 
Billybob1234's Avatar
 
Posts: 2,651
Join Date: Jan 2008
Location: Wisconsin
Age: 19
Rep Power: 25
  Send a message via AIM to Billybob1234 Send a message via MSN to Billybob1234 Send a message via Yahoo to Billybob1234 Send a message via Skype™ to Billybob1234 
Default Re: Email form problem - Thursday, August 21st, 2008

Quote:
Originally Posted by Plonk
In fact I do, you can't have the form action be "mailto:youremail@cool.com".

Have the form action be to a PHP script that uses the mail function ( http://www.php.net/mail ) . I'll make a tutorial soon, but that's the best I can do now.
Well, I don't have an apache server (xampp), so I can't use that. Atleast, I think you need one to use it. If not I'm just not sure how to do stuff with php other than run scripts.


http://img196.imageshack.us/img196/769/sig2i.png
  
Reply With Quote
Re: Email form problem
Old
  (#4)
NiK is Offline
Super Member
NiK is just really nice
 
NiK's Avatar
 
Posts: 1,595
Join Date: Sep 2007
Location: Somewhere in snow
Age: 15
Rep Power: 20
  Send a message via AIM to NiK Send a message via MSN to NiK  
Default Re: Email form problem - Friday, August 22nd, 2008

i see the problem. No mailto thing, remove that and try again.


  
Reply With Quote
Re: Email form problem
Old
  (#5)
Billybob1234 is Offline
Super Moderator
Billybob1234 is a glorious beacon of light
 
Billybob1234's Avatar
 
Posts: 2,651
Join Date: Jan 2008
Location: Wisconsin
Age: 19
Rep Power: 25
  Send a message via AIM to Billybob1234 Send a message via MSN to Billybob1234 Send a message via Yahoo to Billybob1234 Send a message via Skype™ to Billybob1234 
Default Re: Email form problem - Friday, August 22nd, 2008

Quote:
Originally Posted by NiK
i see the problem. No mailto thing, remove that and try again.
That won't work. Not having that makes it go to the file with "baseball96legend@yahoo.com" at the end of it which doesn't exist.


http://img196.imageshack.us/img196/769/sig2i.png
  
Reply With Quote
Re: Email form problem
Old
  (#6)
Drew is Offline
Tech God
Drew should be proud of theirself
 
Posts: 482
Join Date: Apr 2008
Location: California
Rep Power: 10
   
Default Re: Email form problem - Friday, August 22nd, 2008

You can't mail from just a html page. You need some php in there buddy


I may not be active due to the fact that I'm currently applying to various Universities. I'll be back soon.
  
Reply With Quote
Re: Email form problem
Old
  (#7)
Eternal is Offline
Cheating God; Retired
Eternal is on their way to the top
 
Eternal's Avatar
 
Posts: 1,918
Join Date: Aug 2007
Location: <!> Earth, USA <!>
Age: 12
Rep Power: 0
  Send a message via AIM to Eternal Send a message via MSN to Eternal Send a message via Yahoo to Eternal  
Default Re: Email form problem - Friday, August 22nd, 2008

Quote:
Originally Posted by Drew
You can't mail from just a html page. You need some php in there buddy
Lol, I was gonna post that nut you got to it first


I have left CPHQ.
[Star StrucKK] - My blog.
  
Reply With Quote
Re: Email form problem
Old
  (#8)
Billybob1234 is Offline
Super Moderator
Billybob1234 is a glorious beacon of light
 
Billybob1234's Avatar
 
Posts: 2,651
Join Date: Jan 2008
Location: Wisconsin
Age: 19
Rep Power: 25
  Send a message via AIM to Billybob1234 Send a message via MSN to Billybob1234 Send a message via Yahoo to Billybob1234 Send a message via Skype™ to Billybob1234 
Default Re: Email form problem - Friday, August 22nd, 2008

Oh, yeah. I got it working a different way. It's not as good as a form, but it still works.


http://img196.imageshack.us/img196/769/sig2i.png
  
Reply With Quote
Re: Email form problem
Old
  (#9)
Eternal is Offline
Cheating God; Retired
Eternal is on their way to the top
 
Eternal's Avatar
 
Posts: 1,918
Join Date: Aug 2007
Location: <!> Earth, USA <!>
Age: 12
Rep Power: 0
  Send a message via AIM to Eternal Send a message via MSN to Eternal Send a message via Yahoo to Eternal  
Default Re: Email form problem - Friday, August 22nd, 2008

Quote:
Originally Posted by Billybob1234
Oh, yeah. I got it working a different way. It's not as good as a form, but it still works.
How are you doing it now? Are you using Post Data?


I have left CPHQ.
[Star StrucKK] - My blog.
  
Reply With Quote
Re: Email form problem
Old
  (#10)
Billybob1234 is Offline
Super Moderator
Billybob1234 is a glorious beacon of light
 
Billybob1234's Avatar
 
Posts: 2,651
Join Date: Jan 2008
Location: Wisconsin
Age: 19
Rep Power: 25
  Send a message via AIM to Billybob1234 Send a message via MSN to Billybob1234 Send a message via Yahoo to Billybob1234 Send a message via Skype™ to Billybob1234 
Default Re: Email form problem - Friday, August 22nd, 2008

Quote:
Originally Posted by Kasey96
Quote:
Originally Posted by Billybob1234
Oh, yeah. I got it working a different way. It's not as good as a form, but it still works.
How are you doing it now? Are you using Post Data?
Well, I just left my house. So, when I get back to my house (Sunday) I will post the source.


http://img196.imageshack.us/img196/769/sig2i.png
  
Reply With Quote
Reply

Lower Navigation
Go Back   ClubPenguinHQ Forums > General Discussion > Public Forum Archives > General Discussion > Hacking/Programming

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0
vBulletin Skin developed by: vBStyles.com
Copyright ©2006 - 2009, RancidKraut Industries