Liked us?

d

How to send fake Email 0

Coder Himanshu | Monday, January 10, 2011 |

If you have a php web server with live IP,you can use mail() function to send a fake mail with any username. Most of the websites uses this method for feedback form.
<?php
$to = someone@anydomain.com; // Receiver’s email address
$subject = “Fake mail”; // Subject of Email
$message = “Hello! This is a email message.”; // Email Message
$from = someonelse@anydomain.com; //Sender’s Email Address
$headers = “From: $from”;
mail($to,$subject,$message,$headers);
echo “Mail Sent.”;
?>
This Script displays “Mail Sent” after successful sending of email.

0 Responses So Far:

Drop Your Comments, Suggestions And Questions Below.

To Be Notified Of Replies Click The 'Subscribe By Email' Link Below The Comment Form.

Do Not Add Links To The Body Of Your Comment As They Will Not Be Published.