[RELEASE] Send ingame mail from your website menu

User Tag List

Results 1 to 1 of 1
  1. #1
    kyle102092's Avatar Corporal
    Join Date
    Sep 2007
    Thanks G/R
    Trade Feedback
    0 (0%)
    0 Post(s)
    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
    SELECT guid FROM characters WHERE name = 'name';
    Be sure to change the config info

    <!-- Made by Kyle102092 -->
    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;
    // 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>";
    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>';
    @charset "utf-8";
    /* CSS Document */
    body {
        background-color: #000000;
    body,td,th {
        color: #FFFFFF;

    These ads disappear when you log in.

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 06:05 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2021 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2021 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search