UGN Security
Posted By: Gremelin UGN Mailer - 06/10/02 07:10 PM
aaight, this is a project for those of you who are good with Java, perl, vb, just about any web based protocoll, i leave the languages up to you...

This mailer will allow the user to view it as a standard mail form:

User From:
User To:
Date:
Time:
Subject:
Message:

The only difference than most forms is that it gives you access to set the from address. I have seen it done, and by making this post i expect to see it again. I would like it to have a "Password" thing at the top to stop unwanted access to the mailer. I also would like an option to have it run through either Sendmail or SMTP (or linux/windows as host providers would say).

This project would be beneficial to many, I believe that I've seen it done in perl many times and I'd like to see it done again, and possibly made a lot better.

If you have any questions or comments please respond to this thread, if you've completed the project, please email it to me or contact me on aim or the irc server.

Thank you all for your time, and I look forward to hearing back from all of you.
Gizmo
Posted By: SilentRage Re: UGN Mailer - 06/11/02 01:17 AM
You're saying a webpage form right? Cause this is one hella easy project if you're asking for a CGI script using SendMail... I could get it done in 15 minutes (since I'd pretty much be using code I've already written for other projects)
Posted By: Gremelin Re: UGN Mailer - 06/11/02 04:36 AM
cgi/perl/java/whatever heh doesn't matter so long as it works.
Posted By: Gremelin Re: UGN Mailer - 06/12/02 09:19 AM
Anything yet guys? ::waits::
Posted By: SephiroX Re: UGN Mailer - 06/12/02 06:17 PM
Why not make it in VB.
..
I remember once when olo had shown me some control he made for vb...
it was designed to make mailers much easyer...
and secret...
It was pretty cool..
Maybe we can get hold of it.
Posted By: Gremelin Re: UGN Mailer - 06/12/02 07:55 PM
Well, because I want this web based... If you could make his VB application web based by all means. I don't care what language its in so long as it works.
Posted By: SilentRage Re: UGN Mailer - 06/12/02 09:31 PM
ja, it's possible to do in VB - but it'll take some skill and a VB hack. For sure perl is da way to go.

And I'd already have it done if I had perl and apache on this computer. I could still do it if nobody else can.
Posted By: Gremelin Re: UGN Mailer - 06/12/02 09:33 PM
lol do it SR heh.. I have the just of something in perl, but its a [censored], i can't get it to get the NAME and FROM variables done correctly, so i'd like someone to help or do one heh...
Posted By: SilentRage Re: UGN Mailer - 06/14/02 02:17 PM
Well, I had started on a longer than 15-min version that was pretty kick but I accidentally closed notepad without saving - [censored] on me.

Well, so now I don't want to do anything but the least I have to. So could you make a form for me so that I can make the script to back it up?
Posted By: Le4rner Re: UGN Mailer - 06/14/02 04:58 PM
This is stricktly send mail and php But it requiers a password to send mail. First part is the form which would be an html page. second is the php page. So 2 seperate pages. You can have the password in the php file since the browser can not veiw source and see the actual php. (I know you know that gizzy, but figure newbies might not.)

This script allows you to specify what e-mail addy the mail came from. What ever you type in as your e-mail address is what the person who receives the mail will have to reply to. heh, I just finished it for my site.

Code
  
<FORM ACTION="Mail.php" METHOD="POST"> 
<center>
<font size="5" color="#FFFFFF">UGN Mailer</font>

</center>
Password

<input type="password" name="passwd" size="20" maxlength="30">


Your Freinds name
 
<INPUT TYPE="text" NAME="freind" SIZE="20" MAXLENGTH="30">

 
 
Your Name
 
<INPUT TYPE="text" NAME="sender" SIZE="20" MAXLENGTH="30">

 
 
Their e-mail address
 
<INPUT TYPE="text" NAME="sendto" SIZE="20" MAXLENGTH="30">

 

Your e-mail address

<INPUT TYPE="text" NAME="senderemail" SIZE="20" MAXLENGTH="30">

 
 
Your message about this site
 
<textarea cols="50" rows="8" NAME="message">Enter
your message here</text>

 
<INPUT TYPE="submit" VALUE="Send it!"> 
</form>
Code
 
<?php 
if($passwd == "insert password here") {
mail ("$sendto", "$freind... $sender wants you to 
check this site out", "$message !\n\n So join
your freind and others \n http://rrfn.promodtecnologies.com",
"From: ".$sender."<".$senderemail.">\r\n To: ".$freind."<".$sendto.">\r\n 
Reply-To: ".$sender."<$senderemail>\r\n"); 
  
  }
else {echo "You need to have access to use this tool.  So back da [censored] up foo!";}
?>
Posted By: Gremelin Re: UGN Mailer - 06/14/02 07:28 PM
i'll check it out learner.

The reason I wanted it in java/perl though is so that on some systems which do not support php can run it.
Posted By: Le4rner Re: UGN Mailer - 06/15/02 01:21 AM
Yea but see this is the closest thing you got. laugh

Nah I already had it done and it was prety close to what you were asking for. I dosen't let you chose between smtp or sendmail either. It falls short in a few areas of what you wanted. But it's a start. <img border="0" alt="[Joker]" title="" src="graemlins/joker.gif" />
Posted By: Le4rner Re: UGN Mailer - 06/26/02 02:21 AM
Ever set this up?
© UGN Security Forum