[RELEASE] Send ingame mail from your website menu

User Tag List

Results 1 to 1 of 1
  1. #1
    kyle102092's Avatar Member
    Reputation
    6
    Join Date
    Sep 2007
    Posts
    17
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [RELEASE] Send ingame mail from your website

    This script allows you to send mail to any existing character.
    Change $sender_guid = 115; to the guid of the character that you want to send the mail to. You can find your characters guid by running this sql query
    Code:
    SELECT guid FROM characters WHERE name = 'name';
    Be sure to change the config info

    PHP
    Code:
    <!-- Made by Kyle102092 -->
    <?php
    echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">';
    echo '<html xmlns="http://www.w3.org/1999/xhtml">';
    echo '<head>';
    echo '<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />';
    echo '<title>Ingame Mail</title>';
    echo '<link href="style.css" rel="stylesheet" type="text/css">';
    echo '</head><body>';
    echo '<table border="0" align="center">';
    $host = localhost;
    $user = root;
    $pass = pass;
    $db = character;
    
    if(isset($_POST['submit']))
    {
    // connect to the db
    mysql_connect($host, $user, $pass) or die("Cannot connect: ".mysql_error());
    mysql_select_db($db) or die("Cannot select database. ".mysql_error());
    // get user inputs
    $sender_guid = 115;
    $receiver_guid = $_POST['character'];
    $subject = $_POST['subject'];
    $body = $_POST['body'];
    $stationary = $_POST['stationary'];
    $money = $_POST['money'];
    $item_id = $_POST['item'];
    $item_stack = $_POST['item_stack'];
    //
    $receiver_guid = mysql_real_escape_string(html_entity_decode(htmlentities($receiver_guid)));
    $subject = mysql_real_escape_string(html_entity_decode(htmlentities($subject)));
    $body = mysql_real_escape_string(html_entity_decode(htmlentities($body)));
    $stationary = mysql_real_escape_string(html_entity_decode(htmlentities($stationary)));
    $money = mysql_real_escape_string(html_entity_decode(htmlentities($money)));
    $item_id = mysql_real_escape_string(html_entity_decode(htmlentities($item_id)));
    $item_stack = mysql_real_escape_string(html_entity_decode(htmlentities($item_stack)));
    $query = mysql_query("SELECT * from characters WHERE name = '".$receiver_guid."'");
    while($result = mysql_fetch_array($query))
    {
    $guid = $result['guid'];
    $query1 = "INSERT INTO mailbox_insert_queue(sender_guid, receiver_guid, subject, body, stationary, money, item_id, item_stack) 
    VALUES('$sender_guid', '$guid', '$subject', '$body', '$stationary', '$money', '$item_id', '$item_stack')";
    $result = mysql_query($query1) or die(mysql_error());
    echo "<tr><td align=center>";
    echo "Mail inserted.";
    echo "</td></tr>";
    }
    mysql_close();
    }
    else
    {
    echo '<form id="form1" name="form1" method="post" action="mailer.php">';
    echo '<tr><td>Character: </td><td><input name="character" type="text" size="30" /></td></tr>';
    echo '<tr><td>Subject: </td><td><input name="subject" type="text" size="30" value="Subject" /></td></tr>';
    echo '<tr><td>Body: </td><td><textarea name="body" cols="30" rows="5"></textarea></td></tr>';
    echo '<tr><td>Stationary: </td><td><select name="stationary"><option value="41">Regular</option><option value="61">Blizzard</option></select></td></tr>';
    echo '<tr><td>Money: </td><td><input name="money" type="text" size="30" value="0" /></td></tr>';
    echo '<tr><td>Item: </td><td><input name="item" type="text" size="30" value="0" /></td></tr>';
    echo '<tr><td>Item Stack: </td><td><input name="item_stack" type="text" size="30" value="0" /></td></tr>';
    echo '<td></td><td><input name="submit" type="submit" value="Submit" /> <input name="reset" type="reset" value="Reset" /></tr>';
    }
    echo '</form></table>';
    echo '</body></html>';
    ?>
    CSS
    Code:
    @charset "utf-8";
    /* CSS Document */
    body {
        background-color: #000000;
    }
    body,td,th {
        color: #FFFFFF;
    }

    [RELEASE] Send ingame mail from your website

Similar Threads

  1. possiblity of main getting banned by sending it mail from bots
    By xjsnowx in forum World of Warcraft General
    Replies: 14
    Last Post: 07-29-2014, 08:59 AM
  2. [Guide] Send Lovely Charm Bracelets from your Main to your Alts using mail
    By hackerlol in forum World of Warcraft Guides
    Replies: 9
    Last Post: 02-17-2013, 04:46 AM
  3. Buying gold, flagged = ingame mail from blizzard ?
    By nick-man in forum World of Warcraft General
    Replies: 20
    Last Post: 01-14-2013, 05:57 AM
  4. [Release] Mail Tosser - Send Ingame Mail From This App!
    By Zaxer in forum WoW EMU Programs
    Replies: 7
    Last Post: 01-08-2012, 04:36 PM
  5. Sending Anonymous Mail (From "Unknown")
    By Matt in forum WoW Scam Prevention
    Replies: 4
    Last Post: 09-17-2006, 04:21 AM
All times are GMT -5. The time now is 09:38 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search