View Full Version : Email forms
getsoldon
05-02-2008, 12:58 PM
I just switched from using frontpage to dreamweaver and for the life of me can't figure out how to get a form to email me information. Please help.
ml4474
05-03-2008, 09:35 AM
I'm looking for the cgi-bin string too... I'll let you know when I find it
Hot DesignZ
05-03-2008, 10:04 AM
there is also html forms a simple examples is something like this:
<html>
<body>
<form action="MAILTO:someone@someone.com" method="post" enctype="text/plain">
<h3>This form sends an e-mail to someone.</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">
</form>
</body>
</html>
http://www.w3schools.com/html/html_forms.asp
ml4474
05-03-2008, 10:16 AM
Hot DesignZ,
I have used the mailto action before however I get a lot of spam. Wold like to setup CGI Form Mail
Hot DesignZ
05-03-2008, 10:20 AM
Hot DesignZ,
I have used the mailto action before however I get a lot of spam. Wold like to setup CGI Form Mail
I agree I only use forms with spam protection. I was just showing him something simple to learn from. I personally use coffee cup web form builder never once got a spam mail as a result of it. The is also a nice php form script floating around this forum that a member created sjlplat I believe. I am sure a search would reveal it.
pghcollectibles
05-03-2008, 10:42 AM
yeah what you said. sjlplat has a good form here (http://www.myphpscripts.net/?sid=5) im surprised he hasnt been here yet to offer it
ml4474
05-03-2008, 12:00 PM
Arrrgg! I just setup the CGI form mail available through the cpanel. Everything is working great but when I went live I received the following msg:
Error
No email was sent due to an error.
500 sendmail exit 7 with error message
220-host93.hostmonster.com ESMTP Exim 4.68 #1 Sat, 03 May 2008 10:56:12 -0600
220-We do not authorize the use of this system to transport unsolicited,
220 and/or bulk e-mail.
250-host93.hostmonster.com Hello localhost [127.0.0.1]
250-SIZE 52428800
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
250 HELP
250-host93.hostmonster.com Hello localhost [127.0.0.1]
250-SIZE 52428800
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
250 HELP
501 : sender address must contain a domain
cgiemail 1.6
So, what's going on here?
shadmego
05-03-2008, 12:48 PM
From the error, the sending address needs to be a full email address. I don't know how you set the script up so I can't offer any more advice. Be sure to use a full email address, not just the username part (before the " @ " symbol) ....
~regards
ml4474
05-03-2008, 01:06 PM
This is the ASCII form:
To: rigsby.rodney@gmail.com
From: [email]
Subject: Comment from First Choice Painting
Customer Name: [name]
Customer eMail: [email]
Customer Phone: [phone]
Comments: [comments]
ml4474
05-03-2008, 01:09 PM
Form: (this is in a subdomain)
<FORM METHOD="POST" ACTION="http://www.mswilliamsonline.com/cgi-bin/cgiemail/rodney/FCPformmail.txt">
<p class="text1">Your Name:
<label>
<input type="text" name="name2" id="name" />
</label>
</p>
<p class="text1">Your Phone Number:
<INPUT NAME="phone" id="phone">
</p>
<p class="text1">Your eMail:
<INPUT NAME="email" id="email">
</p>
<p class="text1">Comment:<br />
<label>
<textarea name="comments" id="comments" cols="60" rows="10"></textarea>
</label>
</p>
<p class="text1"><INPUT TYPE="submit" value="Send e-mail">
</FORM>
Curtis
05-26-2008, 11:45 PM
I'm getting the exact same error. Works fine with cgiecho but change it to cgiemail and I get the same error. Any solutions yet?
Appreciate the help.
Curtis
dyndlm
06-02-2008, 04:50 PM
ml4474 - what or where did you get the FCPformmail.txt file information? Right now I'm using the hostmonster/monstermail address for my action= and all works great with monstermail forwarding to my website address (I access with Horde), except this does not allow my autoresponder to work to the originator's email address. I'm VERY new and am lost trying to figure out how to make cpanel cgiemail to work. Thanks.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.