Hacking Tricks

How to Send Email Anonymously With PHP Script

Send email anonymously

Most of us are very curious to know a method to send spoofed emails or Send email anonymously 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.

How to Send email anonymously

From: Bill Gates <[email protected]>

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.

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. Download Anonymous Email Sender Script
  4. Login to your FreeWebHostingArea Account and click on File Manager.
  5. Upload the sendmail.php, pngimg.php and bg1.PNG files to the server.
  6. Set permissions for sendmail.php, pngimg.php and bg1.PNG to 777.
  7. 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.

Use the script to send email anonymously to your friends and have fun. Enjoy!!!

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


This Tutorial is about a PHP Script Created by Me to Send Email Anonymously that Allows you to Send emails from any name & email of your choice. Hope You Like this and Please do share it With your Friends.


Most Popular

To Top