2
   

Formmail - how to get it sent to more than one account?

 
 
Viv
 
Reply Tue 9 Nov, 2004 08:59 am
Currently, I'm using a formmail that allows me to send an e-mail from my site to one of my e-mail accounts... I use a place called javascript.nu

(not that relevant code, really, so might skip this)
Code:<FORM ACTION="http://www.javascript.nu/cgi4free/formmail/send.pl" METHOD="post">
<INPUT TYPE="hidden" NAME="to" VALUE="[email protected]">
<INPUT TYPE="hidden" NAME="subject" VALUE="E-mail from mailform">
<INPUT TYPE="hidden" NAME="redirect" VALUE="http://www.JavaScript.nu/">

<TABLE BORDER="2" CELLPADDING=0 CELLSPACING=0>
<TR><TD><TABLE BORDER="0" CELLPADDING=2 CELLSPACING=0 BGCOLOR="#eeeeee">
<TR BGCOLOR="#cccccc"><TD>Your e-mail:</TD><TD><INPUT TYPE="text" NAME="from"></TD></TR>
<TR><TD COLSPAN="2"><TEXTAREA COLS="39" ROWS="4" NAME="msg"></TEXTAREA></TD></TR>
<TR><TD COLSPAN="2"><INPUT TYPE="submit" VALUE="Send Mail"></TD></TR>
</TABLE></TD></TR>
</TABLE>
</FORM>


In other words, it's being redirected and sent through this free cgi (placed here:
Code:http://www.javascript.nu/cgi4free/formmail/send.pl
)

But, as I'm part of a community elsewhere where it is desirable that membership applications are sent to more than one e-mail account, I'm wondering..is there a place where I can get something similar to what I already have - only that it's possible to sent this e-mail to, say, three of four persons - or some sort of script?
  • Topic Stats
  • Top Replies
  • Link to this Topic
Type: Discussion • Score: 2 • Views: 1,928 • Replies: 12
No top replies

 
Craven de Kere
 
  1  
Reply Tue 9 Nov, 2004 11:50 pm
Re: Formmail - how to get it sent to more than one account?
Formmail is a net scourge, so I personally don;t support it (I actually will only recommend that it be removed from any and all servers).

Viv wrote:
..is there a place where I can get something similar to what I already have - only that it's possible to sent this e-mail to, say, three of four persons - or some sort of script?


If you have access to any server side scripting you can probably do this with some code.

Can you run php or anything like that on your server?
0 Replies
 
Viv
 
  1  
Reply Fri 12 Nov, 2004 04:49 pm
Maybe. I'm not sure, but I don't know php.. Sad
0 Replies
 
Craven de Kere
 
  1  
Reply Sat 13 Nov, 2004 02:08 pm
With all due respect, you don't know formmail either. ;-)

Thing is, i you can run php, I can actually give you the code. Your formmail solution isn't ecven running on your box so you have more limits, in addition to the inherent downside and hole that formmail represents.
0 Replies
 
Jer
 
  1  
Reply Tue 16 Nov, 2004 02:53 pm
Craven,

What script would you recommend for sending mail from forms?

PM/Email...whatever works for you.

Looking forward to your reply.

Cheers

Craven de Kere wrote:
With all due respect, you don't know formmail either. ;-)

Thing is, i you can run php, I can actually give you the code. Your formmail solution isn't ecven running on your box so you have more limits, in addition to the inherent downside and hole that formmail represents.
0 Replies
 
Craven de Kere
 
  1  
Reply Tue 16 Nov, 2004 05:33 pm
Jer wrote:

What script would you recommend for sending mail from forms?


Using PHP, I make the form each time I need one. If you search for PHP form mail you can find many examples. If you don't hit me up again and I'll post some example code from home.
0 Replies
 
Craven de Kere
 
  1  
Reply Wed 17 Nov, 2004 12:07 am
Here is example code:

This is the form. "mailer.php should be wherethe next part is.

Code:<form name="mail" method="post" action="mailer.php">
<input type="input" name="email" value="">
<textarea name="message" wrap="VIRTUAL" cols="50" rows="8"></textarea>
<input type="submit" name="submit" value="Send the Mail">
</form>


This sends the mail.

Code:<?php
if($email == "")
die("Exasperated Hamster :: There has been an error. No email was given.");

$to = "[email protected],[email protected]";

$extra = "From: $email\r\nReply-To: $email\r\n";
$mess = .$message;

mail ($to, $subject, $mess, $extra);
?>


That's the basics in php, then I usually add a lot of fields and nifty stuff.
0 Replies
 
Jer
 
  1  
Reply Tue 30 Nov, 2004 12:53 pm
Thanks Craven...I didn't see it till today.
0 Replies
 
massmutual
 
  1  
Reply Fri 10 Aug, 2007 11:34 am
"Scourges of the Net" Blocked by Craven de Kere on
Craven de Kere wrote:
With all due respect, you don't know formmail either. ;-)

Thing is, i you can run php, I can actually give you the code. Your formmail solution isn't ecven running on your box so you have more limits, in addition to the inherent downside and hole that formmail represents.


this is an old thread but I got a question on formmali and on a poster using it elswwrh

what's the point of blocking them from the servers then letting them through back doors, just curious, tks for any info
0 Replies
 
massmutual
 
  1  
Reply Fri 10 Aug, 2007 11:39 am
Re: Formmail - how to get it sent to more than one account?
Craven de Kere wrote:
Formmail is a net scourge, so I personally don;t support it (I actually will only recommend that it be removed from any and all servers).





that was what I was referring to, sorry my connection is on the blik

thank you
0 Replies
 
Craven de Kere
 
  1  
Reply Sat 11 Aug, 2007 01:31 pm
It has traditionally had a lot of exploits that are used by automated attacks by spammers. I usually remove it because I don't use it (because of the above).
0 Replies
 
massmutual
 
  1  
Reply Mon 13 Aug, 2007 08:29 am
Thanks Craven but there's some other "scourges of the net" also removed from your servers by name

so my questiion ito you is:

why do you let them log on with so many new names, like take a look here on this thread

http://www.able2know.com/forums/viewtopic.php?p=2807483#2807483

i mean, about a tenth of the membership originates on one keyboard seems imho , no matter if anonymiser sites are used by the person so no ip is trackable?

tks and congrats for your good work on a2k (xcept for this one Q ? )
0 Replies
 
Craven de Kere
 
  1  
Reply Mon 13 Aug, 2007 07:19 pm
I am talking about server administration, you are talking about your suspicions about other members.

<shrugs>

You are barking up the wrong tree.
0 Replies
 
 

Related Topics

Webdevelopment and hosting - Question by harisit2005
Showing an Ico File - Discussion by Brandon9000
how to earn money in internet - Discussion by rizwanaraj
The version 10 bug. Worse then Y2K! - Discussion by Nick Ashley
CSS Border style colors - Question by meesa
There is no Wisdom in Crowds - Discussion by ebrown p
THANK YOU CRAVEN AND NICK!!! - Discussion by dagmaraka
I'm the developer - Discussion by Nick Ashley
 
  1. Forums
  2. » Formmail - how to get it sent to more than one account?
Copyright © 2024 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.04 seconds on 04/26/2024 at 05:57:30