Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $destino = $_POST['destino'];
- $asunto = $_POST['asunto'];
- $nombre = $_POST['nombre'];
- $mensaje = $_POST['mensaje'];
- $email = $_POST['email'];
- $arraymails = split(",", $destino);
- $arraylargo = count($arraymails);
- if(($destino!="") && ($nombre!="") && ($asunto!="") && ($mensaje!="") && ($email!="")){
- for($i = 0; $i < $arraylargo; $i++){
- mail($arraymails[$i],$asunto,$mensaje,"From: $nombre <$email>\y");
- echo "<b>Mail a $arraymails[$i] <br>Enviado Satisfactoriamente!!</b><br><br>";
- }
- }
- ?>
- <body text="#FF0000" bgcolor="#000000">
- <form name="form1" method="post" action="<? echo $PHP_SELF; ?>">
- <div align="center"><strong><font size="6" color="#00FF00">Beta Mail Spam by
- B.O.P.E </font></strong><br>
- <br><br>
- Nombre:<br>
- <input name="nombre" type="text" size="22">
- <br>
- Email:<br>
- <input type="text" name="email" size="22">
- <br>
- Destinatario(s):<input type="text" name="destino" size="106" value="email1@hotmail.com, email2@hotmail.com, email2@hotmail.com, "><br>
- <br>
- Asunto:<br>
- <input name="asunto" type="text" size="101">
- <br>
- Mensaje:<br>
- <textarea name="mensaje" cols="87" rows="4"></textarea>
- <br>
- <br>
- <input type="submit" name="enviar" value="Enviar">
- </div>
- </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement