Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <head>
- <style>
- input, textarea,fieldset {
- padding: 9px;
- border: solid 1px #E5E5E5;
- outline: 0;
- font: normal 13px/100% Verdana, Tahoma, sans-serif;
- width: 836px;
- background: -webkit-gradient(linear, left top, left 25, from(#FFFFFF), color-stop(4%, #EEEEEE), to(#FFFFFF));
- background: -moz-linear-gradient(top, #FFFFFF, #EEEEEE 1px, #FFFFFF 25px);
- box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px;
- -moz-box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px;
- -webkit-box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px;
- }
- textarea,#area2 {
- width: 400px;
- height: 453px;
- line-height: 150%;
- }
- input:hover, textarea:hover,
- input:focus, textarea:focus {
- border-color: #C9C9C9;
- -webkit-box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 8px;
- }
- .form label {
- margin-left: 10px;
- color: #999999;
- }
- .submit input {
- width: auto;
- padding: 9px 15px;
- background: #617798;
- border: 0;
- font-size: 14px;
- color: #FFFFFF;
- -moz-border-radius: 5px;
- -webkit-border-radius: 5px;
- }
- </style>
- </head>
- <center>
- <img src="http://i.imgur.com/sSyhI1m.png"/>
- <br>
- <form action="" method="POST">
- <fieldset>
- <p><label> Email </label><input type="email" name="username" placeholder="example@gmail.com" value="zoozledb@gmail.com"></p>
- <p><label> API </label><input type="password" name="api" value="d68658f6-3521-4406-8cca-9393bbe30269"></p>
- <p><label>Name Of Email</label> <input type="text" name="fakeemail" value="Hat Programmers" ></p>
- <p><label>List Of Emails To Send </label></p><p><textarea name="emailto">zoozledb@gmail.com</textarea></p>
- <fieldset>
- <p><label>Email Subject</label><input type="text" name="sub" value="Hat Programmers"></p>
- <script src="http://js.nicedit.com/nicEdit-latest.js" type="text/javascript"></script>
- <script type="text/javascript"> bkLib.onDomLoaded(function() {new nicEditor({fullPanel : true }).panelInstance('area2');});</script>
- <p><label>Compose Email</label></p>
- <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? <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);"> </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;"> </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 ! </strong><br><br>C#C/C++ Java Android IOS OOP PHP Dot.Net MYSQL Oracle RDBMS </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;"> </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;"> </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 <span class="il">programming</span> language</p></td></tr></tbody></table><div style="font-size: 11px; line-height: 11px;"> https://www.facebook.com/HAT.programmers</div><div style="font-size: 11px; line-height: 11px;"> </div><div style="font-size: 11px; line-height: 11px;"> 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>
- </fieldset>
- <p><input type="submit" name="go"></p>
- </fieldset>
- </form>
- <?php
- function sendElasticEmail($to, $subject, $body_text, $body_html, $from, $fromName,$api,$couter)
- {
- echo "<tr>";
- echo "<td>$couter</td>";
- echo "<td>$to</td>";
- $res = "";
- $data = "username=".urlencode($to);
- $data .= "&api_key=".urlencode($api);
- $data .= "&from=".urlencode($from);
- $data .= "&from_name=".urlencode($fromName);
- $data .= "&to=".urlencode($to);
- $data .= "&subject=".urlencode($subject);
- if($body_html)
- $data .= "&body_html=".urlencode($body_html);
- if($body_text)
- $data .= "&body_text=".urlencode($body_text);
- $header = "POST /mailer/send HTTP/1.0\r\n";
- $header .= "Content-Type: application/x-www-form-urlencoded\r\n";
- $header .= "Content-Length: " . strlen($data) . "\r\n\r\n";
- $fp = fsockopen('ssl://api.elasticemail.com', 443, $errno, $errstr, 30);
- if(!$fp)
- return "<td><font color='red'>ERROR. Could not open connection Email Not Sent</font></td>";
- else {
- fputs ($fp, $header.$data);
- echo "<td><font color='#00FF00'>Email Sent Successfully</font></td>";
- while (!feof($fp)) {
- $res .= fread ($fp, 1024);
- }
- fclose($fp);
- }
- echo "</tr>";
- return $res;
- }
- set_time_limit(0);
- if(isset($_POST["go"]))
- {
- ob_end_clean();
- ob_start();
- $from=$_POST["username"];
- $api=$_POST["api"];
- $fromName=$_POST["fakeemail"];
- $emailto=$_POST["emailto"];
- $body_html=$_POST["emailmaater"];
- $subject=$_POST["sub"];
- $body_text="My Text";
- $username = explode("\n", $_POST['emailto']);
- echo "
- <style>
- table {
- width:100%;
- }
- table, th, td {
- border: 1px solid black;
- border-collapse: collapse;
- }
- th, td {
- padding: 5px;
- text-align: left;
- }
- table#t01 tr:nth-child(even) {
- background-color: #eee;
- }
- table#t01 tr:nth-child(odd) {
- background-color:#fff;
- }
- table#t01 th {
- background-color: black;
- color: white;
- }
- </style>
- <table id=\"t01\">
- <tr>
- <th>No#</th>
- <th>Email</th>
- <th>Status</th>
- </tr>
- ";
- foreach($username as $users) {
- static $couter;
- $couter++;
- $to = @trim($users);
- sendElasticEmail($to, $subject,$body_text, $body_html, $from, $fromName,$api,$couter);
- flush();
- @ob_flush();
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement