Para poder enviar un correo anónimo tienes que tener un hosting que tenga la función mail activada. Existen varios hostings en internet que ofrecen este servicio gratuitamente como por ejemplo
http://www.000webhost.com, googleando un poco seguro que encuentras mas.
Ahora abre el bloc de notas y crea 2 archivos, uno llamado “index.php” y otro “send.php” sin las comillas y pega el siguiente código que te dejo en cada archivo.
Una vez que tengas ya los archivos solo súbelos mediante FTP con un cliente como Filezilla al hosting y ya podrás enviar los emails anónimos que quieras.
Saludos.
Para index.php:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <!--
body {
background: #333333 url(http://hfmaxcdn.witza.netdna-cdn.com/images/blackreign/bg.png);
color: #ccc;
text-align: center;
line-height: 1.4;
font-family: Verdana, Arial, Sans-Serif;
font-size: 13px;
font-style: none;
}
input {
background-color: #000;
border-color: #F60;
color: #F60;
border-style:dashed;
border:dashed;
border-width:thin;
}
textarea {
background-color: #000;
border-color: #F60;
color: #F60;
border-style:dashed;
border:dashed;
border-width:thin;
}
.style1 {
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
}
.style2 {
font-size: 10px;
font-family: Geneva, Arial, Helvetica, sans-serif;
}
.Times-New-Roman-16px00468Cb {font:bold 16px Times New Roman, serif; color:#00468C}
.Times-New-Roman-24px00468Cb {font:bold 24px Times New Roman, serif; color:#000000}
.Times-New-Roman-32px00468Cb {font:bold 32px Times New Roman, serif; color:#000000}
.style3 {color: #000000}
.style5 {
color: #000000;
font-size: 24px;
}
.style6 {color: #FF0000}
.style7 {font-size: 24px}
-->
<body bgcolor="#FFFFFF" text="#000000"> <p><img src="http://www.phcastillalamancha.es/imagenes/email02.gif"></p> <form name="form1" method="post" action="send.php" enctype="multipart/form-data"><br /> <table width="142" border="0">
<font size="-3" face="Verdana, Arial, Helvetica, sans-serif">Your e-mail:
</font>
<font size="-3" face="Verdana, Arial, Helvetica, sans-serif"> <input type="text" name="from" value="<?php print $from; ?>" size="30" />
<font size="-3" face="Verdana, Arial, Helvetica, sans-serif">Your name:
</font>
<font size="-3" face="Verdana, Arial, Helvetica, sans-serif"> <input type="text" name="realname" value="<?php print $realname; ?>" size="30" />
<font size="-3" face="Verdana, Arial, Helvetica, sans-serif">Reply-to:
</font> <font size="-3" face="Verdana, Arial, Helvetica, sans-serif"> <input type="text" name="replyto" value="<?php print $replyto; ?>" size="30" />
<font size="-3" face="Verdana, Arial, Helvetica, sans-serif">Attach file:
</font> <font size="-3" face="Verdana, Arial, Helvetica, sans-serif"> <input type="file" name="file" size="27" /> <font size="-3" face="Verdana, Arial, Helvetica, sans-serif">Subject:
</font> <td colspan="3" width="703"> <font size="-3" face="Verdana, Arial, Helvetica, sans-serif"> <input type="text" name="subject" value="<? print $subject; ?>" size="90" />
<td colspan="3" width="520"> <font face="Verdana, Arial, Helvetica, sans-serif" size="-3">Message box:
</font> <font face="Verdana, Arial, Helvetica, sans-serif" size="-3">E-mail list (1 per line):
</font> <td colspan="3" width="520"> <font size="-3" face="Verdana, Arial, Helvetica, sans-serif"> <input type="radio" name="contenttype" value="plain" checked="checked" /> Plain
<input type="radio" name="contenttype" value="html" /> HTML
<input type="hidden" name="action" value="send" /><br /> Number to send:
<input type="text" name="amount" value="1" size="10" /><br /> Maximum script execution time (in seconds, 0 for no timelimit)
<input type="text" name="timelimit" value="0" size="10" /> <input type="submit" value="Send e-mails" /> <font size="-3" face="Verdana, Arial, Helvetica, sans-serif"> <textarea name="emaillist" cols="32" rows="10"><?php print $emaillist; ?></textarea>
Para send.php:
<?php
@$action=$_POST['action'];
@$from=$_POST['from'];
@$realname=$_POST['realname'];
@$replyto=$_POST['replyto'];
@$subject=$_POST['subject'];
@$message=$_POST['message'];
@$emaillist=$_POST['emaillist'];
@$file_name=$_FILES['file']['name'];
@$contenttype=$_POST['contenttype'];
@$file=$_FILES['file']['tmp_name'];
@$amount=$_POST['amount'];
if ($action=="send"){
if (!$from && !$subject && !$message && !$emaillist){
print "Please complete all fields before sending your message.";
}
$allemails = split("\n", $emaillist); $numemails = count($allemails); If ($file_name){
die("The file you are trying to upload couldn't be copied to the server."); }
}
for($xx=0; $xx<$amount; $xx++){
for($x=0; $x<$numemails; $x++){
$to = $allemails[$x];
if ($to){
print "Sending e-mail to $to.......";
$header = "From: $realname <$from>\r\nReply-To: $replyto\r\n";
$header .= "MIME-Version: 1.0\r\n";
If ($file_name) $header .= "Content-Type: multipart/mixed; boundary=$uid\r\n";
If ($file_name) $header .= "--$uid\r\n";
$header .= "Content-Type: text/$contenttype\r\n";
$header .= "Content-Transfer-Encoding: 8bit\r\n\r\n";
$header .= "$message\r\n";
If ($file_name) $header .= "--$uid\r\n";
If ($file_name) $header .= "Content-Type: $file_type; name=\"$file_name\"\r\n";
If ($file_name) $header .= "Content-Transfer-Encoding: base64\r\n";
If ($file_name) $header .= "Content-Disposition: attachment; filename=\"$file_name\"\r\n\r\n";
If ($file_name) $header .= "$content\r\n";
If ($file_name) $header .= "--$uid--";
mail($to, $subject, "", $header); print "ok<br>";
}
}
}
print '<a href="index.php" target="_self"><< Back</a>';
}
?>