SkidForums


Where skids go hackers
 
HomeFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 PHP code to send emails with any mail address!

View previous topic View next topic Go down 
AuthorMessage
woefie
Owner
Owner
avatar

Awesome
Posts : 52
Points : 97
Reputation : 0
Join date : 2012-04-24

PostSubject: PHP code to send emails with any mail address!   Wed Apr 25, 2012 4:37 am

U can use this to send emails from any mail name u want!
still u will have to setup a mail server on ur PC Razz

but here u go hope it helps!

Code:
<html>
<body>

<?php
if (isset($_REQUEST['from']) && isset($_REQUEST['to']))
//if "from" and "to" are filled out, send email
  {
  //send email
  $from = $_REQUEST['from'] ;
  $to = $_REQUEST['to'] ;
  $subject = $_REQUEST['subject'] ;
  $message = $_REQUEST['message'] ;
  mail($to, $subject, $message, "From:" . $from);
  echo "Thank you for using our mail name spoofer. Your message has been sent to " . $to . "!";
  }
else
//if "from" and "to" are not filled out, display the form
  {
  echo "<form method='post' action='sendmail.php'>
  From: <input name='from' type='text' /><br />
  To: <input name='to' type='text' /><br />
  Subject: <input name='subject' type='text' /><br />
  Message:<br />
  <textarea name='message' rows='15' cols='40'>
  </textarea><br />
  <input type='submit' />
  </form>";
  }
?>

</body>
</html>
Back to top Go down
View user profile http://skid.forum-leaks.com
Rzdude
Beginner
Beginner


Posts : 78
Points : 110
Reputation : 0
Join date : 2014-06-27

PostSubject: Re: PHP code to send emails with any mail address!   Fri Jun 27, 2014 5:38 am

Thanks a lot !
Back to top Go down
View user profile
 
PHP code to send emails with any mail address!
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Send Mail, Wot?
» Emoticon Code from Neopets!
» JOIN THE MOST BEASTLY DOJO WITH THE CODE: AFAEAHGE
» Why won't Netscape.net mail load today?
» OZFM - Driver Code of Conduct

Permissions in this forum:You cannot reply to topics in this forum
SkidForums ::   :: Coding :: Coding :: PHP/HTML-
Jump to: