MAD740

need a mail form idea

  • (2 Pages)
  • +
  • 1
  • 2

18 Replies - 2302 Views - Last Post: 04 October 2001 - 05:11 PM

#1 Stanker  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 31
  • Joined: 16-August 01

MAD740

Posted 17 August 2001 - 11:18 AM

hey everybody,
this is my first post on DIC. I just wanted to get some feedback on my beta site im working on. I have a little emailer form on the right side of the site. I put a simple mailto: in the action tag, and it doesnt seem to be working very well. Actually, it seems to work on my mac, but not on my PC. If anyone has any cgi code or some nice Java so I can get this sent thru the mail straight to me, or even some good reference sites, it would really help. Thanks guys, heres the link:
<url>http://mad740.com/newsite</url>

Is This A Good Question/Topic? 0
  • +

Replies To: MAD740

#2 LeprechauN  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 2
  • View blog
  • Posts: 857
  • Joined: 12-March 01

Re: MAD740

Posted 17 August 2001 - 01:45 PM

Hey! Welcome to dream.in.code.. I'm on a Windows machine and the mailto seems to be working just fine.. and all the 'iB code' on here uses '[ and ]' ;)
Was This Post Helpful? 0
  • +
  • -

#3 Stanker  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 31
  • Joined: 16-August 01

Re: MAD740

Posted 17 August 2001 - 01:57 PM

yea, it says that you are submitting an email, the problem is, i never recieve it...

:(

ill figure something out

Was This Post Helpful? 0
  • +
  • -

#4 LeprechauN  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 2
  • View blog
  • Posts: 857
  • Joined: 12-March 01

Re: MAD740

Posted 17 August 2001 - 01:58 PM

By the way, site looks pretty good :)
Was This Post Helpful? 0
  • +
  • -

#5 LeprechauN  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 2
  • View blog
  • Posts: 857
  • Joined: 12-March 01

Re: MAD740

Posted 17 August 2001 - 02:03 PM

Well, if you never get the e-mail.. that's really got nothing to do with your site.. I can try and send you one..
Was This Post Helpful? 0
  • +
  • -

#6 Stanker  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 31
  • Joined: 16-August 01

Re: MAD740

Posted 17 August 2001 - 02:08 PM

that would be cool. hook a brutha up
stanker@mad740.com
Was This Post Helpful? 0
  • +
  • -

#7 LeprechauN  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 2
  • View blog
  • Posts: 857
  • Joined: 12-March 01

Re: MAD740

Posted 17 August 2001 - 02:10 PM

What a cawinkydink! lol... I can't connect to da dreamincode popstmp servers... I'll try in a bit
Was This Post Helpful? 0
  • +
  • -

#8 Mark  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 93
  • Joined: 06-August 01

Re: MAD740

Posted 17 August 2001 - 05:14 PM

the PHP "mail()" function ought to do the trick..I have a php mailer if you really want it...
Was This Post Helpful? 0
  • +
  • -

#9 Stanker  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 31
  • Joined: 16-August 01

Re: MAD740

Posted 17 August 2001 - 07:44 PM

HOOK ME UP!!!

:) please :)

stanker@mad740.com

Was This Post Helpful? 0
  • +
  • -

#10 Stanker  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 31
  • Joined: 16-August 01

Re: MAD740

Posted 23 August 2001 - 11:01 AM

...:(

did you forget about me?

Was This Post Helpful? 0
  • +
  • -

#11 capty99  Icon User is offline

  • i am colt mccoy
  • member icon

Reputation: 98
  • View blog
  • Posts: 10,081
  • Joined: 26-April 01

Re: MAD740

Posted 23 August 2001 - 03:17 PM

lol, try the messaging option to get his attention.
Was This Post Helpful? 0
  • +
  • -

#12 riceraver  Icon User is offline

  • D.I.C Regular

Reputation: 0
  • View blog
  • Posts: 362
  • Joined: 18-July 01

Re: MAD740

Posted 24 August 2001 - 07:32 PM

www.hotscripts.com

you'll find what you need there.

Was This Post Helpful? 0
  • +
  • -

#13 Mark  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 93
  • Joined: 06-August 01

Re: MAD740

Posted 24 August 2001 - 11:05 PM

hehe -- oops

here we go -- special thanks to Jason Warner (Paradox) for the base coding..although I changed it up a decent amount too :)

<?
if(!isset($submit)){ 
?> 
<center>Please fill out <b>all</b> of the fields in the form below.</center>
<form action="<? echo $PHP_SELF ?>" method="post">
<table width="100%" cellspacing="0" cellpadding="0" border="0">
 <tr>
  <td align="right">
To:&nbsp;
  </td>
  <td>
<select name="who">
 <option>---
 <option>Pastor Art Suggs
 <option>Church Office (Secretary)
 <option>Mark Elliot (WebMaster)
</select>
  </td>
 </tr>
 <tr><td width="200" align="right">Your Name:&nbsp;</td><td><input name="from"></td></tr>
 <tr><td align="right">Your Email:&nbsp;</td><td><input name="useremail"></td></tr>
 <tr><td align="right">Subject:&nbsp;</td><td><input name="subject"></td></tr>
 <tr><td align="right">Message:&nbsp;</td><td><textarea name="message" rows="8" cols="30"></textarea></td></tr>
 <tr><td colspan="2" align="center"><input type="submit" name="submit" value="Send">&nbsp;<input type="reset" name="reset" value="Clear"></td></tr>
</table>
</form> 

<? }else{

if($who == "Pastor Art Suggs"){ $email = "asuggs@exotrope.net"; }else if($who == "Church Office (Secretary)"){ $email = "unionpres@exotrope.net"; }else if($who == "Mark Elliot (WebMaster)"){ $email = "mark@markelliot.f2s.com"; }else{ die("<center>You did not select who to send a message to.<br>Please press your browser's back button and select someone.</center>."); }

if(!$from or !$subject or !$message){ die("<center>You have fields that have not been filled in.<br>Please make sure that <b>all</b> the fields are filled in correctly.</center>"); }

///// set up email here $printmessage = "From: $from ($useremail) To: $who ($email) Subject: $subject Message: $message";

$send = @mail($email, "Email from UPC Website: $subject", $printmessage, "From: $from Reply-To: $useremail");

$content = "&nbsp;";

if($send){ $content = "<center>Thanks <b>$from</b>, your message has been sent.</center>"; }else{ $content = "<center>There was an error in sending your message.<br>Please press your browser's back button and try again.</center>"; } }

if (!isset($content)){ $content = null; }

echo $content;

?>

Hack it as you need too -- it was for a church site i did, which is why some of the things may seem wierd.

Was This Post Helpful? 0
  • +
  • -

#14 Stanker  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 31
  • Joined: 16-August 01

Re: MAD740

Posted 25 August 2001 - 02:12 PM

:0

woah... thanks man, ill try it todat!!

:)

Was This Post Helpful? 0
  • +
  • -

#15 runtime error  Icon User is offline

  • Lucky.Code
  • member icon

Reputation: 3
  • View blog
  • Posts: 629
  • Joined: 19-March 01

Re: MAD740

Posted 25 August 2001 - 03:46 PM

hehe i luv the site.

i put the don'tfukwithmymunkee wallpaper on my desktop.

Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2