The `mail` table
This table contains main data about all mails in the game.
Description of the fields
This field contains unique ID of any messages.
Don't have autoincrement !!!
- 0 = Normal
- 1 doesn't exist
- 2 = Auction
- 3 = Creature
- 4 = Gameobject
- 5 = Item
This field can contain these values:
- 1 = Test
- 41 = Normal mail layout,
- 61 = GM (Blizzard)
- 62 = Auction
- 64 = VAL (???)
- 65 = CHR (???)
Id from MailTemplate.dbc
In this field is entered sender character.guid.
Here is receiver's character.guid.
Here is stored mail subject.
The text contained in the mail.
When is set to 1, that mail can contain items.
For items look at mail_items table.
Here is timestamp which stores date for auto-return mail to sender.
Here is timestamp which stores date of send mail.
The ammout of money in mail, or money to pay when is COD.
Default: 0 - No COD,
when is set to 1, that field `money` stores gold for COD.
This mail was returned. Do not allow returning mail back again.
This mail was copied. Do not allow making a copy of items in mail.
This mail has body text.