How to Send Spoofed Emails Anonymously

How to Send Anonymous EmailsMost of us are very curious to know a method to send spoofed emails to our friends and family for fun. But the question is, is it possible to send spoofed emails in spite of the advanced spam filtering technology adopted by email service provides like Gmail, Yahoo etc?

The answer is YES, it is still possible to bypass their spam filters and send spoofed emails anonymously to your friends or family members. For example, you can send an email to your friend with the following sender details.

From: Bill Gates <billg@microsoft.com>

The art of sending this kind of email is known as Email Spoofing. One of the easy way to send a spoofed email is by using our own local SMTP server. In the past, I have tried SMTP servers like QK SMTP server. This method used to work successfully in those days, but as of now, it has a very low success rate since Gmail and Yahoo (all major email service providers) blocks the emails that are sent directly from a home computer.

How to Send Spoofed Emails?

In this post, I have come up with a new method of sending spoofed emails to anyone without having to worry about being blocked or filtered as spam. In order to accomplish this, all you’ve to do is use a “relay server” while sending the spoofed emails.

What is a Relay Server?

In simple words, a relay server is an SMTP Server that is trusted by major companies as an authorized sender of the email. So, when you send an email using a relay server, the email service providers like Yahoo and Gmail blindly accept the emails and deliver it to the inbox of the recipient. If the SMTP server is not authorized, Google and Yahoo will reject all the emails sent from this SMTP server. This is the reason for which using our own SMTP server to send emails fail.

So, How to Find a Relay Server?

Now, all we have to do is find a trusted SMTP server so as to send spoofed emails successfully. Usually, all the emails that are sent from web hosting providers are trusted and authorized. So, you have to find a free web hosting provider that allows you to send emails. But, most of the free web hosts disable the Mail feature and do not allow the users to send emails. This is done just to avoid spamming. However, all the paid hosting plans allow you to send any number of emails. Once you find a hosting service that allows to send emails from their servers, it’s just a cakewalk to send anonymous emails. All we have to do is just modify the email header to insert a fake From: address field into it.

I have created a PHP script that allows you to send emails from any name and email address of your choice. Here is a step-by-step procedure to setup your own anonymous email sender script:

  1. Go to X10 Hosting  and register a new account.

  2. Download my script from the following link:

  3. Login to your FreeWebHostingArea Account and click on File Manager.

  4. Upload the sendmail.php, pngimg.php and bg1.PNG files to the server.

  5. Set permissions for sendmail.php, pngimg.php and bg1.PNG to 777.

  6. Now type the following URL:

    http://yoursite.x10hosting.com/sendmail.php

    NOTE: yoursite must be substituted by the name of the subdomain that you have chosen during the registration process.
  7. Use the script to send spoofed emails anonymously to your friends and have fun. Enjoy!!!

Tell me whether it worked or not. Please pass your comments.

WARNING: ALL THE INFORMATION PROVIDED IN THIS POST ARE FOR EDUCATIONAL PURPOSES ONLY. I AM NOT RESPONSIBLE FOR ANY MISUSE.

80 Comments

  1. prem
    March 10, 2009 at 3:20 PM

    hi
    this is prem
    step 6 is not working i.e.when i write that url replacing yoursite by my sundomain name & try to open .it shows ‘page not found’.
    plz help


    • Srikanth
      March 10, 2009 at 6:26 PM

      @ prem

      You should follow all the previous steps carefully…


  2. cjdweler
    March 10, 2009 at 6:11 PM

    it demands verification code…but no picture displays..what to do now???

    going through g-chrome!


    • Srikanth
      March 10, 2009 at 6:25 PM

      @ cjdweler

      Use IE or Mozilla. It should work!!


  3. cjdweler
    March 10, 2009 at 6:33 PM

    leave it dude ..i got the bypass by tweaking the php file..so no prob for now..anyways gr8 way!

    u r an india..and INDIA rocks!!!!


  4. Arsalan khan
    March 10, 2009 at 6:54 PM

    I am not able to see the the verification code i am using IE 8


  5. Behemoth
    March 10, 2009 at 7:03 PM

    Sri, I tried using both IE and Mozilla, but the Verification Code still would not show up. Could you tell me how to remove the Verification process from the script?


  6. sarat
    March 10, 2009 at 8:43 PM

    the verification code is not displaying.in ie or firefox


  7. Mohamed
    March 10, 2009 at 10:52 PM

    The verification code is not appearing, I tried it on Mozilla & IE
    What now?


  8. Behemoth
    March 11, 2009 at 9:14 AM

    Sri, I edited the code and removed the Verification process since I could not get it to work. The script works perfectly when the Verification part is removed. Thanks for the script.


  9. Srikanth
    March 11, 2009 at 9:56 AM

    @ all who have problems wit verification code

    Please excuse me. It was my mistake. I forgot to include the two files pngimg.php and bg1.PNG. Now I have included those files also in the download. Re-download the sendmail.rar file once again, unrar it, upload all 3 files to your server, change the permissions to 777 (for all the 3 files) and everything should work fine.

    hope this solves your problem.


  10. ganesh
    March 11, 2009 at 10:10 PM

    hi srikath,,,,,,, its working , excellent work keep going


  11. ganesh
    March 11, 2009 at 10:50 PM

    its really intresting n awesome


  12. zals
    March 11, 2009 at 11:13 PM

    yep..i did it..thanks m8 ..kep up your good work.u r excellent :)..


  13. Behemoth
    March 12, 2009 at 2:43 AM

    Oops, I actually typed out the code in my last comment and it worked, but I think you understand what I mean, don’t you?


  14. Behemoth
    March 12, 2009 at 2:41 AM

    Sri, could you tell me how to send edited links using this form? I am trying to use Different Text but in the resulting email it just shows the entire code. Help?


    • Srikanth
      March 12, 2009 at 5:38 AM

      @ Behemoth

      I got what you are saying. I am working on my script to make this option available….


  15. Behemoth
    March 12, 2009 at 7:59 AM

    Any estimate on how long that would take you? I have some specific ideas that I could put into practice if I could send HTML through the message text box.


    • Srikanth
      March 12, 2009 at 1:02 PM

      @ Behemoth

      As of now I am a bit busy with my exam. If you can implement some ideas and come up wid the solution kindly let me know. I’ll post it here.


  16. Hd
    March 12, 2009 at 11:48 AM

    Hi, Srikanth
    I tested the email sender and it worked very well, but when i opened the emial, it said ” on behalf of .
    i wanted to get rid of the first email, so that the receiver of the message would think it’s a real email.
    any help?


  17. Hd
    March 12, 2009 at 11:51 AM

    oops sorry i typed the first comment incorrectly:
    Hi, Srikanth
    I tested the email sender and it worked very well, but when i opened the email, it said apache@blahblahblah.blahblah on behalf of .
    i wanted to get rid of the first email, so that the receiver of the message would think it’s a real email.
    any help?


    • Srikanth
      March 12, 2009 at 12:59 PM

      @ Hd,

      When you see the complete Email, you’ll always see the message apache@blah.blah. This is inevitable.


  18. Behemoth
    March 12, 2009 at 6:45 PM

    So far all I can come up with is putting an HTML type &header into the source file, but when I do that and try to send the link it is received as blue, nonclickable text. From what I have been reading it is not possible to send HTML using mail(). It is supposedly possible using something called PHPmail, but I am not familiar with that.


  19. viky
    March 12, 2009 at 8:56 PM

    how to send the mail with CC option.. how to use this for CC..


    • Srikanth
      March 13, 2009 at 2:29 PM

      @ viky

      For that you have to modify the script.


  20. cjdweler
    March 13, 2009 at 3:22 PM

    hi srikanth…i have a request ..will u please delete the link posted by me on the comments section of this site?
    i wud be grateful to you..


    • Srikanth
      March 13, 2009 at 9:31 PM

      @ cjdweler

      OK. I’ll delete that..


  21. Hackerji
    March 14, 2009 at 4:14 PM

    Hi Behemoth, u can send html mails using the same scripts prepared by sri,u need to do certain minor changes:

    Remove these:
    $lt= ”;
    $sp= ‘ ‘;
    also remove this header :
    $headers = $from.$fromname.$sp.$lt.$fromemail.$gt;

    Instead,
    add these headers exactly as it is given :
    $headers = “MIME-Version: 1.0\r\n”;
    $headers.= $from.$fromname.$fromemail\r\n”;
    $headers.=”Content-Type: text/html; charset=iso-8859-1\r\n”;
    That’s all.Enjoy.

    To Add CC or BCC
    Add the variables below along with the (others like:$to,$subject):
    $cc = $_POST['cc'];
    $bcc = $_POST['bcc'];

    AND
    Add these headers with the other headers:
    $headers.=”cc: $cc\r\n”;
    $headers.=”Bcc: $bcc\r\n”;

    AND
    Add these html codes in the html part :

    cc

    bcc

    Now u’ll see two new boxes named cc and bcc when u open the php file in ur browser.Just type the email id’s, send and enjoy.
    In ur message box, you’ll have to add message in html fromat,links also work perfectly.
    To learn to hack with full help and perfection, write to me on
    ” hackerjii [@] gmail.com ”
    Cheers….


    • Srikanth
      March 14, 2009 at 5:22 PM

      @ Hackerji

      Thanks for the info…


  22. Black Hacker
    March 17, 2009 at 7:58 PM

    hi srikanth i want to sent mail without warning message “WARNING: This is just a Fake Email sent from GoHacking.Com. This email has a spoofed origin. So please ignore the contents of this email.”,can you help me?


    • Srikanth
      March 18, 2009 at 3:50 PM

      @ Black Hacker

      To send emails without warning, just download my script and setup your own site. you’ll be able to send it withous any warning..


  23. arpit
    March 18, 2009 at 5:28 PM

    whenever i put the url it displays a page with following url:- http://e.freewebhostingarea.com/404.html. i followed all the step carefully but whenver i try step six it show this page. plz tell me wat to do


  24. arpit
    March 18, 2009 at 8:48 PM

    i am not able to follow the 6th step. whenever i try the 6th step it shows page not found with the url-http://e.freewebhostingarea.com/404.html
    plz help me wat to do


  25. john
    March 19, 2009 at 1:17 PM

    Dear Srikanth (author),

    First of all thanks for sharing such great knowledge and doing good work, one could have just taught to learn like this courses.but becoz of you man this is possible.

    Srikanth i have followed your above trick and its awesome but one thing could you let me know can we attach the files (any files images or excels)in this kind of email.

    And you have given so many topics in this website and that everyone can learn free of cost.But u have a learn hacking book so please let me know what more i can learn in this book after all this topics written by you. and i will love to purchase this book but i dont use the credit or debit cards , so could you let me know any other easy way to buy this book.

    Thanks again & keep up for your great job.

    loves john


    • Srikanth
      March 20, 2009 at 8:53 AM

      @ john

      The book will teach you hacking right from the basics, step-by-step. The topics such as linux, mapping, banner grabbing are taught.


  26. Nitesh
    March 20, 2009 at 4:46 PM

    i have the same problem as that of Arpit i.e.

    “whenever i put the url it displays a page with following url:- http://e.freewebhostingarea.com/404.html. i followed all the step carefully but whenver i try step six it show this page. plz tell me wat to do”


  27. john
    March 20, 2009 at 7:35 PM

    Dear Srikanth,

    Thanks for your reply !

    1)In the anonymous mail trick can we attach the files as images or excels.

    2)Is their any other way to purchase your book except debit or credit cards (i am in INDIA)

    Please answer my questions ?

    John


    • Srikanth
      March 20, 2009 at 11:04 PM

      @ john

      1. As of now it is not possible to attact files. May be I’ll implement it in the future
      2. You can use Paypal instead of credit/debit cards.


  28. john
    March 21, 2009 at 12:20 PM

    Dear Srikanth (author),

    1) REALLY THANKS FOR YOUR REPLY AND KIND IMPLEMENT.

    2) i have gone through the paypal website but while registering here we need to register our debit/credit cards to send money. but i not use the cards.so could you please please please let me know direct money transfer or any other service to send money to you.

    Thanks !

    John


  29. samaritan
    March 25, 2009 at 5:06 PM

    Hello Sri,
    its working….it is fabulous…thanks for sharing the knowledge


  30. Vithulan
    March 26, 2009 at 10:28 AM

    Hi Srikanth,
    Wow wow its quality workya?????
    Amazing Thanksssssssssssss
    Keep it up
    Thankyou.


    • Srikanth
      March 29, 2009 at 9:23 AM

      @ Vithulan

      Thanks… :)


  31. danie
    March 31, 2009 at 12:42 AM

    thanks alot bro i followed the step and it was awesome.but please i have one more request in the recieved mail it tells shows mydomain@17-freewebhostingarea-com.orgfree.com> is there anyway i can remove this(@17-freewebhostingarea-com.orgfree.com>) so that the from will be like a direct mail
    2ndly how can i add BCC,CC to the page i didnt understand the way HERKERJI explained it ..fom were will i enter and what will i edit please explain in Newbies language


  32. danie
    March 31, 2009 at 5:53 PM

    ok thank you for that but how do i edit the PHP scripts and wat of if its a paid host will those things show(mydomain@17-freewebhostingarea-com.orgfree.com..) pls am waiting


    • Srikanth
      April 3, 2009 at 12:19 PM

      @ danie

      To edit php scripts you’ve to learn php. goto w3schools.com to learn php.


  33. Jai
    April 1, 2009 at 9:37 PM

    hi
    This is Jai
    step 6 is not working i.e.when i write that url replacing yoursite by my sundomain name & try to open .it shows ‘page not found’.
    Let me know what exactly is to be replaced. Thanks


  34. vishal,noida
    April 5, 2009 at 11:37 PM

    sir i m a big fAN OF URSSSSSS
    and its workinggggggggggggggg
    g88888888888888

    those who wre saying abt the error of
    http://e.freewebhostingarea.com/404.html.
    are not followin the proper stepssssssss
    bcozz
    we hav to fill subdomian
    and they r fillin domain
    so in subdomain we hav to fill only name
    lyk vishalsingh.etc..
    not .com
    then it will work .
    well shrikant sir u r jst a gr888888888 persn


  35. vishalnoida
    April 5, 2009 at 11:51 PM

    thankyou sir ………
    sir well i m workin on phishing attack
    will u plzzzzz help me//////////
    futhr?


  36. Jaya
    April 15, 2009 at 7:07 AM

    pls give the BCC format file, i try followed from Hackerji, but it doesn’t work, pls help


  37. Jaya
    April 15, 2009 at 7:22 AM

    how many email can send out at a time ?


  38. jerz
    April 19, 2009 at 10:58 AM

    cans some just send me a URL of their own sendmail.php subdomain? plzzz


  39. jon
    April 20, 2009 at 4:40 PM

    hi is there a way to send a fake timestamp with this method?


  40. Jenny
    April 30, 2009 at 10:49 AM

    HI Sri,

    I can’t find the “File Manager” in my account..pls help


  41. Jenny
    April 30, 2009 at 8:18 PM

    Hey Sri,

    It works man.


  42. mc
    May 1, 2009 at 12:06 PM

    I’m just a beginer. im getting confused. i dnt knw how to do the steps right. please help me. tnx!


  43. Mishra_90
    May 6, 2009 at 4:43 PM

    Sir,
    am a lot thankful for ur posts dat helped us in lot of ways…..
    beside this, can u tell me how can i speed up my intrnet…or hack modem….


  44. baby
    May 18, 2009 at 7:56 PM

    Hi Sri
    How can i set permission to 777?after uploading, i chose edit, but i found no way to set it. Please help me


  45. ssecert
    May 25, 2009 at 1:06 PM

    can i use ripway as my web hosting…


  46. Takizone
    June 7, 2009 at 6:46 PM

    Thank you for the script, one problem tho.. it does not work for hotmail since it goes directly to spam. :( any way to fix this ?


  47. snake pliskin
    June 11, 2009 at 6:47 PM

    Hi. When i try to send mail, this is the message i get:

    “Warning: mail() has been disabled for security reasons in /home/*****/public_html/sendmail.php on line 21

    Warning: Cannot modify header information – headers already sent by (output started at /home/*****/public_html/sendmail.php:21) in /home/*****/public_html/sendmail.php on line 22″

    Any suggestions?

    thanks!


    • Srikanth
      June 11, 2009 at 9:27 PM

      @ snake pliskin

      The above warning shows that the mail() function has been disabled by your host. Usually this is done to prevent misuse of email service and spam. As a solution change your host and find someone who supports mail().


  48. Oxyg3n
    June 15, 2009 at 3:27 PM

    Hi there!

    Great script, but how can we send html mails ? I tried Hackerji method, but it’s not working. After i make the requested modifications, the script is not working no more.


  49. Vishal
    June 15, 2009 at 10:52 PM

    can you tell me another hosting site where I can do the same as on x10hosting.com for sending anonymous mails


  50. Srikanth
    June 16, 2009 at 9:10 AM

    @ Vishal

    This is a common problem. Free hosts keep suspending accounts for one or the other reasons. You need to open another account as a solution.


  51. karan
    June 16, 2009 at 11:30 PM

    Hi Srikanth

    You are to Good ,Actlly how i make the PC format file .Plz give me a source code e.i Just open notepad enter source code and save as “anything.bat”file then double click on this file so format all PC plz send me a source code.


  52. shubham
    June 17, 2009 at 1:04 AM

    hi srikanth i read all ur arlticles and itz very good bt i hv a problem mein jab bhi mail sent karne ki khoshih karta huun to error aa jata hain yeh vala

    Warning: mail() has been disabled for security reasons in /home/sdhak/public_html/sendmail.php on line 21

    Warning: Cannot modify header information – headers already sent by (output started at /home/sdhak/public_html/sendmail.php:21) in /home/sdhak/public_html/sendmail.php on line 22

    iska meaning kya hua plz help me bro


  53. Oxyg3n
    June 17, 2009 at 5:15 PM

    Great script, but how can we send html mails ? I tried Hackerji method, but it’s not working. After i make the requested modifications, the script is not working no more.


  54. Bill
    June 17, 2009 at 10:44 PM

    Resp sir,
    When I tried your previous method of email forging, after pressing [Enter].(dot) [Enter],the messege comes:
    ——————————————————————–
    250 Ok

    Connection to host lost
    press any key to continue……
    ——————————————————————–
    please help me by replying me on my following email:
    billoooo4@gmail.com


  55. Luke
    June 18, 2009 at 7:14 PM

    Hey Sri, awesome script thanks so much. I couldn’t get the verification to work, tried a lot of things but still no go. I just ended up removing it, but I have another question. Do you know of any way to get this script to send me an email with the person’s IP and email they sent? I would want to at least log it for protective reasons. I’m not sure if its possible, but I guess this wouldn’t be so necessary if I could just get the verification to work. Thanks again for a great script.


  56. rish
    July 6, 2009 at 4:09 PM

    HEy dude thanks its gr8


  57. Bad Boi
    July 7, 2009 at 6:46 AM

    Hai friends,
    One best example for “forging emails”..I will post a link u just fill the requirements.Then u can send 5 mails per day…I f u have any ideas about hacking pls mail me….
    Goto
    http://www.fakemailer.net


  58. prasad
    July 9, 2009 at 10:53 AM

    hi,srikanth everday i am learning new things from u r web site


  59. Bill
    July 15, 2009 at 8:52 PM

    Thanks Bad Boi


  60. ANIL
    July 16, 2009 at 1:16 PM

    Hello srikanth. This sendmail.php script is working and i tested it in my own gmail account but i got the mail in spam folder not in my inbox.. is there possibility to get fake mail directly to the inbox.


    • Srikanth
      July 19, 2009 at 8:09 PM

      @ ANIL

      Try once again. It is usually delivered directly to inbox but some times gets filtered to spam folder.


  61. ANIL
    July 16, 2009 at 1:19 PM

    And one more thing srikanth u r really genious and i rank this site as the best site to hacking. I got this site as a ocean in the middle of a desert.

    This site gives awareness and knowledge..
    U r the creator and also the destoyer..

    Thank You


  62. Aninin
    July 25, 2009 at 2:35 AM

    SRIKANTH!!!!!!!!!!!!!!!! U R MY IDOL!!!!!!!!!!! I LUV U! Sry bout dat but anyway i hav a question. Is it possible to find the ip address of a computer if u only know da owner info & nt email or anythin? Lyk cn u search 4 an ip address under dat user??


    • Srikanth
      July 26, 2009 at 8:21 PM

      @ Aninin

      No it’s not possible to find the IP by searching for a given user.


  63. Saravanan
    August 1, 2009 at 12:54 PM

    Hi
    This is Saravanan

    You Done A Great Job Sri…

    I really Wonder Thank you