Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Mar 2002
Posts: 562
Le4rner Offline OP
UGN Supporter
OP Offline
UGN Supporter
Joined: Mar 2002
Posts: 562
I am trying to do a form (mostly for prctice) that will e-mail a freind the link to a site. HTML and PHP I have is listed below.

I am a bit lost as to what I am doing wrong.

HTML
Code
 <html>
<head>
<title>Form</title>
</head>


<body bgcolor="#FFFFFF">
<FORM ACTION="test.php" METHOD="POST">
Your Freinds name

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



Your Name

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



Their e-mail address


Your message about this site

<INPUT TYPE="text" NAME="message" SIZE="50" MAXLENGTH="90">




<INPUT TYPE="submit" VALUE="Send it!">

</FORM>

</body>


</html>
 
test.php
Code
 <?php
mail ("$email", "$name... $freind wants you to check this site", "$message !n http://rrfn.promodtecnologies.com !");
?> 

Joined: Mar 2002
Posts: 562
Le4rner Offline OP
UGN Supporter
OP Offline
UGN Supporter
Joined: Mar 2002
Posts: 562
Okay I got it sort of working, but when I get the e-mails it shows [email protected] (My ISP) as the return address. I wana have it so the sender puts in their e-mail (ha ha ha yea right) and it lists that as the return address. anyone able to help with this?

Joined: Mar 2002
Posts: 143
Member
Offline
Member
Joined: Mar 2002
Posts: 143
hmm, i dont know how this sendmail thing works, but when i was playing around with SR's anonimailer which uses winsock and [censored], i couldnt get it to send any emails becuase nowadays most prohibit relaying. but when i finaly found a server that worked it also did the same thing with my IP in the email address. so i tried a few other servers and i finaly found one that displayed the from address like i wanted.

basicaly, i think its how the server handels the from address and it varies depending on the server. if you can figure out how, try to change the server that sendmail uses. here are a few servers that i found support relaying and display the from address correctly:

webmaster.logifruit.es
mail.hnair.com
210.217.43.1
hmi.west163.com
203.227.132.1
public.anshan.cngb.com
sigit.co.kr
195.5.21.177
211.100.8.43
cmas-tj.cablemas.com

Joined: Feb 2002
Posts: 7,203
Likes: 11
Community Owner
Offline
Community Owner
Joined: Feb 2002
Posts: 7,203
Likes: 11
SendMail is for linux heh... Its a lot easier to use than smtp hehe...

basically you tell it what you want and you do it, i mean you reged your nick and got an email from Gizmo[at]UnderGroundNews[dot]com do you really think that i sent every one?


Donate to UGN Security here.
UGN Security, Back of the Web, and VNC Web Services Owner
Joined: Mar 2002
Posts: 1,273
DollarDNS Owner
Offline
DollarDNS Owner
Joined: Mar 2002
Posts: 1,273
ya, I think my anonimailer announces itself as localhost. It doesn't give it's IP, but the recieving SMTP server may record it anyway. I didn't realize that not all servers did this.


Domain Registration, Hosting, Management
http://www.dollardns.net
Joined: Mar 2002
Posts: 562
Le4rner Offline OP
UGN Supporter
OP Offline
UGN Supporter
Joined: Mar 2002
Posts: 562
I got it working now. There where some headers I had to include. But now you can heh, tell it what e-mail address you are sending from and who to e-mail, type in a message....

Bada bing it's out there. Pretty cool actualy. I knew how to spoof e-mails in telenet... Now I have a progy that makes it easier.....

Nah, actualy I have mine set up as a send your buddy a link to this site script.

If anyone abuses it I can easily track them down. Plus you can find out what server a e-mail came from just buy looking at the full header of an e-mail.


Link Copied to Clipboard
Member Spotlight
Posts: 30
Joined: June 2002
Forum Statistics
Forums41
Topics33,840
Posts68,858
Average Daily Posts1
Members2,176
Most Online3,253
Jan 13th, 2020
Latest Postings
Where and how do you torrent?
by danni75 - 03/01/24 05:58 AM
Animation,
by JohanKaariainen - 08/15/19 01:18 AM
Blackbeard.....
by Gremelin - 10/03/18 07:02 PM
my old account still exists!
by Crime - 08/10/18 02:47 PM
Okay WTF?
by HenryMiring - 09/27/17 01:45 AM
The History Thread...
by Gremelin - 08/11/17 12:11 PM
My friend NEEDS your HELP!
by Lena01 - 07/21/17 12:06 AM
I'm having fun with this guy.
by gabithompson730 - 07/20/17 01:50 AM
I want to upgrade my phone
by gabithompson730 - 07/20/17 01:49 AM
Doom 3
by Cyrez - 09/11/14 08:58 PM
Amazon Gift Card Generator/KeyGen?te
by Gecko666 - 08/22/14 09:21 AM
AIM scene 99-03
by lavos - 09/02/13 08:06 AM
Planetside 2
by Crime - 03/04/13 07:10 AM
Beta Testers Wanted
by Crime - 03/04/13 06:55 AM
Hello Everyone
by Gremelin - 02/12/12 06:01 PM
Tracfone ESN Generator
by Zanvin Green - 01/18/12 01:31 PM
Python 3 issue
by Testing - 12/17/11 09:28 PM
tracfone airtime
by Drache86 - 07/30/11 03:37 AM
Backdoors and the Infinite
by ZeroCoolStar - 07/10/11 03:52 AM
HackThisZIne #12 Releaseed!
by Pipat2 - 04/28/11 09:20 PM
gang wars? l33t-wars?
by Gremelin - 04/28/11 05:56 AM
Consolidate Forums
by diggin2deep - 04/21/11 10:02 AM
LAN Hacking Noob
by Gremelin - 03/12/11 12:42 AM
Top Posters
UGN Security 41,392
Gremelin 7,203
§intå× 3,255
SilentRage 1,273
Ice 1,146
pergesu 1,136
Infinite 1,041
jonconley 955
Girlie 908
unreal 860
Top Likes Received
Ghost 2
Crime 1
Ice 1
Dartur 1
Cyrez 1
Powered by UBB.threads™ PHP Forum Software 7.7.5