Want to send an e-mail as some third person? Anonymously.
Then you need to know that it is so very easy to do something like this. Read below for more information on this tutorial. It's been a old trick but still worth a try for a prank to a friend + not for any illegal purposes! We are not responsible
Note: This tutorial is for Educational Purposes Only. We will NOT be responsible for any wrong usage.
Tutorial:- How to Spoof Email | Email Spoofing
- First of all, just write the following php code in a notepad:-
<?php
$to ="receiver’s mail";
$subject = "reply me ";
$message = " hey ";
$from = "sender’s mail";
$headers ="From:" .$from;
$mail = mail($to,$subject,$message,$headers,$from);
if($mail)
{
echo "Email sent to ".$to;
}
?>
Note– You can write any mailing address in the ‘from’ field.
- Just write a subject along with the message in the fields above and save the file as ‘spoof.php’.
- Now make an account on any free web hosting service provider (I prefer 000webhost.com) and create a new domain name (eg. xyz.com)
![000webhost[sugeek.net]](https://www.sugeek.net/wp-content/uploads/2015/07/000webhostsugeek.net_.png)
- Go to the file manager, delete the ‘default.php’ file and upload the ‘spoof.php’ file inside /publichtml.
![filemanager[sugeek.net]](https://www.sugeek.net/wp-content/uploads/2015/07/filemanagersugeek.net_.png)
Just open that domain name in any web browser and click on spoof.php. You will get a message “Email sent to “.
The email has been sent. Now enjoy and fool any friend. Comment below for any suggestions or queries.
Author Bio-
This is a Guest post by our friend - Rahul Rajput. A college student, training in ethical hacking, basketball and football player and fun loving by nature. Rahul is another super geek you may come across some day.
You can also try submitting a guest post to us ! We will review your draft and it'll be posted giving you the full credits of the post.
Go here to write a guest post to us !
No comments:
Post a Comment