CMSG_SEND_MAIL

Client Version 1

Wowm Representation

Autogenerated from wowm file at wow_message_parser/wowm/world/mail/cmsg_send_mail.wowm:1.

cmsg CMSG_SEND_MAIL = 0x0238 { Guid mailbox; CString receiver; CString subject; CString body; u32 unknown1; u32 unknown2; Guid item; Gold money; u32 cash_on_delivery_amount; u32 unknown3; u32 unknown4; }

CMSG have a header of 6 bytes.

CMSG Header

OffsetSize / EndiannessTypeNameDescription
0x002 / Biguint16sizeSize of the rest of the message including the opcode field but not including the size field.
0x024 / Littleuint32opcodeOpcode that determines which fields the message contains.

Body

OffsetSize / EndiannessTypeNameComment
0x068 / LittleGuidmailbox
0x0E- / -CStringreceiver
-- / -CStringsubject
-- / -CStringbody
-4 / Littleu32unknown1cmangos: stationery?
-4 / Littleu32unknown2cmangos: 0x00000000
-8 / LittleGuiditem
-4 / LittleGoldmoney
-4 / Littleu32cash_on_delivery_amount
-4 / Littleu32unknown3cmangos: const 0
-4 / Littleu32unknown4cmangos: const 0

Client Version 2.4.3, Client Version 3

Wowm Representation

Autogenerated from wowm file at wow_message_parser/wowm/world/mail/cmsg_send_mail.wowm:28.

cmsg CMSG_SEND_MAIL = 0x0238 { Guid mailbox; CString receiver; CString subject; CString body; u32 unknown1; u32 unknown2; u8 amount_of_items; MailItem[amount_of_items] items; Gold money; u32 cash_on_delivery_amount; u32 unknown3; u32 unknown4; }

Header

CMSG have a header of 6 bytes.

CMSG Header

OffsetSize / EndiannessTypeNameDescription
0x002 / Biguint16sizeSize of the rest of the message including the opcode field but not including the size field.
0x024 / Littleuint32opcodeOpcode that determines which fields the message contains.

Body

OffsetSize / EndiannessTypeNameComment
0x068 / LittleGuidmailbox
0x0E- / -CStringreceiver
-- / -CStringsubject
-- / -CStringbody
-4 / Littleu32unknown1cmangos: stationery?
-4 / Littleu32unknown2cmangos: 0x00000000
-1 / -u8amount_of_items
-? / -MailItem[amount_of_items]items
-4 / LittleGoldmoney
-4 / Littleu32cash_on_delivery_amount
-4 / Littleu32unknown3mangosone: const 0
-4 / Littleu32unknown4mangosone: const 0