GoHacking.com: Ethical Hacking and Cyber Security
Home » EMAIL HACKING, HOW-TO GUIDES, NETWORK HACKS

How to Send Anonymous Emails

Submitted by on Tuesday, 10 March 200980 Comments

How to Send Anonymous EmailsMost of us are very curious to know a method to send anonymous emails to our friends for fun. But the question is, is it possible to send anonymous 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 anonymous emails to your friends. For example, you can send an email to your friend with the following sender details.

From: Bill Gates <[email protected]>

The art of sending this kind emails is known as Email Spoofing. In my previous post on How to Send Fake Email I insisted on using your own SMTP server to send anonymous emails. This method used to work successfully in the past, but today 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 PC. In this post I have come up with a new way to send anonymous emails (spoofed emails) that has a better success rate. If you have to successfully send an anonymous email or spoofed email, you should send it using a relay server.

What is a Relay Server?

In simple words, a relay server is an SMTP Server that is trusted by Google or Yahoo as an authorised 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 authorised, 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 What’s Next?

Now all we have to do is, find a trusted SMTP server to Send Spoofed Emails. Usually all the emails that are sent from web hosting providers are trusted and authorised. 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 headers to insert the spoofed 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 Anonymous Email Sender Script (sendmail.rar).

  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:

  7. 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.

  8. Use the script to send Anonymous Emails. 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.



By using/following this site you agree to our Legal Disclaimer

80 Comments »

  • prem said:

    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

  • cjdweler said:

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

    going through g-chrome!

  • Srikanth (author) said:

    @ cjdweler

    Use IE or Mozilla. It should work!!

  • Srikanth (author) said:

    @ prem

    You should follow all the previous steps carefully…

  • cjdweler said:

    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!!!!

  • Arsalan khan said:

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

  • Behemoth said:

    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?

  • sarat said:

    the verification code is not displaying.in ie or firefox

  • Mohamed said:

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

  • Behemoth said:

    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.

  • Srikanth (author) said:

    @ 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.

  • ganesh said:

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

  • ganesh said:

    its really intresting n awesome

  • zals said:

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

  • Behemoth said:

    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?

  • Behemoth said:

    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?

  • Srikanth (author) said:

    @ Behemoth

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

  • Behemoth said:

    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.

  • Hd said:

    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?

  • Hd said:

    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 [email protected] 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 (author) said:
  • Srikanth (author) said:

    @ 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.

  • Behemoth said:

    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.

  • viky said:

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

  • Srikanth (author) said:

    @ viky

    For that you have to modify the script.

  • cjdweler said:

    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 (author) said:

    @ cjdweler

    OK. I’ll delete that..

  • Hackerji said:

    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 (author) said:

    @ Hackerji

    Thanks for the info…

  • Black Hacker said:

    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 (author) said:

    @ 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..

  • arpit said:

    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

  • arpit said:

    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

  • john said:

    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 (author) said:

    @ john

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

  • Nitesh said:

    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”

  • john said:

    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 (author) said:

    @ 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.

  • john said:

    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

  • samaritan said:

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

  • Vithulan said:

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

  • Srikanth (author) said:

    @ Vithulan

    Thanks… :)

  • danie said:

    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 [email protected]> 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

  • Srikanth (author) said:
  • danie said:

    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([email protected].) pls am waiting

  • Jai said:

    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

  • Srikanth (author) said:

    @ danie

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

  • vishal,noida said:

    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

  • vishalnoida said:

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

  • Jaya said:

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

  • Jaya said:

    how many email can send out at a time ?

  • jerz said:

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

  • jon said:

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

  • Jenny said:

    HI Sri,

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

  • Jenny said:

    Hey Sri,

    It works man.

  • mc said:

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

  • Mishra_90 said:

    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….

  • baby said:

    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

  • ssecert said:

    can i use ripway as my web hosting…

  • Takizone said:

    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 ?

  • snake pliskin said:

    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 (author) said:

    @ 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().

  • Oxyg3n said:

    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.

  • Vishal said:

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

  • Srikanth (author) said:

    @ 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.

  • karan said:

    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.

  • shubham said:

    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

  • Oxyg3n said:

    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.

  • Bill said:

    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:
    [email protected]

  • Luke said:

    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.

  • rish said:

    HEy dude thanks its gr8

  • Bad Boi said:

    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

  • prasad said:

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

  • Bill said:

    Thanks Bad Boi

  • ANIL said:

    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.

  • ANIL said:

    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

  • Srikanth (author) said:

    @ ANIL

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

  • Aninin said:

    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 (author) said:

    @ Aninin

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

  • Saravanan said:

    Hi
    This is Saravanan

    You Done A Great Job Sri…

    I really Wonder Thank you