Advertisement
Guest User

hello1

a guest
Apr 1st, 2018
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.88 KB | None | 0 0
  1. <head>
  2.  
  3. <style>
  4. input, textarea,fieldset {
  5. padding: 9px;
  6. border: solid 1px #E5E5E5;
  7. outline: 0;
  8. font: normal 13px/100% Verdana, Tahoma, sans-serif;
  9. width: 836px;
  10. background: -webkit-gradient(linear, left top, left 25, from(#FFFFFF), color-stop(4%, #EEEEEE), to(#FFFFFF));
  11. background: -moz-linear-gradient(top, #FFFFFF, #EEEEEE 1px, #FFFFFF 25px);
  12. box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px;
  13. -moz-box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px;
  14. -webkit-box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px;
  15. }
  16.  
  17. textarea,#area2 {
  18. width: 400px;
  19. height: 453px;
  20. line-height: 150%;
  21. }
  22.  
  23. input:hover, textarea:hover,
  24. input:focus, textarea:focus {
  25. border-color: #C9C9C9;
  26. -webkit-box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 8px;
  27. }
  28.  
  29. .form label {
  30. margin-left: 10px;
  31. color: #999999;
  32. }
  33.  
  34. .submit input {
  35. width: auto;
  36. padding: 9px 15px;
  37. background: #617798;
  38. border: 0;
  39. font-size: 14px;
  40. color: #FFFFFF;
  41. -moz-border-radius: 5px;
  42. -webkit-border-radius: 5px;
  43. }
  44. </style>
  45.  
  46. </head>
  47.  
  48. <center>
  49. <img src="http://i.imgur.com/sSyhI1m.png"/>
  50. <br>
  51. <form action="" method="POST">
  52. <fieldset>
  53. <p><label> Email </label><input type="email" name="username" placeholder="example@gmail.com" value="zoozledb@gmail.com"></p>
  54. <p><label> API </label><input type="password" name="api" value="d68658f6-3521-4406-8cca-9393bbe30269"></p>
  55. <p><label>Name Of Email</label> <input type="text" name="fakeemail" value="Hat Programmers" ></p>
  56. <p><label>List Of Emails To Send </label></p><p><textarea name="emailto">zoozledb@gmail.com</textarea></p>
  57. <fieldset>
  58. <p><label>Email Subject</label><input type="text" name="sub" value="Hat Programmers"></p>
  59. <script src="http://js.nicedit.com/nicEdit-latest.js" type="text/javascript"></script>
  60. <script type="text/javascript"> bkLib.onDomLoaded(function() {new nicEditor({fullPanel : true }).panelInstance('area2');});</script>
  61. <p><label>Compose Email</label></p>
  62. <p><textarea name="emailmaater" id="area2" style="width: 100%;"><table style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px; border-collapse: collapse; border-spacing: 0px; margin-left: auto; margin-right: auto;"><tbody><tr><td style="margin: 0px; padding: 0px; vertical-align: top;"><table style="border-collapse: collapse; border-spacing: 0px; width: 602px;"><tbody><tr><td style="font-family: Georgia, serif; margin: 0px; padding: 10px 0px 12px; vertical-align: top; font-size: 12px; line-height: 21px; text-align: right; width: 300px; color: rgb(153, 153, 153);">No Images?&nbsp;<a href="http://hatprogrammers.cmail19.com/t/i-e-ydtlxd-l-r/" target="_blank" style="color: rgb(153, 153, 153); text-decoration: none; font-weight: bold;">Click here</a></td></tr></tbody></table></td></tr></tbody></table><table style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px; border-collapse: collapse; border-spacing: 0px; margin-left: auto; margin-right: auto; width: 602px;"><tbody><tr><td style="margin: 0px; padding: 0px; vertical-align: top; font-size: 1px; line-height: 1px; width: 1px; background-color: rgb(233, 233, 233);">&nbsp;</td></tr><tr><td style="margin: 0px; padding: 32px 0px; vertical-align: top;"><div align="center" style="font-size: 26px; font-weight: 700; letter-spacing: -0.02em; line-height: 32px; color: rgb(65, 99, 126); font-family: sans-serif; text-align: center;"><img src="https://ci4.googleusercontent.com/proxy/JUSiKChr3kfFoPqT-ZRRKLKSFPdhdJMJRTrA7GTHh3DwXFQrI_J1k6groFGoKuSQzMYiYCMQRZ4Hj4sf6RyZ2aWvS8giOrZmj6LFr3OvJrTGrKBO7fHoWn2Um324Y_diIb2Cc8ZdHFmU8XAzatiKDwWIPJFke7c1WntTLQ=s0-d-e1-ft#http://i1.cmail19.com/ei/i/F2/D1B/80E/043345/csfinal/1907945_730063170445869_6746657021578179662_n.png" alt="" width="207" height="97" class="CToWUd" style="border: 0px; display: block; margin-left: auto; margin-right: auto; max-width: 310px;"></div></td></tr></tbody></table><table width="602" style="color: rgb(34, 34, 34); font-family: arial, sans-serif; border-collapse: collapse; border-spacing: 0px; font-size: 1px; line-height: 1px; margin-left: auto; margin-right: auto; background-color: rgb(233, 233, 233);"><tbody><tr><td style="margin: 0px; padding: 0px; vertical-align: top;">​</td></tr></tbody></table><table style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px; border-collapse: collapse; border-spacing: 0px; margin-left: auto; margin-right: auto;"><tbody><tr><td style="margin: 0px; padding: 0px; vertical-align: top; font-size: 1px; line-height: 1px; width: 1px; background-color: rgb(233, 233, 233);">​</td><td style="margin: 0px; padding: 0px; vertical-align: top;"><table style="border-collapse: collapse; border-spacing: 0px; margin-left: auto; margin-right: auto; width: 600px; font-size: 14px; table-layout: fixed; background-color: rgb(255, 255, 255);"><tbody><tr><td style="margin: 0px; padding: 0px; vertical-align: top;"><div><div style="font-size: 32px; line-height: 32px;">&nbsp;</div></div><table style="border-collapse: collapse; border-spacing: 0px; table-layout: fixed; width: 600px;"><tbody><tr><td style="margin: 0px; padding: 0px 32px; vertical-align: top; word-break: break-word; word-wrap: break-word;"><h1 style="margin-top: 0px; color: rgb(86, 86, 86); font-size: 36px; margin-bottom: 18px; font-family: sans-serif; line-height: 42px;"><strong>Want To Make Some Money ??</strong></h1><p style="margin-top: 0px; color: rgb(86, 86, 86); font-family: Georgia, serif; font-size: 16px; line-height: 25px; margin-bottom: 24px;"><strong>There Are 150000 Jobs Of Android All Over The Globe !&nbsp;</strong><br><br>C#C/C++ Java Android IOS OOP PHP Dot.Net MYSQL Oracle RDBMS&nbsp;</p><p style="margin-top: 0px; color: rgb(86, 86, 86); font-family: Georgia, serif; font-size: 16px; line-height: 25px; margin-bottom: 24px;">Online Classes and Regular Classes Enroll : hatprogrammer@gmail.com</p></td></tr></tbody></table><div style="font-size: 8px; line-height: 8px;">&nbsp;</div></td></tr></tbody></table></td><td style="margin: 0px; padding: 0px; vertical-align: top; font-size: 1px; line-height: 1px; width: 1px; background-color: rgb(233, 233, 233);">​</td></tr></tbody></table><table width="602" style="color: rgb(34, 34, 34); font-family: arial, sans-serif; border-collapse: collapse; border-spacing: 0px; font-size: 1px; line-height: 1px; margin-left: auto; margin-right: auto; background-color: rgb(233, 233, 233);"><tbody><tr style="height: 1px;"><td style="margin: 0px; padding: 0px; vertical-align: top; width: 1px;">​</td><td style="margin: 0px; padding: 0px; vertical-align: top;">​</td><td style="margin: 0px; padding: 0px; vertical-align: top; width: 1px;">​</td></tr></tbody></table><table style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px; border-collapse: collapse; border-spacing: 0px; margin-left: auto; margin-right: auto;"><tbody><tr><td style="margin: 0px; padding: 0px; vertical-align: top; font-size: 1px; line-height: 1px; width: 1px; background-color: rgb(233, 233, 233);">​</td><td style="margin: 0px; padding: 0px; vertical-align: top;"><table style="border-collapse: collapse; border-spacing: 0px; margin-left: auto; margin-right: auto; width: 600px; font-size: 14px; table-layout: fixed; background-color: rgb(255, 255, 255);"><tbody><tr><td style="margin: 0px; padding: 0px; vertical-align: top; width: 200px;"><div align="center" style="font-size: 12px; margin-bottom: 21px; color: rgb(86, 86, 86); font-family: Georgia, serif;"><img src="https://ci5.googleusercontent.com/proxy/gmtV8y_0exEugHs801HHqIc_VWT_AZUXqyvF_3YPaHgc1NNMr1PAOpLIeDMJbSW2WpqmdxpG2TOktePBNPNTYfCWz-nLgQgB7Eh5pOgz5M_ci7j8hdS-=s0-d-e1-ft#http://i1.cmail19.com/ei/i/F2/D1B/80E/043345/csfinal/new-prof.png" alt="" width="200" height="139" class="CToWUd a6T" tabindex="0" style="cursor: pointer; outline: 0px; border: 0px; display: block; max-width: 480px;"><div dir="ltr"><div role="button" aria-label="Download attachment "><div></div></div></div></div><table style="border-collapse: collapse; border-spacing: 0px; table-layout: fixed; width: 200px;"><tbody><tr><td style="margin: 0px; padding: 0px 16px 0px 32px; vertical-align: top; word-break: break-word; word-wrap: break-word;"><p style="margin-top: 0px; color: rgb(86, 86, 86); font-family: Georgia, serif; font-size: 12px; line-height: 21px; margin-bottom: 21px;">- 100% Job Oriented Training</p><p style="margin-top: 0px; color: rgb(86, 86, 86); font-family: Georgia, serif; font-size: 12px; line-height: 21px; margin-bottom: 21px;">- Build 10 Apps During Training</p><p style="margin-top: 0px; color: rgb(86, 86, 86); font-family: Georgia, serif; font-size: 12px; line-height: 21px; margin-bottom: 21px;">- 360 Step-By-Step Training</p><p style="margin-top: 0px; color: rgb(86, 86, 86); font-family: Georgia, serif; font-size: 12px; line-height: 21px; margin-bottom: 21px;">- Work Ready Skill Set Course</p></td></tr></tbody></table><div style="font-size: 11px; line-height: 11px;">&nbsp;</div></td><td style="margin: 0px; padding: 0px; vertical-align: top; width: 200px;"><div align="center" style="font-size: 12px; margin-bottom: 21px; color: rgb(86, 86, 86); font-family: Georgia, serif;"><img src="https://ci3.googleusercontent.com/proxy/C6JREttJzoAQn5A-PMLOt52Qyd6Eyy3M-5xOljxNTgcJgH3Z2qvjLDFuZ3UEIOFin7m5hRkgR3nVqALNkm-zubxRNzG-Ya0eUytqXF44e99XtUFJGaLLh3lpJMEh=s0-d-e1-ft#http://i2.cmail19.com/ei/i/F2/D1B/80E/043345/csfinal/java-mini-logo.png" alt="" width="200" height="157" class="CToWUd" style="border: 0px; display: block; max-width: 200px;"></div><table style="border-collapse: collapse; border-spacing: 0px; table-layout: fixed; width: 200px;"><tbody><tr><td style="margin: 0px; padding: 0px 24px; vertical-align: top; word-break: break-word; word-wrap: break-word;"><h1 style="margin-top: 0px; color: rgb(86, 86, 86); font-size: 20px; margin-bottom: 12px; font-family: sans-serif; line-height: 26px;">JAVA Complete Beginners</h1><p style="margin-top: 0px; color: rgb(86, 86, 86); font-family: Georgia, serif; font-size: 12px; line-height: 21px; margin-bottom: 21px;">Learn to program using the Java&nbsp;<span class="il">programming</span>&nbsp;language</p></td></tr></tbody></table><div style="font-size: 11px; line-height: 11px;">&nbsp; &nbsp; &nbsp;https://www.facebook.com/HAT.programmers</div><div style="font-size: 11px; line-height: 11px;">&nbsp; &nbsp;&nbsp;</div><div style="font-size: 11px; line-height: 11px;">&nbsp; &nbsp; &nbsp;Email : Hatprogrammer@gmail.com</div><div style="font-size: 11px; line-height: 11px;"><br></div><div style="font-size: 11px; line-height: 11px;"><br></div></td></tr></tbody></table></td></tr></tbody></table></textarea></p>
  63. </fieldset>
  64. <p><input type="submit" name="go"></p>
  65. </fieldset>
  66. </form>
  67.  
  68. <?php
  69. function sendElasticEmail($to, $subject, $body_text, $body_html, $from, $fromName,$api,$couter)
  70. {
  71. echo "<tr>";
  72. echo "<td>$couter</td>";
  73. echo "<td>$to</td>";
  74.  
  75. $res = "";
  76.  
  77. $data = "username=".urlencode($to);
  78. $data .= "&api_key=".urlencode($api);
  79. $data .= "&from=".urlencode($from);
  80. $data .= "&from_name=".urlencode($fromName);
  81. $data .= "&to=".urlencode($to);
  82. $data .= "&subject=".urlencode($subject);
  83. if($body_html)
  84. $data .= "&body_html=".urlencode($body_html);
  85. if($body_text)
  86. $data .= "&body_text=".urlencode($body_text);
  87.  
  88. $header = "POST /mailer/send HTTP/1.0\r\n";
  89. $header .= "Content-Type: application/x-www-form-urlencoded\r\n";
  90. $header .= "Content-Length: " . strlen($data) . "\r\n\r\n";
  91. $fp = fsockopen('ssl://api.elasticemail.com', 443, $errno, $errstr, 30);
  92.  
  93. if(!$fp)
  94. return "<td><font color='red'>ERROR. Could not open connection Email Not Sent</font></td>";
  95. else {
  96. fputs ($fp, $header.$data);
  97. echo "<td><font color='#00FF00'>Email Sent Successfully</font></td>";
  98. while (!feof($fp)) {
  99. $res .= fread ($fp, 1024);
  100. }
  101. fclose($fp);
  102. }
  103. echo "</tr>";
  104.  
  105. return $res;
  106.  
  107. }
  108.  
  109.  
  110. set_time_limit(0);
  111.  
  112. if(isset($_POST["go"]))
  113. {
  114. ob_end_clean();
  115. ob_start();
  116. $from=$_POST["username"];
  117. $api=$_POST["api"];
  118. $fromName=$_POST["fakeemail"];
  119. $emailto=$_POST["emailto"];
  120. $body_html=$_POST["emailmaater"];
  121. $subject=$_POST["sub"];
  122. $body_text="My Text";
  123. $username = explode("\n", $_POST['emailto']);
  124. echo "
  125. <style>
  126. table {
  127. width:100%;
  128. }
  129. table, th, td {
  130. border: 1px solid black;
  131. border-collapse: collapse;
  132. }
  133. th, td {
  134. padding: 5px;
  135. text-align: left;
  136. }
  137. table#t01 tr:nth-child(even) {
  138. background-color: #eee;
  139. }
  140. table#t01 tr:nth-child(odd) {
  141. background-color:#fff;
  142. }
  143. table#t01 th {
  144. background-color: black;
  145. color: white;
  146. }
  147. </style>
  148.  
  149. <table id=\"t01\">
  150. <tr>
  151. <th>No#</th>
  152. <th>Email</th>
  153. <th>Status</th>
  154. </tr>
  155.  
  156. ";
  157.  
  158.  
  159. foreach($username as $users) {
  160.  
  161. static $couter;
  162. $couter++;
  163. $to = @trim($users);
  164. sendElasticEmail($to, $subject,$body_text, $body_html, $from, $fromName,$api,$couter);
  165. flush();
  166. @ob_flush();
  167. }
  168.  
  169.  
  170. }
  171. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement